1. Download our Official Android App: Forums for Android!

Apps Stop Surface View being destroyed

Discussion in 'Android Development' started by cheops2006, Feb 18, 2010.

  1. cheops2006

    cheops2006 New Member
    Thread Starter
    5

    Feb 18, 2010
    1
    0
    5
    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
     

    Advertisement

Share This Page

Loading...