I am using a image view with a fixed height and width to display the the profile images. The image will some how bigger than the imageview, so i have used scale type fitXY and it suits into the image view exactly. But the problem is when the activity is resumed from onpause, that is like switching to some other activity and coming back to the same activity the scale type is changed. To overcome this am setting the image and scale type again in the onresume of the activity. But this doesn’t looks good. Do you have any idea or have you experienced such problem like this. Ideas are most welcome. Thanks in adavance
Share
Set Scale Type in xml and remove in activity