Hello all i want to make my DrawingSurface view transparent. i tried many thing but it\'s not working.
Here is my xml code to make my surface view transparent
Try this in the constructor:
SurfaceView sfvTrack = (SurfaceView)findViewById(R.id.sfvTrack); sfvTrack.setZOrderOnTop(true); // necessary SurfaceHolder sfhTrackHolder = sfvTrack.getHolder(); sfhTrackHolder.setFormat(PixelFormat.TRANSPARENT);