Full size image in ImageView

Posted by Kilnr on Stack Overflow See other posts from Stack Overflow or by Kilnr
Published on 2010-03-29T11:12:11Z Indexed on 2010/03/29 11:13 UTC
Read the original article Hit count: 384

Filed under:
|
|

Hi,

I'm trying to draw an image in an ImageView, but i want it to be unscaled, with scrollbars as necessary. How can I accomplish this? Right now I just have a drawable set as the android:src of the ImageView in the XML. This autoscales the image to fit the screen width.

I read that this might be because of the compatibility mode (developing for 1.5, testing on 2.1), but then I added

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4" />

to my manifest, and nothing changed.

Any clues?

© Stack Overflow or respective owner

Related posts about android

Related posts about imageview