aspose file tools*
The moose likes Android and the fly likes How to fix GLSurfaceView coverover RelativeView problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to fix GLSurfaceView coverover RelativeView problems" Watch "How to fix GLSurfaceView coverover RelativeView problems" New topic
Author

How to fix GLSurfaceView coverover RelativeView problems

Tan Kok Lim
Greenhorn

Joined: Oct 23, 2012
Posts: 7
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to fix GLSurfaceView coverover RelativeView problems