I'm trying to overlay the camera view (GLView) with a SlidingDrawer. I do this by adding a FrameLayout after the GLView that contains the SlidingDrawer.
This works just fine, but the rendering is terrible. It only fully renders the drawer when the drawer is out, occupying the whole screen. It's like it isn't redrawing or something? I'm trying to replicate the sliding drawer in the HTC camera app when you press the MENU button.
I read somewhere that I'm taking a performance hit by not rendering in OpenGL, but is it this severe? Is there a method I could call to redraw?
Thanks in advance.
I figured it out. Set the SlidingDrawer to have a transparent background:
android:background="#00000000"
This isn't by default, and syncs up the depth testing with the GLSurfaceView.