lmw
2025-04-14 0361f47762f9958f2ec91fdb62bfc98de4e162a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<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>