Can you post your code?


Ivan Soto Fernandez
Web Developer
http://ivansotof.com



On Wed, Mar 25, 2009 at 7:41 AM, Deren <[email protected]> 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 LinearLayout and a Start-button, specified in XML.
> However, when I click this button and try to switch to my SurfaceView
> (By doing setContentView(R.layout.game), the screen turns black. But
> if I do setContentView(R.layout.game) immediatly in my
> Activity.onCreate it works. But not if I start with my Title-screen
> and then try to switch
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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