Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. <LinearLayout
  2. android:layout_width="match_parent"
  3. android:layout_height="match_parent"
  4. android:weightSum="4"
  5. android:orientation="vertical">
  6.  
  7. <Button
  8. android:layout_width="fill_parent"
  9. android:layout_height="0dp"
  10. android:layout_weight="1"
  11. android:text="Hello" />
  12.  
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="0dp"
  16. android:layout_weight="2"
  17. android:weightSum="3"
  18. android:orientation="horizontal">
  19.  
  20. <Button
  21. android:layout_width="wrap_content"
  22. android:layout_height="match_parent"
  23. android:layout_weight="1"
  24. android:text="Hello" />
  25. <Button
  26. android:layout_width="wrap_content"
  27. android:layout_height="match_parent"
  28. android:layout_weight="1"
  29. android:text="Hello" />
  30. <Button
  31. android:layout_width="wrap_content"
  32. android:layout_height="match_parent"
  33. android:layout_weight="1"
  34. android:text="Hello" />
  35.  
  36. </LinearLayout>
  37.  
  38. <Button
  39. android:layout_width="fill_parent"
  40. android:layout_height="0dp"
  41. android:layout_weight="1"
  42. android:text="Hello" />
  43.  
  44.  
  45.  
  46. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement