I am trying to make an image in a view, but I am having trouble maintaining the scale of the original image. Basically, I have a small view, and I would like to show part of the image in the view. Then the intention is to translate the image so that the other part is displayed in the view.
No matter what I try, either the image is automatically scaled to fit the view, or the whole image can be viewed. I tried playing with the settings in BitmapDrawable, ImageView and Layout to no avail.
Does anyone know a good way to achieve this?
android user-interface image view scale
John smith
source share