Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 986
CQM Avatar asked Nov 04 '22 18:11

CQM


1 Answers

Try using the scaleType attribute.

like image 111
mibollma Avatar answered Nov 11 '22 11:11

mibollma