/TheElements/res/layout/main_menu.xml

http://thelements.googlecode.com/ · XML · 77 lines · 60 code · 10 blank · 7 comment · 0 complexity · 889b03fcda03d88647feb3b1b1b4c842 MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:gravity="center"
  5. android:layout_width="fill_parent"
  6. android:layout_height="fill_parent" android:background="@drawable/mm_layout_bg">
  7. <com.mobclix.android.sdk.MobclixMMABannerXLAdView
  8. android:id="@+id/banner_adview"
  9. android:layout_height="50dip"
  10. android:layout_width="300dip"
  11. android:gravity="top"
  12. android:layout_gravity="center"
  13. />
  14. <!-- Start game button -->
  15. <Button
  16. android:id="@+id/start_game_button"
  17. android:text="Play Game"
  18. android:layout_width="200sp"
  19. android:background="@drawable/btn_mm"
  20. android:layout_height="34dip" android:textColor="#FFF" android:layout_marginTop="3dip"/>
  21. <!-- How-to-play button -->
  22. <Button
  23. android:id="@+id/how_to_play_button"
  24. android:text="How to Play"
  25. android:gravity="center"
  26. android:layout_width="200sp"
  27. android:background="@drawable/btn_mm"
  28. android:layout_height="34dip" android:textColor="#FFF" android:layout_marginTop="3dip"/>
  29. <!-- Custom Element button -->
  30. <Button
  31. android:id="@+id/custom_button"
  32. android:text="Custom Element Maker"
  33. android:gravity="center"
  34. android:layout_width="200sp"
  35. android:background="@drawable/btn_mm"
  36. android:layout_height="34dip" android:textColor="#FFF" android:layout_marginTop="3dip"/>
  37. <!-- About button -->
  38. <Button
  39. android:id="@+id/about_button"
  40. android:text="About"
  41. android:layout_width="200sp"
  42. android:background="@drawable/btn_mm"
  43. android:layout_height="34dip" android:textColor="#FFF" android:layout_marginTop="3dip"/>
  44. <!-- Login button -->
  45. <Button
  46. android:layout_width="200sp"
  47. android:text="Login"
  48. android:id="@+id/login_button"
  49. android:background="@drawable/btn_mm"
  50. android:layout_height="34dip" android:textColor="#FFF" android:layout_marginTop="3dip"/>
  51. <!-- clear save button -->
  52. <Button
  53. android:id="@+id/clear_button"
  54. android:text="Clear Quicksave"
  55. android:layout_width="200sp"
  56. android:gravity="center"
  57. android:background="@drawable/btn_mm"
  58. android:layout_height="34dip" android:textColor="#FFF" android:layout_marginTop="3dip"/>
  59. <!-- Exit button -->
  60. <Button
  61. android:id="@+id/exit_button"
  62. android:text="Exit"
  63. android:layout_width="200sp"
  64. android:gravity="center"
  65. android:background="@drawable/btn_mm"
  66. android:layout_height="34dip" android:textColor="#FFF" android:layout_marginTop="3dip"/>
  67. </LinearLayout>