0

I have a bitmap and I just want to show central circle area. How to hide the corner area? Actually, it would be great if I could make any area transparent (e.g. make it a ring)?

newman
  • 6,841
  • 21
  • 79
  • 126

1 Answers1

0

Convert the bitmap to a transparent PNG - you can use the free Gimp application. Load your picture in Gimp, select the central circle area, copy, then paste as new image. Should automatically make the area around it transparent. Then just save as a PNG file and use that in your Android app.

UPDATE

Here's an answer I found for defining a color to be transparent: Android bitmap mask color, remove color

Community
  • 1
  • 1
Matt H
  • 6,422
  • 2
  • 28
  • 32