<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
<TextView
|
android:id="@+id/tv_action"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
style="@style/style_tv_action"
|
android:text="确定"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginBottom="14dp"/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:id="@+id/et_name"
|
android:hint="请输入姓名"
|
app:layout_constraintTop_toTopOf="parent"
|
style="@style/style_form_text_setting"
|
android:layout_marginStart="110dp"
|
android:inputType="text"
|
android:background="@null"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintBaseline_toBaselineOf="@id/et_name"
|
android:text="姓名"
|
style="@style/style_common_text"
|
android:layout_marginStart="14dp"
|
app:layout_constraintStart_toStartOf="parent"/>
|
<View style="@style/style_form_divider_line"
|
android:layout_marginStart="14dp"
|
app:layout_constraintTop_toBottomOf="@id/et_name"
|
android:layout_marginEnd="14dp"/>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_sex"
|
android:hint="请选择性别"
|
style="@style/style_form_text_setting"
|
android:drawableEnd="@mipmap/icon_more_grey"
|
android:layout_marginStart="110dp"
|
android:layout_marginEnd="14dp"
|
android:inputType="number"
|
android:background="@null"
|
app:layout_constraintTop_toBottomOf="@id/et_name"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintBaseline_toBaselineOf="@id/tv_sex"
|
android:text="性别"
|
style="@style/style_common_text"
|
android:layout_marginStart="14dp"
|
app:layout_constraintStart_toStartOf="parent"/>
|
<View style="@style/style_form_divider_line"
|
android:layout_marginStart="14dp"
|
app:layout_constraintTop_toBottomOf="@id/tv_sex"
|
android:layout_marginEnd="14dp"/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:id="@+id/et_phone"
|
android:hint="请输入手机号"
|
style="@style/style_form_text_setting"
|
android:layout_marginStart="110dp"
|
android:inputType="number"
|
android:background="@null"
|
app:layout_constraintTop_toBottomOf="@id/tv_sex"
|
android:maxLength="11" />
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintBaseline_toBaselineOf="@id/et_phone"
|
android:text="手机号"
|
style="@style/style_common_text"
|
android:layout_marginStart="14dp"
|
app:layout_constraintStart_toStartOf="parent"/>
|
<View style="@style/style_form_divider_line"
|
android:layout_marginStart="14dp"
|
app:layout_constraintTop_toBottomOf="@id/et_phone"
|
android:layout_marginEnd="14dp"/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:id="@+id/et_id_card"
|
android:hint="请输入身份证号"
|
style="@style/style_form_text_setting"
|
android:layout_marginStart="110dp"
|
android:digits="@string/idCard"
|
android:background="@null"
|
app:layout_constraintTop_toBottomOf="@id/et_phone"
|
android:maxLength="18" />
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintBaseline_toBaselineOf="@id/et_id_card"
|
android:text="身份证号"
|
style="@style/style_common_text"
|
android:layout_marginStart="14dp"
|
app:layout_constraintStart_toStartOf="parent"/>
|
<View style="@style/style_form_divider_line"
|
android:layout_marginStart="14dp"
|
app:layout_constraintTop_toBottomOf="@id/et_id_card"
|
android:layout_marginEnd="14dp"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|