Android ImageView should be larger than the screen

I have an image of size 1500x2048

I want this to be displayed in native resolution, I will handle scaling / scaling and transformation using Android animation functions.

Currently, only using ImageView by default does it force my image to be fixed in screen size. I tried expanding my XML elements to layout_width:"2048dip" but didn’t have time

How will this be done right?

+4
source share
1 answer

Try using the scaleType attribute.

+2
source

All Articles