activity_bind_bankcard.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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/color_f6f8f9"
  7. android:orientation="vertical">
  8. <include
  9. android:id="@+id/toolbar_include"
  10. layout="@layout/common_toolbar_layout" />
  11. <androidx.constraintlayout.widget.ConstraintLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:layout_marginStart="14dp"
  15. android:layout_marginTop="15dp"
  16. android:layout_marginEnd="14dp"
  17. android:background="@drawable/bg_white_10dp">
  18. <TextView
  19. android:id="@+id/tv_star_name"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_marginLeft="21dp"
  23. android:layout_marginTop="25dp"
  24. android:text="*"
  25. android:textColor="@color/color_ff4e19"
  26. android:textSize="@dimen/sp_17"
  27. app:layout_constraintLeft_toLeftOf="parent"
  28. app:layout_constraintTop_toTopOf="parent" />
  29. <TextView
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:text="持卡人姓名"
  33. android:textColor="@color/black"
  34. android:textSize="@dimen/sp_17"
  35. app:layout_constraintBottom_toBottomOf="@+id/tv_star_name"
  36. app:layout_constraintLeft_toRightOf="@+id/tv_star_name"
  37. app:layout_constraintTop_toTopOf="@+id/tv_star_name" />
  38. <EditText
  39. android:id="@+id/et_real_name"
  40. android:layout_width="match_parent"
  41. android:layout_height="@dimen/dp_45"
  42. android:layout_marginLeft="21dp"
  43. android:layout_marginRight="21dp"
  44. android:background="@null"
  45. android:gravity="left"
  46. android:hint="请输入您的真实姓名"
  47. android:inputType="text"
  48. android:paddingTop="8dp"
  49. android:textColor="@color/black_333"
  50. android:textColorHint="@color/color_ffc1c1c1"
  51. android:textSize="16sp"
  52. app:layout_constraintLeft_toLeftOf="parent"
  53. app:layout_constraintTop_toBottomOf="@+id/tv_star_name" />
  54. <View
  55. android:id="@+id/view_line1"
  56. android:layout_width="match_parent"
  57. android:layout_height="1dp"
  58. android:layout_marginLeft="20dp"
  59. android:layout_marginRight="21dp"
  60. android:background="@color/divide_color"
  61. app:layout_constraintLeft_toLeftOf="parent"
  62. app:layout_constraintTop_toBottomOf="@+id/et_real_name" />
  63. <TextView
  64. android:id="@+id/tv_star_idcard"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_marginLeft="21dp"
  68. android:layout_marginTop="13dp"
  69. android:text="*"
  70. android:textColor="@color/color_ff4e19"
  71. android:textSize="@dimen/sp_17"
  72. app:layout_constraintLeft_toLeftOf="parent"
  73. app:layout_constraintTop_toBottomOf="@+id/view_line1"/>
  74. <TextView
  75. android:layout_width="wrap_content"
  76. android:layout_height="wrap_content"
  77. android:text="持卡人身份证号"
  78. android:textColor="@color/black"
  79. android:textSize="@dimen/sp_17"
  80. app:layout_constraintBottom_toBottomOf="@+id/tv_star_idcard"
  81. app:layout_constraintLeft_toRightOf="@+id/tv_star_idcard"
  82. app:layout_constraintTop_toTopOf="@+id/tv_star_idcard" />
  83. <EditText
  84. android:id="@+id/et_real_idcard"
  85. android:layout_width="match_parent"
  86. android:layout_height="@dimen/dp_45"
  87. android:layout_marginLeft="21dp"
  88. android:layout_marginRight="21dp"
  89. android:background="@null"
  90. android:gravity="left"
  91. android:hint="请输入您的身份证号"
  92. android:paddingTop="8dp"
  93. android:textColor="@color/black_333"
  94. android:textColorHint="@color/color_ffc1c1c1"
  95. android:textSize="16sp"
  96. app:layout_constraintLeft_toLeftOf="parent"
  97. app:layout_constraintTop_toBottomOf="@+id/tv_star_idcard" />
  98. <View
  99. android:id="@+id/view_line"
  100. android:layout_width="match_parent"
  101. android:layout_height="1dp"
  102. android:layout_marginLeft="20dp"
  103. android:layout_marginRight="21dp"
  104. android:background="@color/divide_color"
  105. app:layout_constraintLeft_toLeftOf="parent"
  106. app:layout_constraintTop_toBottomOf="@+id/et_real_idcard" />
  107. <TextView
  108. android:id="@+id/tv_star_bank_name"
  109. android:layout_width="wrap_content"
  110. android:layout_height="wrap_content"
  111. android:layout_marginLeft="21dp"
  112. android:layout_marginTop="13dp"
  113. android:text="*"
  114. android:textColor="@color/color_ff4e19"
  115. android:textSize="@dimen/sp_17"
  116. app:layout_constraintLeft_toLeftOf="parent"
  117. app:layout_constraintTop_toBottomOf="@+id/view_line" />
  118. <TextView
  119. android:layout_width="wrap_content"
  120. android:layout_height="wrap_content"
  121. android:text="开户行"
  122. android:textSize="@dimen/sp_17"
  123. android:textColor="@color/black"
  124. app:layout_constraintBottom_toBottomOf="@+id/tv_star_bank_name"
  125. app:layout_constraintLeft_toRightOf="@+id/tv_star_bank_name"
  126. app:layout_constraintTop_toTopOf="@+id/tv_star_bank_name" />
  127. <androidx.constraintlayout.widget.ConstraintLayout
  128. android:id="@+id/cl_bankname"
  129. android:layout_width="wrap_content"
  130. android:layout_height="45dp"
  131. android:paddingTop="8dp"
  132. android:layout_marginLeft="21dp"
  133. app:layout_constraintLeft_toLeftOf="parent"
  134. app:layout_constraintTop_toBottomOf="@+id/tv_star_bank_name">
  135. <TextView
  136. android:id="@+id/tv_select_bankname"
  137. android:layout_width="wrap_content"
  138. android:layout_height="wrap_content"
  139. android:text="请选择"
  140. android:textSize="@dimen/sp_16"
  141. android:textColor="@color/color_ffc1c1c1"
  142. app:layout_constraintLeft_toLeftOf="parent"
  143. app:layout_constraintTop_toTopOf="parent" />
  144. <ImageView
  145. android:layout_width="12dp"
  146. android:layout_height="7dp"
  147. android:layout_marginLeft="6dp"
  148. android:background="@drawable/icon_go_down"
  149. app:layout_constraintBottom_toBottomOf="@+id/tv_select_bankname"
  150. app:layout_constraintLeft_toRightOf="@+id/tv_select_bankname"
  151. app:layout_constraintTop_toTopOf="@+id/tv_select_bankname" />
  152. </androidx.constraintlayout.widget.ConstraintLayout>
  153. <View
  154. android:id="@+id/view_line2"
  155. android:layout_width="match_parent"
  156. android:layout_height="1dp"
  157. android:layout_marginLeft="20dp"
  158. android:layout_marginRight="21dp"
  159. android:background="@color/divide_color"
  160. app:layout_constraintLeft_toLeftOf="parent"
  161. app:layout_constraintTop_toBottomOf="@+id/cl_bankname" />
  162. <TextView
  163. android:id="@+id/tv_star_bank_num"
  164. android:layout_width="wrap_content"
  165. android:layout_height="wrap_content"
  166. android:layout_marginLeft="21dp"
  167. android:layout_marginTop="13dp"
  168. android:text="*"
  169. android:textColor="@color/color_ff4e19"
  170. android:textSize="@dimen/sp_17"
  171. app:layout_constraintLeft_toLeftOf="parent"
  172. app:layout_constraintTop_toBottomOf="@+id/view_line2" />
  173. <TextView
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. android:text="银行卡号"
  177. android:textColor="@color/black"
  178. android:textSize="@dimen/sp_17"
  179. app:layout_constraintBottom_toBottomOf="@+id/tv_star_bank_num"
  180. app:layout_constraintLeft_toRightOf="@+id/tv_star_bank_num"
  181. app:layout_constraintTop_toTopOf="@+id/tv_star_bank_num" />
  182. <EditText
  183. android:id="@+id/et_bank_num"
  184. android:layout_width="match_parent"
  185. android:layout_height="@dimen/dp_45"
  186. android:layout_marginLeft="21dp"
  187. android:layout_marginRight="21dp"
  188. android:background="@null"
  189. android:gravity="left"
  190. android:hint="请输入银行卡号"
  191. android:inputType="number"
  192. android:paddingTop="8dp"
  193. android:textColor="@color/black_333"
  194. android:textColorHint="@color/color_ffc1c1c1"
  195. android:textSize="16sp"
  196. app:layout_constraintLeft_toLeftOf="parent"
  197. app:layout_constraintTop_toBottomOf="@+id/tv_star_bank_num" />
  198. <View
  199. android:id="@+id/view_line3"
  200. android:layout_width="match_parent"
  201. android:layout_height="1dp"
  202. android:layout_marginLeft="20dp"
  203. android:layout_marginRight="21dp"
  204. android:background="@color/divide_color"
  205. app:layout_constraintLeft_toLeftOf="parent"
  206. app:layout_constraintTop_toBottomOf="@+id/et_bank_num" />
  207. <TextView
  208. android:id="@+id/tv_star_bank_phone"
  209. android:layout_width="wrap_content"
  210. android:layout_height="wrap_content"
  211. android:layout_marginLeft="21dp"
  212. android:layout_marginTop="13dp"
  213. android:text="*"
  214. android:textColor="@color/color_ff4e19"
  215. android:textSize="@dimen/sp_17"
  216. app:layout_constraintLeft_toLeftOf="parent"
  217. app:layout_constraintTop_toBottomOf="@+id/view_line3" />
  218. <TextView
  219. android:layout_width="wrap_content"
  220. android:layout_height="wrap_content"
  221. android:text="银行卡预留手机号"
  222. android:textColor="@color/black"
  223. android:textSize="@dimen/sp_17"
  224. app:layout_constraintBottom_toBottomOf="@+id/tv_star_bank_phone"
  225. app:layout_constraintLeft_toRightOf="@+id/tv_star_bank_phone"
  226. app:layout_constraintTop_toTopOf="@+id/tv_star_bank_phone" />
  227. <EditText
  228. android:id="@+id/et_bank_phone"
  229. android:layout_width="match_parent"
  230. android:layout_height="@dimen/dp_45"
  231. android:layout_marginLeft="21dp"
  232. android:layout_marginRight="21dp"
  233. android:background="@null"
  234. android:gravity="left"
  235. android:hint="请输入手机号"
  236. android:inputType="phone"
  237. android:paddingTop="8dp"
  238. android:textColor="@color/black_333"
  239. android:textColorHint="@color/color_ffc1c1c1"
  240. android:textSize="16sp"
  241. app:layout_constraintLeft_toLeftOf="parent"
  242. app:layout_constraintTop_toBottomOf="@+id/tv_star_bank_phone" />
  243. <View
  244. android:id="@+id/view_line4"
  245. android:layout_width="match_parent"
  246. android:layout_height="1dp"
  247. android:layout_marginLeft="20dp"
  248. android:layout_marginRight="21dp"
  249. android:background="@color/divide_color"
  250. app:layout_constraintLeft_toLeftOf="parent"
  251. app:layout_constraintBottom_toBottomOf="parent"
  252. android:layout_marginBottom="37dp"
  253. app:layout_constraintTop_toBottomOf="@+id/et_bank_phone" />
  254. </androidx.constraintlayout.widget.ConstraintLayout>
  255. <TextView
  256. android:id="@+id/tv_bind"
  257. android:layout_width="match_parent"
  258. android:layout_height="44dp"
  259. android:layout_alignParentBottom="true"
  260. android:layout_marginLeft="28dp"
  261. android:layout_marginTop="23dp"
  262. android:layout_marginRight="28dp"
  263. android:background="@drawable/shape_course_status_ing"
  264. android:gravity="center"
  265. android:text="立即绑卡"
  266. android:textColor="@color/white"
  267. android:textSize="@dimen/sp_14" />
  268. </LinearLayout>