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

c++ - Do gcc's __float128 floating point numbers take the current rounding mode into account? -

java - the value of local variable is not used -