activity_bangfuzhongxin_copy.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/white_f8f8f8"
  8. tools:context=".presentation.mine.BangfuzhongxinActivity_copy">
  9. <ScrollView
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:scrollbars="none"
  13. >
  14. <RelativeLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content">
  17. <RelativeLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="171dp"
  20. android:background="@mipmap/mine_bg_220620"
  21. android:orientation="horizontal"
  22. android:paddingLeft="16dp"
  23. android:paddingTop="50dp"
  24. android:paddingRight="16dp">
  25. <ImageView
  26. android:id="@+id/iv_avatar"
  27. android:layout_width="51dp"
  28. android:layout_height="51dp"
  29. android:src="@mipmap/mine_user_220620" />
  30. <TextView
  31. android:id="@+id/tv_nickname"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:ellipsize="end"
  35. android:maxEms="6"
  36. android:singleLine="true"
  37. android:textColor="@color/white"
  38. android:textSize="16sp"
  39. android:layout_toRightOf="@+id/iv_avatar"
  40. android:layout_marginRight="16dp"
  41. android:layout_alignTop="@+id/iv_avatar"
  42. android:layout_marginLeft="16dp"
  43. />
  44. <TextView
  45. android:id="@+id/tv_phone"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_marginTop="9dp"
  49. android:textColor="@color/white"
  50. android:textSize="12sp"
  51. android:layout_alignLeft="@+id/tv_nickname"
  52. android:layout_alignBottom="@+id/iv_avatar"
  53. />
  54. <ImageView
  55. android:id="@+id/imgv_user"
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:src="@mipmap/user"
  59. android:layout_toRightOf="@+id/tv_nickname"
  60. />
  61. <TextView
  62. android:id="@+id/tv_member"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_toRightOf="@+id/imgv_user"
  66. android:layout_marginLeft="@dimen/dp_4"
  67. android:text="用户"
  68. android:paddingLeft="12dp"
  69. android:paddingRight="12dp"
  70. android:paddingTop="2dp"
  71. android:paddingBottom="2dp"
  72. android:background="@drawable/shape_line_member"
  73. android:textColor="@color/white"
  74. android:textSize="12sp"
  75. android:textStyle="bold"
  76. android:visibility="gone"
  77. />
  78. </RelativeLayout>
  79. <androidx.constraintlayout.widget.ConstraintLayout
  80. android:id="@+id/constraint_layout"
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:layout_marginLeft="16dp"
  84. android:layout_marginTop="133dp"
  85. android:layout_marginRight="16dp"
  86. android:background="@drawable/shape_line_hui"
  87. >
  88. <LinearLayout
  89. android:id="@+id/ll_annuity"
  90. android:layout_width="wrap_content"
  91. android:layout_height="76dp"
  92. android:gravity="center"
  93. app:layout_constraintLeft_toLeftOf="parent"
  94. app:layout_constraintRight_toLeftOf="@+id/ll_my_commission"
  95. app:layout_constraintTop_toTopOf="parent"
  96. android:orientation="vertical">
  97. <TextView
  98. android:id="@+id/tv_annuity"
  99. android:layout_width="wrap_content"
  100. android:layout_height="wrap_content"
  101. android:text="0"
  102. android:textColor="@color/black_333333"
  103. android:textSize="18sp" />
  104. <TextView
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:layout_marginTop="4dp"
  108. android:text="@string/yanglaojin"
  109. android:textColor="@color/black_333333"
  110. android:textSize="13sp" />
  111. </LinearLayout>
  112. <LinearLayout
  113. android:id="@+id/ll_my_commission"
  114. android:layout_width="wrap_content"
  115. android:layout_height="76dp"
  116. android:gravity="center"
  117. app:layout_constraintLeft_toRightOf="@+id/ll_annuity"
  118. app:layout_constraintRight_toLeftOf="@+id/ll_my_integral"
  119. app:layout_constraintTop_toTopOf="@+id/ll_annuity"
  120. android:orientation="vertical">
  121. <TextView
  122. android:id="@+id/tv_my_commission"
  123. android:layout_width="wrap_content"
  124. android:layout_height="wrap_content"
  125. android:text="0"
  126. android:textColor="@color/black_333333"
  127. android:textSize="18sp" />
  128. <TextView
  129. android:layout_width="wrap_content"
  130. android:layout_height="wrap_content"
  131. android:layout_marginTop="4dp"
  132. android:text="@string/my_commission"
  133. android:textColor="@color/black_333333"
  134. android:textSize="13sp" />
  135. </LinearLayout>
  136. <LinearLayout
  137. android:id="@+id/ll_my_integral"
  138. android:layout_width="wrap_content"
  139. android:layout_height="76dp"
  140. android:gravity="center"
  141. app:layout_constraintLeft_toRightOf="@+id/ll_my_commission"
  142. app:layout_constraintRight_toRightOf="parent"
  143. app:layout_constraintTop_toTopOf="@+id/ll_annuity"
  144. android:orientation="vertical">
  145. <TextView
  146. android:id="@+id/tv_my_integral"
  147. android:layout_width="wrap_content"
  148. android:layout_height="wrap_content"
  149. android:text="0"
  150. android:textColor="@color/black_333333"
  151. android:textSize="18sp" />
  152. <TextView
  153. android:layout_width="wrap_content"
  154. android:layout_height="wrap_content"
  155. android:layout_marginTop="4dp"
  156. android:text="@string/my_integral"
  157. android:textColor="@color/black_333333"
  158. android:textSize="13sp" />
  159. </LinearLayout>
  160. <LinearLayout
  161. android:id="@+id/ll_red_integral"
  162. android:layout_width="wrap_content"
  163. android:layout_height="76dp"
  164. android:gravity="center"
  165. app:layout_constraintLeft_toLeftOf="parent"
  166. app:layout_constraintTop_toBottomOf="@+id/ll_annuity"
  167. app:layout_constraintRight_toLeftOf="@+id/ll_team_count"
  168. android:orientation="vertical">
  169. <TextView
  170. android:id="@+id/tv_red_integral"
  171. android:layout_width="wrap_content"
  172. android:layout_height="wrap_content"
  173. android:text="0"
  174. android:textColor="@color/black_333333"
  175. android:textSize="18sp" />
  176. <TextView
  177. android:layout_width="wrap_content"
  178. android:layout_height="wrap_content"
  179. android:layout_marginTop="4dp"
  180. android:text="@string/red_integral"
  181. android:textColor="@color/black_333333"
  182. android:textSize="13sp" />
  183. </LinearLayout>
  184. <LinearLayout
  185. android:id="@+id/ll_team_count"
  186. android:layout_width="wrap_content"
  187. android:layout_height="76dp"
  188. android:gravity="center"
  189. app:layout_constraintLeft_toRightOf="@+id/ll_red_integral"
  190. app:layout_constraintRight_toRightOf="parent"
  191. app:layout_constraintTop_toTopOf="@+id/ll_red_integral"
  192. android:orientation="vertical">
  193. <TextView
  194. android:id="@+id/tv_team_count"
  195. android:layout_width="wrap_content"
  196. android:layout_height="wrap_content"
  197. android:text="0"
  198. android:textColor="@color/black_333333"
  199. android:textSize="18sp" />
  200. <TextView
  201. android:layout_width="wrap_content"
  202. android:layout_height="wrap_content"
  203. android:layout_marginTop="4dp"
  204. android:text="@string/team_count"
  205. android:textColor="@color/black_333333"
  206. android:textSize="13sp" />
  207. </LinearLayout>
  208. </androidx.constraintlayout.widget.ConstraintLayout>
  209. <LinearLayout
  210. android:layout_width="match_parent"
  211. android:layout_height="match_parent"
  212. android:layout_below="@+id/constraint_layout"
  213. android:background="@color/white_f8f8f8"
  214. android:paddingLeft="16dp"
  215. android:paddingRight="16dp"
  216. android:layout_marginTop="8dp"
  217. android:orientation="vertical"
  218. >
  219. <TextView
  220. android:id="@+id/tv_rules"
  221. android:layout_width="match_parent"
  222. android:layout_height="wrap_content"
  223. android:padding="16dp"
  224. android:gravity="center_vertical"
  225. android:background="@drawable/shape_line_hui"
  226. android:textSize="14sp"
  227. android:textColor="@color/black_333333"
  228. android:minLines="15"
  229. />
  230. <TextView
  231. android:id="@+id/tv_update"
  232. android:layout_width="wrap_content"
  233. android:layout_height="wrap_content"
  234. android:text="立即开通"
  235. android:textColor="@color/white"
  236. android:textSize="14sp"
  237. android:layout_marginBottom="16dp"
  238. android:paddingLeft="16dp"
  239. android:paddingRight="16dp"
  240. android:paddingBottom="4dp"
  241. android:paddingTop="4dp"
  242. android:background="@drawable/shape_fe0032_50dp"
  243. android:layout_gravity="center_horizontal"
  244. android:layout_marginTop="16dp"
  245. />
  246. </LinearLayout>
  247. </RelativeLayout>
  248. </ScrollView>
  249. </RelativeLayout>