0

I would like to build a custom component (extending from ImageView I guess) that display an image inside a frame specified by the user (the frame is a custom image) with inner rounded corners (Pinterest user icon like).

I started finding how to compose two bitmaps but it is a difficult matter so I am wondering if there is some opensource component/tutorial to better understand how to achive it.

The frame picture is a nine-patch png (I didn't understand how to load and scale it properly into a bitmap).

Thanks

Matroska
  • 6,885
  • 14
  • 63
  • 99

1 Answers1

0

Have you checked out this

Seems like it does the job, although I'm not sure how to implement.

kittka
  • 241
  • 1
  • 3
  • 10
  • Thanks for the answer. I edited the question. I would like to achieve rounded corners in the inner image inside a frame. – Matroska May 07 '12 at 20:33