module_me_activity_withdraw.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/rootLayout"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="#F5F5F5">
  8. <androidx.constraintlayout.widget.ConstraintLayout
  9. android:id="@+id/clTopBar"
  10. android:layout_width="0dp"
  11. android:layout_height="wrap_content"
  12. android:background="@color/white"
  13. android:paddingHorizontal="16dp"
  14. android:paddingVertical="12dp"
  15. app:layout_constraintEnd_toEndOf="parent"
  16. app:layout_constraintStart_toStartOf="parent"
  17. app:layout_constraintTop_toTopOf="parent">
  18. <ImageView
  19. android:id="@+id/ivBack"
  20. android:layout_width="24dp"
  21. android:layout_height="24dp"
  22. android:src="@drawable/ic_back"
  23. android:tint="#333333"
  24. app:layout_constraintBottom_toBottomOf="parent"
  25. app:layout_constraintStart_toStartOf="parent"
  26. app:layout_constraintTop_toTopOf="parent" />
  27. <TextView
  28. android:id="@+id/tvTitle"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:text="提现"
  32. android:textColor="#333333"
  33. android:textSize="18sp"
  34. android:textStyle="bold"
  35. app:layout_constraintBottom_toBottomOf="parent"
  36. app:layout_constraintEnd_toEndOf="parent"
  37. app:layout_constraintStart_toStartOf="parent"
  38. app:layout_constraintTop_toTopOf="parent" />
  39. </androidx.constraintlayout.widget.ConstraintLayout>
  40. <androidx.core.widget.NestedScrollView
  41. android:layout_width="0dp"
  42. android:layout_height="0dp"
  43. android:fillViewport="true"
  44. app:layout_constraintBottom_toTopOf="@id/btnConfirm"
  45. app:layout_constraintEnd_toEndOf="parent"
  46. app:layout_constraintStart_toStartOf="parent"
  47. app:layout_constraintTop_toBottomOf="@id/clTopBar">
  48. <LinearLayout
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content"
  51. android:orientation="vertical"
  52. android:padding="16dp">
  53. <LinearLayout
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:background="@drawable/sp_r10_white"
  57. android:orientation="vertical"
  58. android:padding="16dp">
  59. <TextView
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:text="提现金额"
  63. android:textColor="#999999"
  64. android:textSize="14sp" />
  65. <LinearLayout
  66. android:layout_width="match_parent"
  67. android:layout_height="wrap_content"
  68. android:layout_marginTop="16dp"
  69. android:gravity="center_vertical"
  70. android:orientation="horizontal">
  71. <TextView
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:text="¥"
  75. android:textColor="#333333"
  76. android:textSize="24sp"
  77. android:textStyle="bold" />
  78. <EditText
  79. android:id="@+id/etAmount"
  80. android:layout_width="0dp"
  81. android:layout_height="wrap_content"
  82. android:layout_marginStart="8dp"
  83. android:layout_weight="1"
  84. android:background="@android:color/transparent"
  85. android:hint="请输入提现金额"
  86. android:inputType="number"
  87. android:maxLines="1"
  88. android:textColor="#333333"
  89. android:textSize="16sp" />
  90. <TextView
  91. android:id="@+id/btnAll"
  92. android:layout_width="wrap_content"
  93. android:layout_height="32dp"
  94. android:layout_marginStart="8dp"
  95. android:background="@drawable/sp_r16_stroke_ff9800"
  96. android:gravity="center"
  97. android:paddingHorizontal="12dp"
  98. android:text="全部"
  99. android:textColor="#FF9800"
  100. android:textSize="12sp" />
  101. </LinearLayout>
  102. <View
  103. android:layout_width="match_parent"
  104. android:layout_height="1dp"
  105. android:layout_marginTop="12dp"
  106. android:background="#EEEEEE" />
  107. <TextView
  108. android:id="@+id/tvAvailable"
  109. android:layout_width="wrap_content"
  110. android:layout_height="wrap_content"
  111. android:layout_marginTop="12dp"
  112. android:text="可提现金额: 0元"
  113. android:textColor="#333333"
  114. android:textSize="14sp"
  115. android:textStyle="bold" />
  116. <TextView
  117. android:id="@+id/tvPointsLeft"
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:layout_marginTop="8dp"
  121. android:text="剩余积分: 0"
  122. android:textColor="#999999"
  123. android:textSize="12sp" />
  124. <TextView
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_marginTop="4dp"
  128. android:text="提现比例: 10000积分=1元"
  129. android:textColor="#FF9800"
  130. android:textSize="12sp" />
  131. </LinearLayout>
  132. <LinearLayout
  133. android:layout_width="match_parent"
  134. android:layout_height="wrap_content"
  135. android:layout_marginTop="16dp"
  136. android:background="@drawable/sp_r10_white"
  137. android:orientation="vertical"
  138. android:padding="16dp">
  139. <TextView
  140. android:layout_width="wrap_content"
  141. android:layout_height="wrap_content"
  142. android:text="提现到"
  143. android:textColor="#333333"
  144. android:textSize="14sp"
  145. android:textStyle="bold" />
  146. <LinearLayout
  147. android:id="@+id/llBankCard"
  148. android:layout_width="match_parent"
  149. android:layout_height="wrap_content"
  150. android:layout_marginTop="16dp"
  151. android:gravity="center_vertical"
  152. android:orientation="horizontal">
  153. <FrameLayout
  154. android:layout_width="32dp"
  155. android:layout_height="32dp"
  156. android:background="@drawable/sp_r4_solid_e3f2fd">
  157. <TextView
  158. android:layout_width="match_parent"
  159. android:layout_height="match_parent"
  160. android:gravity="center"
  161. android:text="卡"
  162. android:textColor="#1976D2"
  163. android:textSize="14sp"
  164. android:textStyle="bold" />
  165. </FrameLayout>
  166. <LinearLayout
  167. android:layout_width="0dp"
  168. android:layout_height="wrap_content"
  169. android:layout_marginStart="12dp"
  170. android:layout_weight="1"
  171. android:orientation="vertical">
  172. <TextView
  173. android:id="@+id/tvBankName"
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. android:text="请添加银行卡"
  177. android:textColor="#999999"
  178. android:textSize="16sp" />
  179. <TextView
  180. android:id="@+id/tvBankNo"
  181. android:layout_width="wrap_content"
  182. android:layout_height="wrap_content"
  183. android:layout_marginTop="2dp"
  184. android:text=""
  185. android:textColor="#999999"
  186. android:textSize="14sp"
  187. android:visibility="gone" />
  188. </LinearLayout>
  189. <TextView
  190. android:id="@+id/tvAddHint"
  191. android:layout_width="wrap_content"
  192. android:layout_height="wrap_content"
  193. android:text="去添加"
  194. android:textColor="#999999"
  195. android:textSize="14sp"
  196. android:visibility="gone" />
  197. <ImageView
  198. android:layout_width="16dp"
  199. android:layout_height="16dp"
  200. android:layout_marginStart="4dp"
  201. android:src="@drawable/ic_arrow_right_gray" />
  202. </LinearLayout>
  203. </LinearLayout>
  204. <LinearLayout
  205. android:layout_width="match_parent"
  206. android:layout_height="wrap_content"
  207. android:layout_marginTop="24dp"
  208. android:orientation="vertical">
  209. <TextView
  210. android:layout_width="wrap_content"
  211. android:layout_height="wrap_content"
  212. android:text="提现说明"
  213. android:textColor="#666666"
  214. android:textSize="14sp"
  215. android:textStyle="bold" />
  216. <TextView
  217. android:layout_width="wrap_content"
  218. android:layout_height="wrap_content"
  219. android:layout_marginTop="8dp"
  220. android:text="1.每笔提现手续费为提现额的6%"
  221. android:textColor="#999999"
  222. android:textSize="12sp" />
  223. <TextView
  224. android:layout_width="wrap_content"
  225. android:layout_height="wrap_content"
  226. android:text="2.整百及整百的倍数方可提现"
  227. android:textColor="#999999"
  228. android:textSize="12sp" />
  229. <TextView
  230. android:layout_width="wrap_content"
  231. android:layout_height="wrap_content"
  232. android:text="3.每天可提现1次"
  233. android:textColor="#999999"
  234. android:textSize="12sp" />
  235. <TextView
  236. android:layout_width="wrap_content"
  237. android:layout_height="wrap_content"
  238. android:text="4.每个id每天提现上限额为1亿积分"
  239. android:textColor="#999999"
  240. android:textSize="12sp" />
  241. <TextView
  242. android:layout_width="wrap_content"
  243. android:layout_height="wrap_content"
  244. android:text="5.法定节假日不打款"
  245. android:textColor="#999999"
  246. android:textSize="12sp" />
  247. </LinearLayout>
  248. </LinearLayout>
  249. </androidx.core.widget.NestedScrollView>
  250. <Button
  251. android:id="@+id/btnConfirm"
  252. android:layout_width="0dp"
  253. android:layout_height="48dp"
  254. android:layout_margin="16dp"
  255. android:background="@drawable/sp_r24_gradient_ff9800_ff5722"
  256. android:text="确认提现"
  257. android:textColor="@color/white"
  258. android:textSize="16sp"
  259. android:textStyle="bold"
  260. app:layout_constraintBottom_toBottomOf="parent"
  261. app:layout_constraintEnd_toEndOf="parent"
  262. app:layout_constraintStart_toStartOf="parent" />
  263. </androidx.constraintlayout.widget.ConstraintLayout>