Is it possible to fill an ImageView with a picture without making the image itself disproportionate when displayed?
Lets say my picture is 640x480 in size and my ImageView is only 100x100. Is it possible to make it scale correctly when displayed?
In this case it should fill in width but stop at 75 in height. Using gravity.fill would fully stretch the image in height as well and cause picture to be disproportionate.
Thank you in advance.
Lets say my picture is 640x480 in size and my ImageView is only 100x100. Is it possible to make it scale correctly when displayed?
In this case it should fill in width but stop at 75 in height. Using gravity.fill would fully stretch the image in height as well and cause picture to be disproportionate.
Thank you in advance.