I would like to make Canvas area transparent because I would like to add an Image behind it so that Canvas actions happen above the image.My code for the canvas is here
If you want to have a canvas with a transparent background you have to configure the background image for the
mCanvas = new Canvas(mBackgroundBitmap);
with Bitmap.Config.ARGB_4444
And use colors like 0x00000000 as transparent
Bitmap mBackgroundImage = Bitmap.createBitmap(Size, Size,
Bitmap.Config.ARGB_4444);
mCanvas = new Canvas(mBackgroundImage);
hope this helps! I have a pretty transparent canvas :D yay!