Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <LinearLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="horizontal" >
  6.  
  7. <TextView
  8. android:layout_weight="1"
  9. android:background="#FF0000"
  10. android:layout_width="wrap_content"
  11. android:layout_height="match_parent"
  12. />
  13. <TextView
  14. android:layout_weight="2"
  15. android:background="#00FF00"
  16. android:layout_width="wrap_content"
  17. android:layout_height="match_parent"
  18. />
  19. <TextView
  20. android:layout_weight="3"
  21. android:background="#0000FF"
  22. android:layout_width="wrap_content"
  23. android:layout_height="match_parent"
  24. />
  25. </LinearLayout>
  26.  
  27. <LinearLayout
  28. xmlns:android="http://schemas.android.com/apk/res/android"
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:orientation="horizontal" >
  32.  
  33. <View
  34. android:layout_weight="1"
  35. android:background="#FF0000"
  36. android:layout_width="wrap_content"
  37. android:layout_height="match_parent"
  38. />
  39. <View
  40. android:layout_weight="2"
  41. android:background="#00FF00"
  42. android:layout_width="wrap_content"
  43. android:layout_height="match_parent"
  44. />
  45. <View
  46. android:layout_weight="3"
  47. android:background="#0000FF"
  48. android:layout_width="wrap_content"
  49. android:layout_height="match_parent"
  50. />
  51. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement