java - How to set Image fix XY in ImageView without stratch Using Universal Image Loader? -


when uisng image set image stretch, image size large why stretch, when uisng fit xy stretch,how solve issue

i think image stretched because imageview , image have different aspect ratio. fitxy means use aspect ration of imageview, image stretched due has different aspect ratio.

you can solve problem giving same aspect ratio imageview image. or, can use centercrop instead of fitxy, won't stretch image show part of image if has different aspect ratio imageview.


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -