Android : Stop image scaling down

后端 未结 3 668
有刺的猬
有刺的猬 2020-12-17 00:04

I\'m trying to draw an image in a view but having problems trying to maintain the scale of the original image. Basically, I have a small view and I would like to show part o

3条回答
  •  轮回少年
    2020-12-17 01:02

    Sounds like you want to have a big ImageView control inside a smaller View (acting like a window), and then move the ImageView control around inside that, so only part of it is visible at a time.

    Not exactly sure how you'd do that though, but pretty sure it's possible with AbsoluteLayout and a bit of tinkering.

提交回复
热议问题