[android-developers] Switching between normal view and glsurfaceview (game loading screen)

2010-08-18 Thread Jason
Hi all, I'm trying to find the best way to implement a loading screen when using a GLSurfaceView. Basically the situation is this: The app (game) loads a bunch of textures into VRAM when the GL surface is created (onSurfaceCreated), however these textures are only for the current level of the

Re: [android-developers] Switching between normal view and glsurfaceview (game loading screen)

2010-08-18 Thread Miguel Morales
Well, I think the easiest thing for you would be to add an overlay view on top of your openGL view. This is fairly easy. On your activity's onCreate you could do this: LinearLayout base = new LinearLayout(this); FrameLayout frame = new FrameLayout(this); YourGLView gl_view = new