I had the exact same problem. I never found a way to replace the
content without getting the black screen, so in the end I moved the
SurfaceView to a separate activity which I launch when start button is
pressed - so now I have a menu activity (based on linearlayout) and a
game activity (surfaceview). I think in hindsight two activities is
the better structure anyway.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to