ImageView scale type not working in list activity

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2010-04-18T05:21:29Z Indexed on 2010/04/18 5:33 UTC
Read the original article Hit count: 455

I have used ImageView's before and understand the different scale types that can be set... However I am having an incredibly difficult time trying to get an ImageView to scale properly in the row of a ListActivity or an ExpandableListActivity.

I have tried setting the android:scaleType property to every single value but the image never scales down. I have set the min and max sizes as well and they don't seem to have any effect. I have done both of these things in both the XMl and in code to no avail...

Does anyone have any ideas or perhaps a workaround?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about android

Related posts about imageview