• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to fix GLSurfaceView coverover RelativeView problems  RSS feed

 
Tan Kok Lim
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm transfer snowflake animation and modify it to be appear on linear layout without blocking any components on relative view.

But I have problem to transfer GLSurfaceView (which is derived from openGL ) into linearlayout where it will overlapped or closing everthings components on Relative view.

GLSurfaceView glView = new GLSurfaceView(this);
glView.setDebugFlags(GLSurfaceView.DEBUG_CHECK_GL_ERROR);
glView.setRenderer(new FireRenderer(context)); //This line is important
container.addView(glView);

My problem here how can I modify the code so its animation can be appear on background without crossing to block everythings on relative background.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!