I have one mask image, this image is transparent and I will change the image size dynamically. The problem is that the image is displayed in a square/rectangle form. The ImageView is also displaying the transparent area image, so how to remove the transparent area?
The image is:

If you want to increase size as Imageview size change then you have to set Image as its
background.Try using
setBackgroundResource()you can able to increase your ImageView image