Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.40 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:orientation="vertical"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:weightSum="100"
  9. tools:context=".MainActivity">
  10.  
  11. <TextView
  12. android:id="@+id/Virtual_Screen"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:layout_weight="16"
  16. />
  17.  
  18. <LinearLayout
  19. android:orientation="horizontal"
  20. android:layout_width="match_parent"
  21. android:layout_weight="17"
  22. android:layout_height="0dp"
  23. android:weightSum="100"
  24. tools:context=".MainActivity">
  25.  
  26. <Button
  27. android:id="@+id/buttonCancel"
  28. android:layout_width="0dp"
  29. Chevre
  30. android:layout_height="match_parent"
  31. android:layout_weight="25"
  32. android:text="@string/buttonCancel"/>
  33.  
  34. <Button
  35. android:id="@+id/buttonParenthesis"
  36. android:layout_width="0dp"
  37. android:layout_height="match_parent"
  38. android:layout_weight="25"
  39. android:text="@string/buttonParenthesis"/>
  40.  
  41. <Space
  42. android:layout_width="0dp"
  43. android:layout_height="match_parent"
  44. android:layout_weight="25"/>
  45.  
  46. <Button
  47. android:id="@+id/buttonDivide"
  48. android:layout_width="0dp"
  49. android:layout_height="match_parent"
  50. android:layout_weight="25"
  51. android:text="@string/buttonDivide"/>
  52.  
  53. </LinearLayout>
  54.  
  55. <LinearLayout
  56. android:orientation="horizontal"
  57. android:layout_width="match_parent"
  58. android:layout_weight="17"
  59. android:layout_height="0dp"
  60. android:weightSum="100"
  61. tools:context=".MainActivity">
  62.  
  63. <Button
  64. android:id="@+id/button7"
  65. android:layout_width="0dp"
  66. android:layout_height="match_parent"
  67. android:layout_weight="25"
  68. android:text="@string/button7"/>
  69.  
  70. <Button
  71. android:id="@+id/button8"
  72. android:layout_width="0dp"
  73. android:layout_height="match_parent"
  74. android:layout_weight="25"
  75. android:text="@string/button8"/>
  76.  
  77. <Button
  78. android:id="@+id/button9"
  79. android:layout_width="0dp"
  80. android:layout_height="match_parent"
  81. android:layout_weight="25"
  82. android:text="@string/button9"/>
  83.  
  84. <Button
  85. android:id="@+id/buttonMultiply"
  86. android:layout_width="0dp"
  87. android:layout_height="match_parent"
  88. android:layout_weight="25"
  89. android:text="@string/buttonMultiply"/>
  90.  
  91. </LinearLayout>
  92.  
  93. <LinearLayout
  94. android:orientation="horizontal"
  95. android:layout_width="match_parent"
  96. android:layout_weight="17"
  97. android:layout_height="0dp"
  98. android:weightSum="100"
  99. tools:context=".MainActivity">
  100.  
  101. <Button
  102. android:id="@+id/button4"
  103. android:layout_width="0dp"
  104. android:layout_height="match_parent"
  105. android:layout_weight="25"
  106. android:text="@string/button4"/>
  107.  
  108. <Button
  109. android:id="@+id/button5"
  110. android:layout_width="0dp"
  111. android:layout_height="match_parent"
  112. android:layout_weight="25"
  113. android:text="@string/button5"/>
  114.  
  115.  
  116. <Button
  117. android:id="@+id/button6"
  118. android:layout_width="0dp"
  119. android:layout_height="match_parent"
  120. android:layout_weight="25"
  121. android:text="@string/button6"/>
  122.  
  123. <Button
  124. android:id="@+id/buttonMinus"
  125. android:layout_width="0dp"
  126. android:layout_height="match_parent"
  127. android:layout_weight="25"
  128. android:text="@string/buttonMinus"/>
  129.  
  130. </LinearLayout>
  131.  
  132. <LinearLayout
  133. android:orientation="horizontal"
  134. android:layout_width="match_parent"
  135. android:layout_weight="17"
  136. android:layout_height="0dp"
  137. android:weightSum="100"
  138. tools:context=".MainActivity">
  139.  
  140. <Button
  141. android:id="@+id/button1"
  142. android:layout_width="0dp"
  143. android:layout_height="match_parent"
  144. android:layout_weight="25"
  145. android:text="@string/button1"/>
  146.  
  147. <Button
  148. android:id="@+id/button2"
  149. android:layout_width="0dp"
  150. android:layout_height="match_parent"
  151. android:layout_weight="25"
  152. android:text="@string/button2"/>
  153.  
  154. <Button
  155. android:id="@+id/button3"
  156. android:layout_width="0dp"
  157. android:layout_height="match_parent"
  158. android:layout_weight="25"
  159. android:text="@string/button3"/>
  160.  
  161. <Button
  162. android:id="@+id/buttonAnd"
  163. android:layout_width="0dp"
  164. android:layout_height="match_parent"
  165. android:layout_weight="25"
  166. android:text="@string/buttonAnd"/>
  167.  
  168. </LinearLayout>
  169.  
  170. <LinearLayout
  171. android:orientation="horizontal"
  172. android:layout_width="match_parent"
  173. android:layout_weight="17"
  174. android:layout_height="0dp"
  175. android:weightSum="100"
  176. tools:context=".MainActivity">
  177.  
  178. <Space
  179. android:layout_width="0dp"
  180. android:layout_height="match_parent"
  181. android:layout_weight="25"/>
  182.  
  183. <Button
  184. android:id="@+id/button0"
  185. android:layout_width="0dp"
  186. android:layout_height="match_parent"
  187. android:layout_weight="25"
  188. android:text="@string/button0"/>
  189.  
  190. <Button
  191. android:id="@+id/buttonComa"
  192. android:layout_width="0dp"
  193. android:layout_height="match_parent"
  194. android:layout_weight="25"
  195. android:text="@string/buttonComa"/>
  196.  
  197. <Button
  198. android:id="@+id/buttonEqual"
  199. android:layout_width="0dp"
  200. android:layout_height="match_parent"
  201. android:layout_weight="25"
  202. android:text="@string/buttonEqual"/>
  203.  
  204. </LinearLayout>
  205. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement