activity_menu.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".MenuActivity"
  8. android:orientation="vertical"
  9. android:background="#000000">
  10. <FrameLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent">
  13. <LinearLayout
  14. android:orientation="vertical"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. android:showDividers="end"
  18. android:measureWithLargestChild="true"
  19. android:gravity="center_vertical|center_horizontal"
  20. android:weightSum="1">
  21. <LinearLayout
  22. android:orientation="horizontal"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:layout_gravity="center_horizontal"
  26. android:id="@+id/ll_0"
  27. android:layout_marginLeft="40dp"
  28. android:layout_marginRight="40dp">
  29. <ImageButton
  30. android:layout_width="118dp"
  31. android:layout_height="60dp"
  32. android:id="@+id/imageButton"
  33. android:src="@drawable/info"
  34. android:scaleType="fitCenter"
  35. android:background="#000000"
  36. android:onClick="onInfoClick" />
  37. <Button
  38. android:layout_width="match_parent"
  39. android:layout_height="match_parent"
  40. android:text="Briefing"
  41. android:id="@+id/b_info"
  42. android:singleLine="true"
  43. android:textColor="#33b5e5"
  44. android:textSize="25dp"
  45. android:textStyle="bold"
  46. android:background="#000000"
  47. android:onClick="onInfoClick" />
  48. </LinearLayout>
  49. <LinearLayout
  50. android:orientation="horizontal"
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:layout_gravity="center_horizontal"
  54. android:weightSum="1"
  55. android:layout_marginLeft="40dp"
  56. android:layout_marginRight="40dp"
  57. android:id="@+id/ll_1"
  58. android:layout_marginTop="40dp">
  59. <ImageButton
  60. android:layout_width="118dp"
  61. android:layout_height="60dp"
  62. android:id="@+id/ib_scanner"
  63. android:src="@drawable/scanner"
  64. android:scaleType="fitCenter"
  65. android:background="#000000"
  66. android:onClick="onScannerClick" />
  67. <Button
  68. android:layout_width="match_parent"
  69. android:layout_height="match_parent"
  70. android:text="Scanner"
  71. android:id="@+id/b_scanner"
  72. android:textColor="#33b5e5"
  73. android:textSize="25dp"
  74. android:textStyle="bold"
  75. android:onClick="onScannerClick"
  76. android:background="#000000" />
  77. </LinearLayout>
  78. <LinearLayout
  79. android:orientation="horizontal"
  80. android:layout_width="match_parent"
  81. android:layout_height="wrap_content"
  82. android:layout_marginLeft="40dp"
  83. android:layout_marginTop="40dp"
  84. android:layout_marginRight="40dp"
  85. android:id="@+id/ll_2">
  86. <ImageButton
  87. android:layout_width="118dp"
  88. android:layout_height="60dp"
  89. android:id="@+id/ib_inventaire"
  90. android:src="@drawable/inventaire"
  91. android:scaleType="fitCenter"
  92. android:background="#000000"
  93. android:onClick="onInventaireClick" />
  94. <Button
  95. android:layout_width="match_parent"
  96. android:layout_height="match_parent"
  97. android:text="Inventaire"
  98. android:id="@+id/b_inventaire"
  99. android:textColor="#33b5e5"
  100. android:textStyle="bold"
  101. android:textSize="25dp"
  102. android:onClick="onInventaireClick"
  103. android:background="#000000" />
  104. </LinearLayout>
  105. <LinearLayout
  106. android:orientation="horizontal"
  107. android:layout_width="match_parent"
  108. android:layout_height="wrap_content"
  109. android:layout_marginLeft="40dp"
  110. android:layout_marginTop="40dp"
  111. android:layout_marginRight="40dp"
  112. android:id="@+id/ll_3">
  113. <ImageButton
  114. android:layout_width="100dp"
  115. android:layout_height="60dp"
  116. android:id="@+id/ib_carte"
  117. android:src="@drawable/carte"
  118. android:scaleType="fitCenter"
  119. android:background="#000000"
  120. android:onClick="onCarteClick" />
  121. <Button
  122. android:layout_width="match_parent"
  123. android:layout_height="match_parent"
  124. android:text="Carte"
  125. android:id="@+id/b_carte"
  126. android:textStyle="bold"
  127. android:textSize="25dp"
  128. android:textColor="#33b5e5"
  129. android:onClick="onCarteClick"
  130. android:background="#000000" />
  131. </LinearLayout>
  132. <LinearLayout
  133. android:orientation="horizontal"
  134. android:layout_width="match_parent"
  135. android:layout_height="wrap_content"
  136. android:layout_marginLeft="40dp"
  137. android:layout_marginTop="40dp"
  138. android:layout_marginRight="40dp"
  139. android:id="@+id/ll_4">
  140. <ImageButton
  141. android:layout_width="110dp"
  142. android:layout_height="60dp"
  143. android:id="@+id/ib_options"
  144. android:scaleType="fitCenter"
  145. android:src="@drawable/options"
  146. android:background="#000000"
  147. android:onClick="onOptionsClick" />
  148. <Button
  149. android:layout_width="match_parent"
  150. android:layout_height="match_parent"
  151. android:text="Options"
  152. android:id="@+id/b_option"
  153. android:textColor="#33b5e5"
  154. android:textSize="25dp"
  155. android:textStyle="bold"
  156. android:onClick="onOptionsClick"
  157. android:background="#000000" />
  158. </LinearLayout>
  159. </LinearLayout>
  160. </FrameLayout>
  161. </LinearLayout>