Android GLSurfaceView transparent background without setZOrderonTop

后端 未结 4 1679
轻奢々
轻奢々 2020-12-17 15:43

Sorry for my English.

My work is based on https://github.com/harism/android_page_curl/

After many hours of research, I have found a few solutions, but not fo

4条回答
  •  渐次进展
    2020-12-17 15:58

    I was also facing the same issue that nothing view was showing when I was using GLSurfaceView.

    After getting the reference of GLSurfaceView do like this

    glSurface=findViewById(R.id.gl_surfaceview)
    
    //this is the import line only
    
    glSurface.setZOrderOnTop(false)
    

    now my all view are visible on top of GLSurfaceView

    Thanks.

提交回复
热议问题