how to make surfaceview transparent

Try this:
SurfaceView sfvTrack = (SurfaceView)findViewById(R.id.sfvTrack);
sfvTrack.setZOrderOnTop(true);    // necessary
sfhTrack = sfvTrack.getHolder();
sfhTrack.setFormat(PixelFormat.TRANSPARENT);

Comments

Popular posts from this blog

How to draw an overlay on a SurfaceView used by Camera on Android?

Android TCP Connection Chat application

Create EditText with dropdown in android