Search code examples
androidimageviewtransformscaledimensions

Android ImageView should be larger than screen


I have an Image that is 1500x2048

I want this to display at its native resolution, I will be handling zooming/scaling and transformation via android's animation functions.

Currently just using the ImageView by default it forces my image to fix within the screen size. I have tried expanding my XML elements to be layout_width:"2048dip" but to no success

How would this be done properly?


Solution

  • Try using the scaleType attribute.