Skip to content Skip to sidebar Skip to footer

How Do I Guarantee That My Android Surfaceview Is Transparent Instead Of Black?

I have a custom view that extends SurfaceView overlaying the rest of my interface, it works on emulators and when the debugger is connected on my phone, but but when the phone is r

Solution 1:

I think I have now solved this and the problem was that I was trying to put a SurfaceView derived type over a TextureView derived type. Switching out the AutofitTextureView for another SurfaceView showing the camera preview seems to have done the trick.


Post a Comment for "How Do I Guarantee That My Android Surfaceview Is Transparent Instead Of Black?"