1. Are you ready for the Galaxy S20? Here is everything we know so far!

About activity and menus for Android games

Discussion in 'Android Apps & Games' started by elioncho, Feb 19, 2011.

  1. elioncho

    elioncho Lurker
    Thread Starter

    Hello,
    I'm currently developing a game for the Android Platform. I'm
    developing the game using only one activity. I have a main.xml where I
    declared the game view:

    <com.android.thedescent.GameView android:id="@+id/GameView"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

    But now that I'm almost finished I need to create the menu for the
    game and I can't have the previous xml excerpt in my main.xml beacause
    it covers the Buttons and TextViews (from the game menu). So I need to
    separate my menu from the GameView. Is there an easy way to solve this
    or should I just create another activity for my GameView class?

    Thank you
     

    Advertisement

Loading...
Similar Threads - activity menus Android
  1. Android News
    Replies:
    0
    Views:
    62
  2. umtblbl
    Replies:
    0
    Views:
    270
  3. riveraadrian
    Replies:
    13
    Views:
    150
  4. kowal
    Replies:
    6
    Views:
    547
  5. muhammadzohaibsattar
    Replies:
    1
    Views:
    391
  6. Piranha97
    Replies:
    1
    Views:
    108
  7. Guillaume C
    Replies:
    1
    Views:
    197
  8. David Pesetsky
    Replies:
    11
    Views:
    508
  9. Alvaro Vargas
    Replies:
    1
    Views:
    614
  10. vellangelus
    Replies:
    1
    Views:
    187

Share This Page

Loading...