Surfaceview Overlaps Another Surfaceview On Android 8.0
I'm facing some strange issue with my app on Android 8.0. I have my own scrollable widget, code is available on github. It has two childs, which can be scrolled one by one indefini
Solution 1:
You can try this to make SurfaceView
to top of the screen:
surfaceView.setZOrderMediaOverlay(true);
The main tip is not to use setZOrderOnTop(true)
, as it displays SurfaceView
above any UI element. setZOrderMediaOverlay
displays the SurfaceView below the UI, but above another SurfaceView.
More from here
Post a Comment for "Surfaceview Overlaps Another Surfaceview On Android 8.0"