Maximum width and height for ImageView in Android

Solution 1:

Try the adjustViewBounds attribute:

android:adjustViewBounds="true"

Solution 2:

you have both layout_width and layout_height set to wrap_content, in addition to setting explicit values for width and height. Instead, you should just set layout_width and layout_height to some number value. Also, use dp instead of px. See supporting multiple screen sizes.

Solution 3:

have you tried android:scaleType="fitCenter"? Also the dimensions of the view should not be set to wrap_content as pointed out by Mayra