android imageview scrolling to display full high quality image

Posted by Javadid on Stack Overflow See other posts from Stack Overflow or by Javadid
Published on 2010-02-17T05:53:39Z Indexed on 2010/05/11 8:54 UTC
Read the original article Hit count: 323

Filed under:
|
|
|
|

hi friends... i am working on displaying an image and placing an icon on top of it... clicking the icon will show an enlarged version of the image...

though putting the imageview holding the image in a LinearLayout scales the image to the width of the dialog, the problem is that i need to display the image in a dialog but the image is very high resolution and hence is far bigger than the width of the dialog...

I need to show the actual image with scrolling for both ways to see the whole image... But whenever i try putting the imageView in a scrollview the top of my imageview is blank... and again though image scrolls downwards the width is scaled to the width of the dialog...

Helppppppppp guys....

© Stack Overflow or respective owner

Related posts about android

Related posts about High