I\'ve got a panel which is placed on top of another view via a relativelayout.
I would like to give this panel a transparent background, but didn\'t find the correct
In the constructor:
setZOrderOnTop(true);
After holder.addCallback(this):
holder.addCallback(this)
holder.setFormat(PixelFormat.TRANSPARENT);
At the beginning of drawing:
canvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR);