<?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">
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="parent"
|
android:background="@drawable/bg_white_8dp"
|
android:layout_marginHorizontal="230dp"
|
android:layout_marginTop="30dp">
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="parent"
|
android:id="@+id/et_name"
|
android:paddingVertical="15dp"
|
android:drawableEnd="@mipmap/more_grey"
|
android:drawablePadding="20dp"
|
android:gravity="end"
|
android:layout_marginStart="100dp"
|
android:singleLine="true"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"
|
android:textStyle="bold"
|
android:background="@null"
|
android:layout_marginEnd="19dp"
|
android:hint="请输入收件人姓名"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="14dp"
|
app:layout_constraintBaseline_toBaselineOf="@id/et_name"
|
android:text="收件人姓名"
|
android:textStyle="bold"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintTop_toBottomOf="@id/et_name"/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/et_name"
|
android:id="@+id/et_phone"
|
android:paddingVertical="15dp"
|
android:drawableEnd="@mipmap/more_grey"
|
android:drawablePadding="20dp"
|
android:gravity="end"
|
android:layout_marginStart="100dp"
|
android:singleLine="true"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"
|
android:textStyle="bold"
|
android:background="@null"
|
android:inputType="number"
|
android:maxLength="11"
|
android:layout_marginEnd="19dp"
|
android:hint="请输入收件人电话"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="14dp"
|
app:layout_constraintBaseline_toBaselineOf="@id/et_phone"
|
android:text="收件人电话"
|
android:textStyle="bold"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintTop_toBottomOf="@id/et_phone"/>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/et_phone"
|
android:id="@+id/tv_city"
|
android:paddingVertical="15dp"
|
android:drawableEnd="@mipmap/more_grey"
|
android:drawablePadding="20dp"
|
android:gravity="end"
|
android:layout_marginStart="100dp"
|
android:singleLine="true"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"
|
android:textStyle="bold"
|
android:layout_marginEnd="19dp"
|
android:hint="请选择"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="14dp"
|
app:layout_constraintBaseline_toBaselineOf="@id/tv_city"
|
android:text="所在城市"
|
android:textStyle="bold"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintTop_toBottomOf="@id/tv_city"/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/tv_city"
|
android:id="@+id/et_address"
|
android:paddingVertical="15dp"
|
android:drawableEnd="@mipmap/more_grey"
|
android:drawablePadding="20dp"
|
android:gravity="end"
|
android:layout_marginStart="100dp"
|
android:singleLine="true"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"
|
android:textStyle="bold"
|
android:background="@null"
|
android:layout_marginEnd="19dp"
|
android:hint="请输入"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="14dp"
|
app:layout_constraintBaseline_toBaselineOf="@id/et_address"
|
android:text="详细地址"
|
android:textStyle="bold"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintTop_toBottomOf="@id/et_address"/>
|
<CheckBox
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/cb_default"
|
android:text="设为默认"
|
app:layout_constraintTop_toBottomOf="@id/et_address"
|
android:layout_marginTop="22dp"
|
android:layout_marginStart="10dp"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginBottom="120dp"
|
android:button="@drawable/selector_check_radio"
|
app:layout_constraintStart_toStartOf="parent"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_action"
|
style="@style/style_btn_action"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginBottom="30dp"
|
android:layout_marginHorizontal="350dp"
|
android:text="保存"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|