tegarkurniawan

activity_hasil

Jan 25th, 2017
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent"
  6. >
  7. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical" >
  11.  
  12. <LinearLayout
  13. android:id="@+id/relativeLayout1"
  14. android:layout_width="fill_parent"
  15. android:layout_height="wrap_content"
  16. android:background="@color/colorCell" >
  17.  
  18. <TextView
  19. android:layout_width="90dp"
  20. android:layout_height="wrap_content"
  21. android:layout_weight="1"
  22. android:gravity="center"
  23. android:padding="5dp"
  24. android:text="@string/name"
  25. android:textColor="#ffffff" >
  26. </TextView>
  27.  
  28. <TextView
  29. android:layout_width="0dp"
  30. android:layout_height="wrap_content"
  31. android:layout_weight="2"
  32. android:gravity="center"
  33. android:padding="5dp"
  34. android:text="@string/hole_1"
  35. android:textColor="#ffffff" >
  36. </TextView>
  37.  
  38. <TextView
  39. android:layout_width="0dp"
  40. android:layout_height="wrap_content"
  41. android:layout_weight="1.5"
  42. android:gravity="center"
  43. android:padding="5dp"
  44. android:text="@string/hole_2"
  45. android:textColor="#ffffff" >
  46. </TextView>
  47.  
  48. <TextView
  49. android:layout_width="0dp"
  50. android:layout_height="wrap_content"
  51. android:layout_weight="1"
  52. android:gravity="center"
  53. android:padding="5dp"
  54. android:text="@string/hole_3"
  55. android:textColor="#ffffff" >
  56. </TextView>
  57. <TextView
  58. android:layout_width="0dp"
  59. android:layout_height="wrap_content"
  60. android:layout_weight="1"
  61. android:gravity="center"
  62. android:padding="5dp"
  63. android:text="@string/hole_4"
  64. android:textColor="#ffffff" >
  65. </TextView>
  66. <TextView
  67. android:layout_width="0dp"
  68. android:layout_height="wrap_content"
  69. android:layout_weight="1"
  70. android:gravity="center"
  71. android:padding="5dp"
  72. android:text="@string/hole_5"
  73. android:textColor="#ffffff" >
  74. </TextView>
  75. <TextView
  76. android:layout_width="0dp"
  77. android:layout_height="wrap_content"
  78. android:layout_weight="1"
  79. android:gravity="center"
  80. android:padding="5dp"
  81. android:text="@string/hole_6"
  82. android:textColor="#ffffff" >
  83. </TextView>
  84. <TextView
  85. android:layout_width="0dp"
  86. android:layout_height="wrap_content"
  87. android:layout_weight="1"
  88. android:gravity="center"
  89. android:padding="5dp"
  90. android:text="@string/hole_7"
  91. android:textColor="#ffffff" >
  92. </TextView>
  93. <TextView
  94. android:layout_width="0dp"
  95. android:layout_height="wrap_content"
  96. android:layout_weight="1"
  97. android:gravity="center"
  98. android:padding="5dp"
  99. android:text="@string/hole_8"
  100. android:textColor="#ffffff" >
  101. </TextView>
  102. <TextView
  103. android:layout_width="0dp"
  104. android:layout_height="wrap_content"
  105. android:layout_weight="1"
  106. android:gravity="center"
  107. android:padding="5dp"
  108. android:text="@string/hole_9"
  109. android:textColor="#ffffff" >
  110. </TextView>
  111. <TextView
  112. android:layout_width="0dp"
  113. android:layout_height="wrap_content"
  114. android:layout_weight="1"
  115. android:gravity="center"
  116. android:padding="5dp"
  117. android:text="@string/out"
  118. android:textColor="#ffffff" >
  119. </TextView>
  120. </LinearLayout>
  121. <android.support.v7.widget.RecyclerView
  122. android:id="@+id/recyclerView3"
  123. android:layout_width="match_parent"
  124. android:layout_height="wrap_content"
  125. android:nestedScrollingEnabled="false"
  126. />
  127.  
  128. </LinearLayout>
  129. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment