• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to fix GLSurfaceView coverover RelativeView problems

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic