i am getting bitmap from gallery / camera and trying to fit in to image view of size 200 dp * 200dp
I had to scale the bitmap to get out of memory issues. Now after scaling the image is not exactly fitting imageview.
The width is fine but height is only half. Is there a way to make the bitmap fit imageview without changing imageview size and without strtching image.
fitxy will do but the image is stretched. i followed this answer