<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:background="@color/white"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:id="@+id/rl"
|
app:layout_constraintTop_toTopOf="parent"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_cancel"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:padding="16dp"
|
android:text="取消"
|
android:layout_marginTop="8dp"
|
android:textColor="@color/colorAccent"
|
android:textSize="@dimen/textSize" />
|
|
<TextView
|
android:id="@+id/tv_sure"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:padding="16dp"
|
android:text="确定"
|
android:layout_marginTop="8dp"
|
android:textColor="@color/colorAccent"
|
android:textSize="@dimen/textSize" />
|
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:text=""
|
android:textColor="@color/textColor"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
</RelativeLayout>
|
|
<View
|
android:layout_width="12dp"
|
android:layout_height="1dp"
|
android:id="@+id/center"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="@id/start"
|
app:layout_constraintBottom_toBottomOf="@id/start"
|
android:background="#CCCCCC"/>
|
|
<TextView
|
android:id="@+id/start"
|
android:layout_width="0dp"
|
android:layout_height="34dp"
|
app:layout_constraintTop_toBottomOf="@id/rl"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="13dp"
|
android:layout_marginEnd="15dp"
|
android:paddingStart="12dp"
|
android:paddingEnd="8dp"
|
android:drawableEnd="@mipmap/ic_date_blue"
|
android:textColor="@color/colorAccent"
|
android:text="0000/00/00"
|
android:gravity="center_vertical"
|
android:background="@drawable/bg_blue_line_4"
|
app:layout_constraintEnd_toStartOf="@id/center"/>
|
|
<TextView
|
android:id="@+id/end"
|
android:layout_width="0dp"
|
android:layout_height="34dp"
|
app:layout_constraintTop_toBottomOf="@id/rl"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="13dp"
|
android:layout_marginEnd="15dp"
|
android:paddingStart="12dp"
|
android:paddingEnd="8dp"
|
android:drawableEnd="@mipmap/ic_date"
|
android:textColor="@color/textColor"
|
android:text="0000/00/00"
|
android:gravity="center_vertical"
|
android:background="@drawable/bg_gray_line_4"
|
app:layout_constraintStart_toEndOf="@id/center"/>
|
|
<LinearLayout
|
android:id="@+id/ll_content"
|
android:layout_width="match_parent"
|
android:layout_height="160dp"
|
android:layout_marginTop="8dp"
|
app:layout_constraintTop_toBottomOf="@id/start"
|
android:layout_marginBottom="14dp"
|
android:orientation="horizontal">
|
|
<cn.sinata.xldutils.view.WheelView
|
android:id="@+id/wv_1"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1.2" />
|
|
<cn.sinata.xldutils.view.WheelView
|
android:id="@+id/wv_2"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1" />
|
|
<cn.sinata.xldutils.view.WheelView
|
android:id="@+id/wv_3"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|