mine_fragment.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto">
  4. <data>
  5. <variable
  6. name="clickListener"
  7. type="android.view.View.OnClickListener" />
  8. <variable
  9. name="bean"
  10. type="com.hdl.xl.bean.PersonalBean" />
  11. </data>
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:background="#151314"
  16. android:orientation="vertical">
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="@dimen/dp50"
  20. android:layout_marginTop="30dp"
  21. android:gravity="center_vertical">
  22. <View
  23. android:layout_width="0dp"
  24. android:layout_height="match_parent"
  25. android:layout_weight="1" />
  26. <androidx.appcompat.widget.AppCompatImageView
  27. android:layout_width="24dp"
  28. android:layout_height="24dp"
  29. android:src="@mipmap/mine_news" />
  30. <androidx.appcompat.widget.AppCompatImageView
  31. android:id="@+id/set_btn"
  32. android:onClick="@{clickListener}"
  33. android:layout_width="24dp"
  34. android:layout_height="24dp"
  35. android:layout_marginLeft="20dp"
  36. android:layout_marginRight="15dp"
  37. android:src="@mipmap/mine_set" />
  38. </LinearLayout>
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_alignParentBottom="true"
  43. android:layout_marginBottom="20dp"
  44. android:gravity="center_vertical"
  45. android:orientation="horizontal">
  46. <androidx.cardview.widget.CardView
  47. android:layout_width="56dp"
  48. android:layout_height="56dp"
  49. android:layout_marginLeft="15dp"
  50. app:cardCornerRadius="28dp">
  51. <ImageView
  52. android:id="@+id/iv_photo"
  53. android:layout_width="match_parent"
  54. android:layout_height="match_parent"
  55. android:src="@mipmap/lbj" />
  56. </androidx.cardview.widget.CardView>
  57. <LinearLayout
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:layout_marginLeft="15dp"
  61. android:orientation="vertical">
  62. <TextView
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:text="187***1928"
  66. android:textColor="@color/picture_color_white"
  67. android:textSize="20sp" />
  68. <LinearLayout
  69. android:layout_width="match_parent"
  70. android:layout_height="wrap_content"
  71. android:layout_marginTop="5dp"
  72. android:layout_marginRight="22dp"
  73. android:background="@drawable/bg_order_num"
  74. android:orientation="horizontal"
  75. android:paddingLeft="6dp"
  76. android:paddingTop="4dp"
  77. android:paddingRight="6dp"
  78. android:paddingBottom="4dp">
  79. <TextView
  80. android:layout_width="0dp"
  81. android:layout_height="wrap_content"
  82. android:layout_weight="1"
  83. android:ellipsize="end"
  84. android:maxLines="1"
  85. android:text="区块链地址:vhhjjdjdjjskkwh2837373781er2…"
  86. android:textColor="@color/picture_color_white"
  87. android:textSize="10sp" />
  88. <TextView
  89. android:layout_width="wrap_content"
  90. android:layout_height="wrap_content"
  91. android:background="@drawable/bg_mine_copy"
  92. android:paddingLeft="6dp"
  93. android:paddingTop="3dp"
  94. android:paddingRight="6dp"
  95. android:paddingBottom="3dp"
  96. android:text="复制"
  97. android:textColor="#151314"
  98. android:textSize="10sp" />
  99. </LinearLayout>
  100. </LinearLayout>
  101. </LinearLayout>
  102. <LinearLayout
  103. android:layout_width="match_parent"
  104. android:layout_height="wrap_content"
  105. android:layout_margin="15dp"
  106. android:background="@drawable/bg_mine_gray"
  107. android:orientation="vertical">
  108. <LinearLayout
  109. android:layout_width="match_parent"
  110. android:layout_height="96dp"
  111. android:orientation="vertical"
  112. android:paddingLeft="20dp"
  113. android:paddingRight="20dp"
  114. android:background="@drawable/bg_mine_withdraw_copy">
  115. <TextView
  116. android:layout_width="wrap_content"
  117. android:layout_height="wrap_content"
  118. android:layout_marginTop="10dp"
  119. android:textColor="#151314"
  120. android:text="账户余额"
  121. android:textSize="12sp"/>
  122. <LinearLayout
  123. android:layout_width="match_parent"
  124. android:layout_height="wrap_content"
  125. android:layout_marginTop="10dp"
  126. android:orientation="horizontal">
  127. <TextView
  128. android:layout_width="0dp"
  129. android:layout_weight="1"
  130. android:layout_height="wrap_content"
  131. android:textColor="#151314"
  132. android:textSize="28sp"
  133. android:maxLines="1"
  134. android:ellipsize="end"
  135. android:text="8720.98"/>
  136. <TextView
  137. android:layout_width="wrap_content"
  138. android:layout_height="wrap_content"
  139. android:textColor="#151314"
  140. android:text="提现"
  141. android:paddingLeft="16dp"
  142. android:paddingRight="16dp"
  143. android:paddingTop="4dp"
  144. android:paddingBottom="4dp"
  145. android:background="@drawable/bg_mine_withdraw_button"
  146. android:textSize="14sp"/>
  147. </LinearLayout>
  148. </LinearLayout>
  149. <LinearLayout
  150. android:layout_width="match_parent"
  151. android:layout_height="80dp"
  152. android:paddingLeft="15dp"
  153. android:paddingRight="15dp">
  154. <LinearLayout
  155. android:id="@+id/no_pay_btn"
  156. android:layout_width="0dp"
  157. android:layout_height="match_parent"
  158. android:layout_weight="1"
  159. android:gravity="center"
  160. android:onClick="@{clickListener}"
  161. android:orientation="vertical">
  162. <androidx.appcompat.widget.AppCompatImageView
  163. android:layout_width="24dp"
  164. android:layout_height="24dp"
  165. android:src="@mipmap/no_pay" />
  166. <TextView
  167. android:layout_width="wrap_content"
  168. android:layout_height="wrap_content"
  169. android:layout_marginTop="9dp"
  170. android:text="订单"
  171. android:textColor="@color/white"
  172. android:textSize="12sp" />
  173. </LinearLayout>
  174. <LinearLayout
  175. android:id="@+id/haved_pay_btn"
  176. android:layout_width="0dp"
  177. android:layout_height="match_parent"
  178. android:layout_weight="1"
  179. android:gravity="center"
  180. android:onClick="@{clickListener}"
  181. android:orientation="vertical">
  182. <androidx.appcompat.widget.AppCompatImageView
  183. android:layout_width="24dp"
  184. android:layout_height="24dp"
  185. android:src="@mipmap/sell_image" />
  186. <TextView
  187. android:layout_width="wrap_content"
  188. android:layout_height="wrap_content"
  189. android:layout_marginTop="9dp"
  190. android:text="出售"
  191. android:textColor="@color/white"
  192. android:textSize="12sp" />
  193. </LinearLayout>
  194. <LinearLayout
  195. android:id="@+id/haved_ship_btn"
  196. android:layout_width="0dp"
  197. android:layout_height="match_parent"
  198. android:layout_weight="1"
  199. android:gravity="center"
  200. android:onClick="@{clickListener}"
  201. android:orientation="vertical">
  202. <androidx.appcompat.widget.AppCompatImageView
  203. android:layout_width="24dp"
  204. android:layout_height="24dp"
  205. android:src="@mipmap/give_away" />
  206. <TextView
  207. android:layout_width="wrap_content"
  208. android:layout_height="wrap_content"
  209. android:layout_marginTop="9dp"
  210. android:text="转赠"
  211. android:textColor="@color/white"
  212. android:textSize="12sp" />
  213. </LinearLayout>
  214. <LinearLayout
  215. android:id="@+id/haved_finish_btn"
  216. android:layout_width="0dp"
  217. android:layout_height="match_parent"
  218. android:layout_weight="1"
  219. android:gravity="center"
  220. android:onClick="@{clickListener}"
  221. android:orientation="vertical">
  222. <androidx.appcompat.widget.AppCompatImageView
  223. android:layout_width="24dp"
  224. android:layout_height="24dp"
  225. android:src="@mipmap/synthesis_image" />
  226. <TextView
  227. android:layout_width="wrap_content"
  228. android:layout_height="wrap_content"
  229. android:layout_marginTop="9dp"
  230. android:text="合成"
  231. android:textColor="@color/white"
  232. android:textSize="12sp" />
  233. </LinearLayout>
  234. </LinearLayout>
  235. </LinearLayout>
  236. <LinearLayout
  237. android:layout_width="match_parent"
  238. android:layout_height="wrap_content"
  239. android:orientation="vertical"
  240. android:layout_marginTop="8dp"
  241. android:layout_marginLeft="15dp"
  242. android:layout_marginRight="15dp"
  243. android:paddingLeft="17dp"
  244. android:paddingRight="15dp"
  245. android:paddingTop="10dp"
  246. android:paddingBottom="10dp"
  247. android:background="@drawable/bg_mine_gray">
  248. <LinearLayout
  249. android:id="@+id/my_wallet_btn"
  250. android:layout_width="match_parent"
  251. android:layout_height="55dp"
  252. android:gravity="center_vertical"
  253. android:onClick="@{clickListener}"
  254. android:orientation="horizontal"
  255. >
  256. <androidx.appcompat.widget.AppCompatImageView
  257. android:layout_width="28dp"
  258. android:layout_height="28dp"
  259. android:src="@mipmap/my_wallet" />
  260. <TextView
  261. android:layout_width="0dp"
  262. android:layout_height="wrap_content"
  263. android:layout_marginLeft="7dp"
  264. android:layout_weight="1"
  265. android:text="抽签记录"
  266. android:textColor="@color/white"
  267. android:textSize="14sp" />
  268. <androidx.appcompat.widget.AppCompatImageView
  269. android:layout_width="12dp"
  270. android:layout_height="12dp"
  271. android:src="@mipmap/next_black_img" />
  272. </LinearLayout>
  273. <LinearLayout
  274. android:id="@+id/shipping_address_btn"
  275. android:layout_width="match_parent"
  276. android:layout_height="55dp"
  277. android:gravity="center_vertical"
  278. android:onClick="@{clickListener}"
  279. android:orientation="horizontal"
  280. >
  281. <androidx.appcompat.widget.AppCompatImageView
  282. android:layout_width="28dp"
  283. android:layout_height="28dp"
  284. android:src="@mipmap/shipping_address" />
  285. <TextView
  286. android:layout_width="0dp"
  287. android:layout_height="wrap_content"
  288. android:layout_marginLeft="7dp"
  289. android:layout_weight="1"
  290. android:text="邀请好友"
  291. android:textColor="@color/white"
  292. android:textSize="14sp" />
  293. <androidx.appcompat.widget.AppCompatImageView
  294. android:layout_width="12dp"
  295. android:layout_height="12dp"
  296. android:src="@mipmap/next_black_img" />
  297. </LinearLayout>
  298. <LinearLayout
  299. android:id="@+id/quick_reple_btn"
  300. android:layout_width="match_parent"
  301. android:layout_height="55dp"
  302. android:gravity="center_vertical"
  303. android:onClick="@{clickListener}"
  304. android:orientation="horizontal"
  305. >
  306. <androidx.appcompat.widget.AppCompatImageView
  307. android:layout_width="28dp"
  308. android:layout_height="28dp"
  309. android:src="@mipmap/quick_replenishment" />
  310. <TextView
  311. android:layout_width="0dp"
  312. android:layout_height="wrap_content"
  313. android:layout_marginLeft="7dp"
  314. android:layout_weight="1"
  315. android:text="联系客服"
  316. android:textColor="@color/white"
  317. android:textSize="14sp" />
  318. <androidx.appcompat.widget.AppCompatImageView
  319. android:layout_width="12dp"
  320. android:layout_height="12dp"
  321. android:src="@mipmap/next_black_img" />
  322. </LinearLayout>
  323. </LinearLayout>
  324. </LinearLayout>
  325. </layout>