0

I try so hard to get custom shape of Image view. I want to make it looks like a vawe, but its kinda hard. Does anyone know any library, or can give an advise how to create custom ImageView whitch looks like vawe?

Im looking for something like this :

enter image description here

demo
  • 6,038
  • 19
  • 75
  • 149
rosinek
  • 23
  • 3
  • If you have the shape already, you can also consider masking your image when drawing it. Create a paint with `maskingPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN));` and draw your mask over the existing image – Allan W Aug 06 '17 at 21:10
  • See this answer: https://stackoverflow.com/a/43468340/1967021 – Ivan Pronin Aug 06 '17 at 21:11

0 Answers0