This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to fix GLSurfaceView coverover RelativeView problems

 
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