Reputation: 1239
How can I set rectangular image inside this kind of shape with clip to bound. The only resource I was given is just this shape with stroke and a rectangular image view. Do you have any suggestion how to achieve this result ?
Upvotes: 0
Views: 419
Reputation: 1879
As I just answered to someone else, I think the first step in "how do I do this neat UI trick?" should always be to check out wasabeef's amazing collection of UI libraries. In your case, check out Maskable Layout. With it, you provide a drawable to use as a mask for your image.
Upvotes: 2