exam_fragment.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="#EBEBEB"
  6. android:orientation="vertical">
  7. <RelativeLayout
  8. android:id="@+id/re_friends"
  9. android:layout_width="match_parent"
  10. android:layout_height="48dp"
  11. android:layout_marginTop="20dp"
  12. android:clickable="true"
  13. android:paddingLeft="12dp">
  14. <ImageView
  15. android:id="@+id/iv_friends"
  16. android:layout_width="24dp"
  17. android:layout_height="24dp"
  18. android:layout_alignParentLeft="true"
  19. android:layout_centerVertical="true"
  20. android:layout_marginLeft="12dp" />
  21. <TextView
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_centerVertical="true"
  25. android:layout_marginLeft="20dp"
  26. android:layout_toRightOf="@id/iv_friends"
  27. android:text="朋友圈"
  28. android:textColor="#353535"
  29. android:textSize="16sp" />
  30. </RelativeLayout>
  31. <RelativeLayout
  32. android:id="@+id/re_erweima"
  33. android:layout_width="match_parent"
  34. android:layout_height="48dp"
  35. android:layout_marginTop="20dp"
  36. android:clickable="true"
  37. android:paddingLeft="12dp">
  38. <ImageView
  39. android:id="@+id/iv_erweima"
  40. android:layout_width="24dp"
  41. android:layout_height="24dp"
  42. android:layout_alignParentLeft="true"
  43. android:layout_centerVertical="true"
  44. android:layout_marginLeft="12dp" />
  45. <TextView
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_centerVertical="true"
  49. android:layout_marginLeft="20dp"
  50. android:layout_toRightOf="@id/iv_erweima"
  51. android:text="扫一扫"
  52. android:textColor="#353535"
  53. android:textSize="16sp" />
  54. <View
  55. android:layout_width="match_parent"
  56. android:layout_height="0.1dp"
  57. android:layout_alignParentBottom="true"
  58. android:layout_marginRight="12dp"
  59. android:background="#dadada" />
  60. </RelativeLayout>
  61. <RelativeLayout
  62. android:id="@+id/re_yaoyiyao"
  63. android:layout_width="match_parent"
  64. android:layout_height="48dp"
  65. android:clickable="true"
  66. android:paddingLeft="12dp">
  67. <ImageView
  68. android:id="@+id/iv_yaoyiyao"
  69. android:layout_width="24dp"
  70. android:layout_height="24dp"
  71. android:layout_alignParentLeft="true"
  72. android:layout_centerVertical="true"
  73. android:layout_marginLeft="12dp" />
  74. <TextView
  75. android:layout_width="wrap_content"
  76. android:layout_height="wrap_content"
  77. android:layout_centerVertical="true"
  78. android:layout_marginLeft="20dp"
  79. android:layout_toRightOf="@id/iv_yaoyiyao"
  80. android:text="摇一摇"
  81. android:textColor="#353535"
  82. android:textSize="16sp" />
  83. </RelativeLayout>
  84. <RelativeLayout
  85. android:id="@+id/re_fujin"
  86. android:layout_width="match_parent"
  87. android:layout_height="48dp"
  88. android:layout_marginTop="20dp"
  89. android:clickable="true"
  90. android:paddingLeft="12dp">
  91. <ImageView
  92. android:id="@+id/iv_fujin"
  93. android:layout_width="24dp"
  94. android:layout_height="24dp"
  95. android:layout_alignParentLeft="true"
  96. android:layout_centerVertical="true"
  97. android:layout_marginLeft="12dp" />
  98. <TextView
  99. android:layout_width="wrap_content"
  100. android:layout_height="wrap_content"
  101. android:layout_centerVertical="true"
  102. android:layout_marginLeft="20dp"
  103. android:layout_toRightOf="@id/iv_fujin"
  104. android:text="附近的人"
  105. android:textColor="#353535"
  106. android:textSize="16sp" />
  107. <View
  108. android:layout_width="match_parent"
  109. android:layout_height="0.1dp"
  110. android:layout_alignParentBottom="true"
  111. android:layout_marginRight="12dp"
  112. android:background="#dadada" />
  113. </RelativeLayout>
  114. <RelativeLayout
  115. android:id="@+id/re_piaoliuping"
  116. android:layout_width="match_parent"
  117. android:layout_height="48dp"
  118. android:clickable="true"
  119. android:paddingLeft="12dp">
  120. <ImageView
  121. android:id="@+id/iv_piaoliuping"
  122. android:layout_width="24dp"
  123. android:layout_height="24dp"
  124. android:layout_alignParentLeft="true"
  125. android:layout_centerVertical="true"
  126. android:layout_marginLeft="12dp" />
  127. <TextView
  128. android:layout_width="wrap_content"
  129. android:layout_height="wrap_content"
  130. android:layout_centerVertical="true"
  131. android:layout_marginLeft="20dp"
  132. android:layout_toRightOf="@id/iv_piaoliuping"
  133. android:text="漂流瓶"
  134. android:textColor="#353535"
  135. android:textSize="16sp" />
  136. </RelativeLayout>
  137. <RelativeLayout
  138. android:id="@+id/re_gouwu"
  139. android:layout_width="match_parent"
  140. android:layout_height="48dp"
  141. android:layout_marginTop="20dp"
  142. android:clickable="true"
  143. android:paddingLeft="12dp">
  144. <ImageView
  145. android:id="@+id/iv_gouwu"
  146. android:layout_width="24dp"
  147. android:layout_height="24dp"
  148. android:layout_alignParentLeft="true"
  149. android:layout_centerVertical="true"
  150. android:layout_marginLeft="12dp" />
  151. <TextView
  152. android:layout_width="wrap_content"
  153. android:layout_height="wrap_content"
  154. android:layout_centerVertical="true"
  155. android:layout_marginLeft="20dp"
  156. android:layout_toRightOf="@id/iv_gouwu"
  157. android:text="购物"
  158. android:textColor="#353535"
  159. android:textSize="16sp" />
  160. <View
  161. android:layout_width="match_parent"
  162. android:layout_height="0.1dp"
  163. android:layout_alignParentBottom="true"
  164. android:layout_marginRight="12dp"
  165. android:background="#dadada" />
  166. </RelativeLayout>
  167. <RelativeLayout
  168. android:id="@+id/re_youxi"
  169. android:layout_width="match_parent"
  170. android:layout_height="48dp"
  171. android:clickable="true"
  172. android:paddingLeft="12dp">
  173. <ImageView
  174. android:id="@+id/iv_youxi"
  175. android:layout_width="24dp"
  176. android:layout_height="24dp"
  177. android:layout_alignParentLeft="true"
  178. android:layout_centerVertical="true"
  179. android:layout_marginLeft="12dp" />
  180. <TextView
  181. android:layout_width="wrap_content"
  182. android:layout_height="wrap_content"
  183. android:layout_centerVertical="true"
  184. android:layout_marginLeft="20dp"
  185. android:layout_toRightOf="@id/iv_youxi"
  186. android:text="游戏"
  187. android:textColor="#353535"
  188. android:textSize="16sp" />
  189. </RelativeLayout>
  190. </LinearLayout>