fragment_my.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/bg"
  7. android:clickable="true"
  8. android:orientation="vertical">
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="150dp"
  12. android:background="@mipmap/icon_personal_top_bg"
  13. android:orientation="vertical">
  14. <RelativeLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_marginTop="12dp"
  18. android:layout_marginRight="12dp"
  19. android:gravity="center_vertical"
  20. android:orientation="horizontal">
  21. <TextView
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_centerInParent="true"
  25. android:text="我的"
  26. android:textColor="@color/white"
  27. android:textSize="@dimen/textSize_18" />
  28. <ImageView
  29. android:id="@+id/set"
  30. android:layout_width="13dp"
  31. android:visibility="gone"
  32. android:layout_height="11dp"
  33. android:layout_alignParentRight="true"
  34. android:layout_marginRight="7dp"
  35. android:src="@mipmap/icon_set" />
  36. </RelativeLayout>
  37. <LinearLayout
  38. android:id="@+id/personal"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:layout_marginLeft="24dp"
  42. android:layout_weight="1"
  43. android:gravity="center_vertical"
  44. android:orientation="horizontal">
  45. <ImageView
  46. android:id="@+id/avator"
  47. android:layout_width="50dp"
  48. android:layout_height="50dp"
  49. android:src="@mipmap/icon_default_avator" />
  50. <TextView
  51. android:id="@+id/name"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:layout_marginLeft="10dp"
  55. android:text="点击登录/注册"
  56. android:textColor="@color/white"
  57. android:textSize="@dimen/textSize_14" />
  58. </LinearLayout>
  59. </LinearLayout>
  60. <ImageView
  61. android:id="@+id/image_member"
  62. android:layout_width="275dp"
  63. android:layout_height="150dp"
  64. android:layout_centerHorizontal="true"
  65. android:layout_marginTop="110dp"
  66. android:visibility="gone"
  67. android:src="@mipmap/icon_member_bg" />
  68. <LinearLayout
  69. android:layout_width="match_parent"
  70. android:layout_height="wrap_content"
  71. android:layout_marginLeft="12dp"
  72. android:layout_marginTop="196dp"
  73. android:layout_marginRight="12dp"
  74. android:background="@drawable/drawable_gray_stroke_radius_10"
  75. android:orientation="vertical"
  76. android:padding="12dp">
  77. <LinearLayout
  78. android:id="@+id/welfare"
  79. android:layout_width="match_parent"
  80. android:layout_height="50dp"
  81. android:gravity="center_vertical"
  82. android:orientation="horizontal">
  83. <ImageView
  84. android:layout_width="wrap_content"
  85. android:layout_height="wrap_content"
  86. android:src="@mipmap/icon_welfare" />
  87. <TextView
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:layout_marginLeft="12dp"
  91. android:layout_weight="1"
  92. android:text="会员福利"
  93. android:textColor="@color/text_black_333"
  94. android:textSize="@dimen/textSize_14" />
  95. <ImageView
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:src="@mipmap/icon_next" />
  99. </LinearLayout>
  100. <TextView
  101. android:layout_width="match_parent"
  102. android:layout_height="1dp"
  103. android:background="@color/separated" />
  104. <LinearLayout
  105. android:id="@+id/jz"
  106. android:layout_width="match_parent"
  107. android:layout_height="50dp"
  108. android:gravity="center_vertical"
  109. android:orientation="horizontal">
  110. <ImageView
  111. android:layout_width="wrap_content"
  112. android:layout_height="wrap_content"
  113. android:src="@mipmap/icon_personal_jz" />
  114. <TextView
  115. android:layout_width="wrap_content"
  116. android:layout_height="wrap_content"
  117. android:layout_marginLeft="12dp"
  118. android:layout_weight="1"
  119. android:text="我的救助"
  120. android:textColor="@color/text_black_333"
  121. android:textSize="@dimen/textSize_14" />
  122. <ImageView
  123. android:layout_width="wrap_content"
  124. android:layout_height="wrap_content"
  125. android:src="@mipmap/icon_next" />
  126. </LinearLayout>
  127. <TextView
  128. android:layout_width="match_parent"
  129. android:layout_height="1dp"
  130. android:background="@color/separated" />
  131. <LinearLayout
  132. android:id="@+id/px"
  133. android:layout_width="match_parent"
  134. android:layout_height="50dp"
  135. android:gravity="center_vertical"
  136. android:orientation="horizontal">
  137. <ImageView
  138. android:layout_width="wrap_content"
  139. android:layout_height="wrap_content"
  140. android:src="@mipmap/icon_personal_px" />
  141. <TextView
  142. android:layout_width="wrap_content"
  143. android:layout_height="wrap_content"
  144. android:layout_marginLeft="12dp"
  145. android:layout_weight="1"
  146. android:text="我的培训"
  147. android:textColor="@color/text_black_333"
  148. android:textSize="@dimen/textSize_14" />
  149. <ImageView
  150. android:layout_width="wrap_content"
  151. android:layout_height="wrap_content"
  152. android:src="@mipmap/icon_next" />
  153. </LinearLayout>
  154. <TextView
  155. android:layout_width="match_parent"
  156. android:layout_height="1dp"
  157. android:background="@color/separated" />
  158. <LinearLayout
  159. android:id="@+id/js"
  160. android:layout_width="match_parent"
  161. android:layout_height="50dp"
  162. android:gravity="center_vertical"
  163. android:orientation="horizontal">
  164. <ImageView
  165. android:layout_width="wrap_content"
  166. android:layout_height="wrap_content"
  167. android:src="@mipmap/icon_personal_js" />
  168. <TextView
  169. android:layout_width="wrap_content"
  170. android:layout_height="wrap_content"
  171. android:layout_marginLeft="12dp"
  172. android:layout_weight="1"
  173. android:text="我的竞赛"
  174. android:textColor="@color/text_black_333"
  175. android:textSize="@dimen/textSize_14" />
  176. <ImageView
  177. android:layout_width="wrap_content"
  178. android:layout_height="wrap_content"
  179. android:src="@mipmap/icon_next" />
  180. </LinearLayout>
  181. <TextView
  182. android:layout_width="match_parent"
  183. android:layout_height="1dp"
  184. android:background="@color/separated" />
  185. <LinearLayout
  186. android:id="@+id/wt"
  187. android:layout_width="match_parent"
  188. android:layout_height="50dp"
  189. android:gravity="center_vertical"
  190. android:orientation="horizontal">
  191. <ImageView
  192. android:layout_width="wrap_content"
  193. android:layout_height="wrap_content"
  194. android:src="@mipmap/icon_personal_wt" />
  195. <TextView
  196. android:layout_width="wrap_content"
  197. android:layout_height="wrap_content"
  198. android:layout_marginLeft="12dp"
  199. android:layout_weight="1"
  200. android:text="我的文体活动"
  201. android:textColor="@color/text_black_333"
  202. android:textSize="@dimen/textSize_14" />
  203. <ImageView
  204. android:layout_width="wrap_content"
  205. android:layout_height="wrap_content"
  206. android:src="@mipmap/icon_next" />
  207. </LinearLayout>
  208. <TextView
  209. android:layout_width="match_parent"
  210. android:layout_height="1dp"
  211. android:background="@color/separated" />
  212. <LinearLayout
  213. android:id="@+id/fl"
  214. android:layout_width="match_parent"
  215. android:layout_height="50dp"
  216. android:gravity="center_vertical"
  217. android:orientation="horizontal">
  218. <ImageView
  219. android:layout_width="wrap_content"
  220. android:layout_height="wrap_content"
  221. android:src="@mipmap/icon_personal_fl" />
  222. <TextView
  223. android:layout_width="wrap_content"
  224. android:layout_height="wrap_content"
  225. android:layout_marginLeft="12dp"
  226. android:layout_weight="1"
  227. android:text="我的法律援助"
  228. android:textColor="@color/text_black_333"
  229. android:textSize="@dimen/textSize_14" />
  230. <ImageView
  231. android:layout_width="wrap_content"
  232. android:layout_height="wrap_content"
  233. android:src="@mipmap/icon_next" />
  234. </LinearLayout>
  235. </LinearLayout>
  236. <RelativeLayout
  237. android:id="@+id/image_member2"
  238. android:layout_width="275dp"
  239. android:layout_height="150dp"
  240. android:visibility="gone"
  241. android:layout_centerHorizontal="true"
  242. android:layout_marginTop="110dp"
  243. >
  244. <ImageView
  245. android:layout_width="275dp"
  246. android:layout_height="150dp"
  247. android:layout_centerHorizontal="true"
  248. android:src="@mipmap/icon_member_bg" />
  249. <TextView
  250. android:layout_width="wrap_content"
  251. android:layout_height="wrap_content"
  252. android:layout_marginLeft="20dp"
  253. android:textSize="16sp"
  254. android:textStyle="bold"
  255. android:layout_marginTop="80dp"
  256. android:textColor="@color/white"
  257. android:text="您已是会员,您的电话"
  258. />
  259. <TextView
  260. android:id="@+id/phone"
  261. android:layout_width="wrap_content"
  262. android:layout_height="wrap_content"
  263. android:layout_marginLeft="20dp"
  264. android:textSize="16sp"
  265. android:textStyle="bold"
  266. android:layout_marginTop="100dp"
  267. android:textColor="@color/white"
  268. android:text="1370843786"
  269. />
  270. </RelativeLayout>
  271. </RelativeLayout>