| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto"> |
| | | android:background="@color/page_bg"> |
| | | |
| | | <TextView |
| | | android:text="银行卡开户名:" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_name" |
| | | android:layout_marginStart="14dp" |
| | | style="@style/style_common_text" |
| | | android:textStyle="bold" |
| | | android:layout_width="wrap_content" |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/cl" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_1"/> |
| | | <EditText |
| | | android:layout_width="0dp" |
| | | app:layout_constraintStart_toEndOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="14dp" |
| | | android:layout_height="wrap_content" |
| | | android:textColor="@color/textColor" |
| | | android:hint="请输入" |
| | | android:id="@+id/et_name" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:paddingVertical="15dp" |
| | | android:textStyle="bold" |
| | | android:textSize="14sp" |
| | | android:background="@null"/> |
| | | android:layout_marginHorizontal="14dp" |
| | | android:layout_marginTop="10dp" |
| | | android:background="@drawable/bg_white_10dp" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:background="@color/dividing_line_color" |
| | | android:layout_height="1px" |
| | | app:layout_constraintTop_toBottomOf="@id/et_name" |
| | | android:layout_marginHorizontal="14dp"/> |
| | | <EditText |
| | | android:layout_width="0dp" |
| | | app:layout_constraintStart_toEndOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="14dp" |
| | | android:layout_height="wrap_content" |
| | | android:textColor="@color/textColor" |
| | | android:hint="请输入" |
| | | android:inputType="number" |
| | | android:id="@+id/et_num" |
| | | app:layout_constraintTop_toBottomOf="@id/et_name" |
| | | android:paddingVertical="15dp" |
| | | android:textStyle="bold" |
| | | android:textSize="14sp" |
| | | android:background="@null"/> |
| | | <TextView |
| | | android:text="银行卡卡号:" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_num" |
| | | android:layout_marginStart="14dp" |
| | | style="@style/style_common_text" |
| | | android:textStyle="bold" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:background="@color/dividing_line_color" |
| | | android:layout_height="1px" |
| | | app:layout_constraintTop_toBottomOf="@id/et_num" |
| | | android:layout_marginHorizontal="14dp"/> |
| | | <EditText |
| | | android:layout_width="0dp" |
| | | app:layout_constraintStart_toEndOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="14dp" |
| | | android:layout_height="wrap_content" |
| | | android:textColor="@color/textColor" |
| | | android:hint="请输入" |
| | | android:id="@+id/et_bank" |
| | | app:layout_constraintTop_toBottomOf="@id/et_num" |
| | | android:paddingVertical="15dp" |
| | | android:textStyle="bold" |
| | | android:textSize="14sp" |
| | | android:background="@null"/> |
| | | <TextView |
| | | android:text="银行卡开户行:" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_bank" |
| | | android:layout_marginStart="14dp" |
| | | style="@style/style_common_text" |
| | | android:textStyle="bold" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:background="@color/dividing_line_color" |
| | | android:layout_height="1px" |
| | | app:layout_constraintTop_toBottomOf="@id/et_bank" |
| | | android:layout_marginHorizontal="14dp"/> |
| | | <EditText |
| | | android:layout_width="0dp" |
| | | app:layout_constraintStart_toEndOf="@id/tv_2" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="14dp" |
| | | android:layout_height="wrap_content" |
| | | android:textColor="@color/textColor" |
| | | android:hint="请输入" |
| | | android:id="@+id/et_phone" |
| | | app:layout_constraintTop_toBottomOf="@id/et_bank" |
| | | android:paddingVertical="15dp" |
| | | android:textStyle="bold" |
| | | android:inputType="number" |
| | | android:maxLength="11" |
| | | android:textSize="14sp" |
| | | android:background="@null"/> |
| | | <TextView |
| | | android:text="银行卡绑定手机号:" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_phone" |
| | | android:layout_marginStart="14dp" |
| | | style="@style/style_common_text" |
| | | android:id="@+id/tv_2" |
| | | android:textStyle="bold" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:background="@color/dividing_line_color" |
| | | android:layout_height="1px" |
| | | app:layout_constraintTop_toBottomOf="@id/et_phone" |
| | | android:layout_marginHorizontal="14dp"/> |
| | | <TextView |
| | | android:text="银行卡正面照:" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@id/et_phone" |
| | | android:layout_marginTop="15dp" |
| | | android:layout_marginStart="14dp" |
| | | style="@style/style_common_text" |
| | | android:id="@+id/tv_3" |
| | | android:textStyle="bold" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content"/> |
| | | <com.facebook.drawee.view.SimpleDraweeView |
| | | android:layout_width="98dp" |
| | | android:layout_height="98dp" |
| | | app:roundedCornerRadius="4dp" |
| | | android:id="@+id/iv_photo" |
| | | app:placeholderImage="@mipmap/add_img" |
| | | android:layout_marginTop="18dp" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_3" |
| | | app:layout_constraintStart_toStartOf="@id/tv_1" |
| | | app:actualImageScaleType="centerCrop"/> |
| | | <TextView |
| | | <TextView |
| | | android:id="@+id/tv_1" |
| | | style="@style/style_common_text" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="14dp" |
| | | android:text="身份证号:" |
| | | android:textStyle="bold" |
| | | android:visibility="invisible" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_bank" |
| | | app:layout_constraintStart_toStartOf="parent" /> |
| | | |
| | | <TextView |
| | | style="@style/style_common_text" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="14dp" |
| | | android:text="开户行:" |
| | | android:textSize="16sp" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_bank" |
| | | app:layout_constraintStart_toStartOf="parent" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_bank" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginEnd="14dp" |
| | | android:background="@null" |
| | | android:hint="请输入" |
| | | android:paddingVertical="15dp" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="16sp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toEndOf="@id/tv_1" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_num" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginEnd="14dp" |
| | | android:background="@null" |
| | | android:hint="请输入" |
| | | android:inputType="number" |
| | | android:paddingVertical="15dp" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="16sp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toEndOf="@id/tv_1" |
| | | app:layout_constraintTop_toBottomOf="@id/et_bank" /> |
| | | |
| | | <TextView |
| | | style="@style/style_common_text" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="14dp" |
| | | android:text="卡号:" |
| | | android:textSize="16sp" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_num" |
| | | app:layout_constraintStart_toStartOf="parent" /> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_btn_action" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="30dp" |
| | | android:layout_marginHorizontal="45dp" |
| | | android:text="保存" |
| | | android:id="@+id/tv_action"/> |
| | | android:layout_marginHorizontal="14dp" |
| | | android:layout_marginTop="10dp" |
| | | android:id="@+id/cl_2" |
| | | android:background="@drawable/bg_white_10dp" |
| | | app:layout_constraintTop_toBottomOf="@id/cl"> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_name" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginEnd="14dp" |
| | | android:background="@null" |
| | | android:hint="请输入" |
| | | android:paddingVertical="15dp" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="16sp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toEndOf="@id/tv_2" |
| | | app:layout_constraintTop_toTopOf="parent" /> |
| | | |
| | | <TextView |
| | | style="@style/style_common_text" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="14dp" |
| | | android:text="持卡人:" |
| | | android:textSize="16sp" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_name" |
| | | app:layout_constraintStart_toStartOf="parent" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_id_card" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginEnd="14dp" |
| | | android:background="@null" |
| | | android:hint="请输入" |
| | | android:maxLength="18" |
| | | android:paddingVertical="15dp" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="16sp" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toEndOf="@id/tv_2" |
| | | app:layout_constraintTop_toBottomOf="@id/et_name" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_2" |
| | | style="@style/style_common_text" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="14dp" |
| | | android:text="身份证号:" |
| | | android:textSize="16sp" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_id_card" |
| | | app:layout_constraintStart_toStartOf="parent" /> |
| | | |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:layout_marginHorizontal="14dp" |
| | | android:background="@color/dividing_line_color" |
| | | app:layout_constraintTop_toBottomOf="@id/et_name" /> |
| | | <EditText |
| | | android:layout_width="0dp" |
| | | app:layout_constraintStart_toEndOf="@id/tv_2" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="14dp" |
| | | android:layout_height="wrap_content" |
| | | android:textColor="@color/textColor" |
| | | android:hint="银行预留手机号" |
| | | android:id="@+id/et_phone" |
| | | app:layout_constraintTop_toBottomOf="@id/et_id_card" |
| | | android:paddingVertical="15dp" |
| | | android:inputType="number" |
| | | android:maxLength="11" |
| | | android:textSize="16sp" |
| | | android:background="@null"/> |
| | | <TextView |
| | | android:text="手机号:" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_phone" |
| | | android:layout_marginStart="14dp" |
| | | style="@style/style_common_text" |
| | | android:textSize="16sp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:background="@color/dividing_line_color" |
| | | android:layout_height="1px" |
| | | app:layout_constraintTop_toBottomOf="@id/et_phone" |
| | | android:layout_marginHorizontal="14dp"/> |
| | | <EditText |
| | | android:layout_width="0dp" |
| | | app:layout_constraintStart_toEndOf="@id/tv_3" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="14dp" |
| | | android:layout_height="wrap_content" |
| | | android:textColor="@color/textColor" |
| | | android:hint="请输入" |
| | | android:id="@+id/et_code" |
| | | app:layout_constraintTop_toBottomOf="@id/et_phone" |
| | | android:paddingVertical="15dp" |
| | | android:inputType="number" |
| | | android:maxLength="6" |
| | | android:textSize="16sp" |
| | | android:background="@null"/> |
| | | <TextView |
| | | android:id="@+id/tv_3" |
| | | android:text="请输入验证码:" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_code" |
| | | android:layout_marginStart="14dp" |
| | | style="@style/style_common_text" |
| | | android:textSize="16sp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/et_code" |
| | | app:layout_constraintEnd_toEndOf="@id/et_code" |
| | | android:text="发送验证码" |
| | | android:textColor="@color/textGreen" |
| | | style="@style/style_common_text" |
| | | android:id="@+id/tv_code" |
| | | android:paddingVertical="10dp" |
| | | android:textSize="16sp"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_btn_action" |
| | | app:layout_constraintTop_toBottomOf="@id/cl_2" |
| | | android:layout_marginHorizontal="45dp" |
| | | android:layout_marginTop="50dp" |
| | | android:text="添加" |
| | | android:id="@+id/tv_action"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |