开发者

Android ImageView should be larger than screen

开发者 https://www.devze.com 2023-03-19 10:58 出处:网络
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.

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:"2048开发者_StackOverflow社区dip" but to no success

How would this be done properly?


Try using the scaleType attribute.

0

精彩评论

暂无评论...
验证码 换一张
取 消