Reputation: 4408
I have two images in my Drawable
folder.
I want to mask image1 with image2 so that I get round edges for image1.
How can I achieve this? I saw some solutions with bufferedimage and getRGB
.Is there any easier solution?
Upvotes: 2
Views: 3600
Reputation: 928
You can try to directly create an rounded corners ImageView following the code from here How to make an ImageView with rounded corners?
Upvotes: 0
Reputation: 128428
android:background
android:src
Example of 9-patch frame:
Upvotes: 1