I have one mask image, this image is transparent and I will change the image size dynamically. Th开发者_如何学运维e 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
for changing the size of image dynamically you can use scale animation,in layout of android.
精彩评论