Home > Mobile >  Glsurfaceview removeview then addview lead to a blank screen or green screen
Glsurfaceview removeview then addview lead to a blank screen or green screen

Time:09-17

Use surfaceview removeView then add no problem, using glsurfaceview will appear problem, ask bosses guidance.

CodePudding user response:

SurfaceView inherit View, GLSurfaceView inheritance SurfaceView, they can't have children View, how do you removeView,

CodePudding user response:

I also encountered this problem, glsufaceview placed in a relativelayout, now need to will be removed from the glsurfaceview relativelayout then addview into linealayout, this can work it out

CodePudding user response:

Thread off yet?
  • Related