One thing that comes to mind is using an AlertDialog for the name prompt instead of a View.
On Feb 18, 4:39 am, Adrian Hirst <adrian.hi...@gmail.com> wrote: > Hi, > > I have created a game that uses SurfaceView and need input for player > to enter there name so I created a View xml that allows the player to > enter there name with the virtual keyboard. > > The problem I have is when I call setContentView(nameView) it destroys > the surfaceview and everything associated with it is there away to > preserve the SurfaceView as it gets rid of all the gfx that have been > loaded. > > Thanks > > Adrian -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en