Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 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="@color/gray"
  6. android:orientation="horizontal"
  7. android:paddingBottom="@dimen/activity_vertical_margin"
  8. android:paddingLeft="@dimen/activity_horizontal_margin"
  9. android:paddingRight="@dimen/activity_horizontal_margin"
  10. android:paddingTop="@dimen/activity_vertical_margin" >
  11.  
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:orientation="horizontal" >
  16.  
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent"
  20. android:layout_weight="1.0"
  21. android:orientation="vertical" >
  22.  
  23. <FrameLayout
  24. android:id="@+id/white"
  25. android:layout_width="match_parent"
  26. android:layout_height="match_parent"
  27. android:layout_margin="3dp"
  28. android:layout_weight="1.0"
  29. android:background="@color/white" />
  30.  
  31. <FrameLayout
  32. android:id="@+id/green"
  33. android:layout_width="match_parent"
  34. android:layout_height="match_parent"
  35. android:layout_margin="3dp"
  36. android:layout_weight="1.0"
  37. android:background="@color/green" />
  38. </LinearLayout>
  39.  
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="match_parent"
  43. android:layout_weight="1.0"
  44. android:orientation="vertical" >
  45.  
  46. <FrameLayout
  47. android:id="@+id/blue"
  48. android:layout_width="match_parent"
  49. android:layout_height="match_parent"
  50. android:layout_margin="3dp"
  51. android:layout_weight="1.0"
  52. android:background="@color/blue" />
  53.  
  54. <FrameLayout
  55. android:id="@+id/red"
  56. android:layout_width="match_parent"
  57. android:layout_height="match_parent"
  58. android:layout_margin="3dp"
  59. android:layout_weight="1.0"
  60. android:background="@color/red" />
  61.  
  62. <FrameLayout
  63. android:id="@+id/yellow"
  64. android:layout_width="match_parent"
  65. android:layout_height="match_parent"
  66. android:layout_margin="3dp"
  67. android:layout_weight="1.0"
  68. android:background="@color/yellow" />
  69. </LinearLayout>
  70.  
  71. <SeekBar
  72. android:id="@+id/seekBar1"
  73. android:layout_width="0dp"
  74. android:layout_height="wrap_content" />
  75. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement