I am developing a simple Android app that has a few Activities, say: A, B, C, and D.
*Activity A* is a splash screen. Calls finish() when same data finishes loading.
Activity B displays some information and a few buttons
Activity C starts a webview with the content accordingly to the button pressed in B
Activity D opens an openGL context.
From Activity A I go to Activity B., from B to C and from C to D.
Problem I face: some drawables and a progressBar display black rectangles after pressing the back button coming back from Activity D (activity that starts an openGL context).
Any ideas where I should look into?
Adding
android:hardwareAccelerated="false"to the<application>manifest is a workaround, however does not solve the problem. OpenGL state and context preservation as mentioned by Phil might play a role here.