Android GLSurfaceView transparent background without setZOrderonTop

后端 未结 4 1673
轻奢々
轻奢々 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:59

    I'm working the same problem. I found that you have to make the calls for

    setZOrderOnTop(true);
    getHolder().setFormat(PixelFormat.RGBA_8888);
    

    before the call to

    setRenderer(...);
    

    Good luck!

提交回复
热议问题