3

Greetings,

I would like to place an image over a surfaceview. However I would like the image to be transparent so you can see the image and also the undlying surfaceview. Can anyone suggest how I could do this?

Steve
  • 21,163
  • 21
  • 69
  • 92

1 Answers1

6

This is how I do it before drawing my shapes.

Bitmap buffer = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_4444);
buffer.eraseColor(Color.TRANSPARENT);
Tughi
  • 1,093
  • 1
  • 11
  • 20