Advertisement
kecsot

Untitled

Jul 12th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="#272d39"
  6. android:orientation="vertical"
  7. android:weightSum="90" >
  8.  
  9. <RelativeLayout
  10. android:id="@+id/bannerLay"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:layout_weight="0" >
  14. </RelativeLayout>
  15.  
  16. <RelativeLayout
  17. android:layout_width="fill_parent"
  18. android:layout_height="0dp"
  19. android:layout_weight="30"
  20. android:orientation="vertical" >
  21.  
  22.  
  23. <ImageView
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:id="@+id/imageButton"
  27. android:src="@drawable/ic_launcher"
  28. android:layout_alignParentTop="true"
  29. android:layout_alignParentEnd="true" />
  30.  
  31. <ImageView
  32. android:layout_centerHorizontal="true"
  33. android:id="@+id/logo"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_gravity="center"
  37. android:layout_marginTop="35dp"
  38. android:src="@drawable/logo"
  39. android:contentDescription="@string/logoDesc" />
  40. </RelativeLayout>
  41.  
  42.  
  43. <LinearLayout
  44. android:layout_width="fill_parent"
  45. android:layout_height="0dp"
  46. android:layout_weight="30"
  47. android:orientation="horizontal"
  48. android:baselineAligned="false" >
  49.  
  50. <RelativeLayout
  51. android:layout_width="0dp"
  52. android:layout_height="wrap_content"
  53. android:layout_weight="0.5"
  54. android:orientation="vertical" >
  55.  
  56. <Button
  57. android:id="@+id/playgame"
  58. style="@style/playGame"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:onClick="onClick" />
  62.  
  63. <org.qnszt.android.kopapirollo.CustomTextView
  64. android:layout_below="@+id/playgame"
  65. android:text="@string/playGame"
  66. style="@style/menuTexts" />
  67.  
  68. </RelativeLayout>
  69.  
  70. <RelativeLayout
  71. android:layout_width="0dp"
  72. android:layout_height="wrap_content"
  73. android:layout_weight="0.5"
  74. android:orientation="vertical" >
  75.  
  76. <Button
  77. android:id="@+id/tournament"
  78. style="@style/Tournament"
  79. android:onClick="onClick" />
  80.  
  81. <org.qnszt.android.kopapirollo.CustomTextView
  82. android:layout_below="@+id/tournament"
  83. android:text="@string/tournament"
  84. style="@style/menuTexts" />
  85. </RelativeLayout>
  86. </LinearLayout>
  87.  
  88. <LinearLayout
  89. android:layout_width="fill_parent"
  90. android:layout_height="0dp"
  91. android:layout_weight="30"
  92. android:orientation="horizontal"
  93. android:baselineAligned="false" >
  94.  
  95. <RelativeLayout
  96. android:layout_width="0dp"
  97. android:layout_height="wrap_content"
  98. android:layout_weight="0.5"
  99. android:orientation="vertical" >
  100.  
  101. <Button
  102. android:id="@+id/toplist"
  103. style="@style/Toplist"
  104. android:onClick="onClick" />
  105.  
  106. <org.qnszt.android.kopapirollo.CustomTextView
  107. android:layout_below="@+id/toplist"
  108. android:text="@string/toplist"
  109. style="@style/menuTexts" />
  110.  
  111. </RelativeLayout>
  112.  
  113. <RelativeLayout
  114. android:layout_width="0dp"
  115. android:layout_height="wrap_content"
  116. android:layout_weight="0.5"
  117. android:orientation="vertical" >
  118.  
  119. <Button
  120. android:id="@+id/settings"
  121. style="@style/Settings"
  122. android:onClick="onClick" />
  123.  
  124. <org.qnszt.android.kopapirollo.CustomTextView
  125. android:layout_below="@+id/settings"
  126. android:text="@string/settings"
  127. style="@style/menuTexts" />
  128. </RelativeLayout>
  129. </LinearLayout>
  130.  
  131. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement