New answers tagged

0

Result: it's not possible. surfaceView.setZOrderOnTop(true) will cause SF to be on the very top, so you just can't draw anything over it. And with setZOrderOnTop(false), you can put views over SF, but its background won't be transparent (and that's what I need too..). And that's quite sad.


0

Alright, after 2 hard-thinking days I've found quite a good workaround. Didn't fixed that blink, but it's hidden very well. Here's how to: Create another Surfaceview class, for example FakeSurfaceview.java. Keep same options for it as I mentioned in SF class in main post. In surfaceCreated, add this.setVisibility(GONE); In you main layout (first layout ...



Top 50 recent answers are included