CQM
CQM

Reputation: 44228

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?

Upvotes: 5

Views: 1291

Answers (1)

mibollma
mibollma

Reputation: 15108

Try using the scaleType attribute.

Upvotes: 2

Related Questions