[android-developers] Re: Switch to SurfaceView

2009-03-25 Thread ellipsoidmob...@googlemail.com
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 (surfacevi

[android-developers] Re: Switch to SurfaceView

2009-03-25 Thread Ivan Soto
Can you post your code? Ivan Soto Fernandez Web Developer http://ivansotof.com On Wed, Mar 25, 2009 at 7:41 AM, Deren wrote: > > Im creating a simple game using a SurfaceView for drawing the > Graphics. It works fine, but now I tried to add a title screen, which > is (for now) only a Linear