lmw
2024-09-25 92778728b83ce1a34ba21bcdb061afdeca16cce5
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?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"
    android:background="@drawable/bg_white_top_20dp"
    android:paddingVertical="20dp"
    xmlns:app="http://schemas.android.com/apk/res-auto">
 
 
    <EditText
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:id="@+id/et_height"
        android:hint="请输入课程成员身高"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toEndOf="@id/tv_1"
        android:layout_marginStart="40dp"
        style="@style/style_form_text"
        android:singleLine="true"
        android:inputType="number"
        android:maxLength="3"
        android:layout_marginEnd="14dp"
        app:layout_constraintEnd_toEndOf="parent"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="cm"
        android:textSize="14sp"
        app:layout_constraintBaseline_toBaselineOf="@id/et_height"
        app:layout_constraintEnd_toEndOf="@id/et_height"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintBaseline_toBaselineOf="@id/et_height"
        android:text="身高"
        style="@style/style_common_text"
        android:drawablePadding="3dp"
        app:layout_constraintStart_toStartOf="parent"
        android:layout_marginStart="14dp"
        android:drawableStart="@mipmap/ic_must"
        android:textStyle="bold" />
    <View
        android:layout_width="match_parent"
        android:layout_height="1px"
        android:background="@color/dividing_line_color"
        app:layout_constraintTop_toBottomOf="@id/et_height"
        android:layout_marginHorizontal="14dp"/>
 
    <EditText
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:id="@+id/et_weight"
        android:hint="请输入课程成员体重"
        app:layout_constraintTop_toBottomOf="@id/et_height"
        app:layout_constraintStart_toStartOf="@id/et_height"
        style="@style/style_form_text"
        android:singleLine="true"
        android:inputType="numberDecimal"
        android:layout_marginEnd="14dp"
        app:layout_constraintEnd_toEndOf="parent"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="kg"
        android:textSize="14sp"
        app:layout_constraintBaseline_toBaselineOf="@id/et_weight"
        app:layout_constraintEnd_toEndOf="@id/et_height"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintBaseline_toBaselineOf="@id/et_weight"
        android:text="体重"
        style="@style/style_common_text"
        android:drawablePadding="3dp"
        app:layout_constraintStart_toStartOf="parent"
        android:layout_marginStart="14dp"
        android:drawableStart="@mipmap/ic_must"
        android:textStyle="bold" />
    <View
        android:layout_width="match_parent"
        android:layout_height="1px"
        android:background="@color/dividing_line_color"
        app:layout_constraintTop_toBottomOf="@id/et_weight"
        android:layout_marginHorizontal="14dp"/>
 
    <EditText
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:id="@+id/et_phone"
        android:hint="请输入课程成员联系方式"
        app:layout_constraintTop_toBottomOf="@id/et_weight"
        app:layout_constraintStart_toEndOf="@id/tv_1"
        android:layout_marginStart="40dp"
        android:singleLine="true"
        android:maxLength="11"
        android:inputType="number"
        style="@style/style_form_text"
        app:layout_constraintEnd_toEndOf="@id/et_height"
        android:digits="@string/id_card"/>
    <TextView
        android:id="@+id/tv_1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintBaseline_toBaselineOf="@id/et_phone"
        android:text="联系方式"
        android:drawablePadding="3dp"
        android:drawableStart="@mipmap/ic_must"
        style="@style/style_common_text"
        app:layout_constraintStart_toStartOf="parent"
        android:layout_marginStart="14dp"
        android:textStyle="bold"
        />
    <View
        android:layout_width="match_parent"
        android:layout_height="1px"
        android:background="@color/dividing_line_color"
        app:layout_constraintTop_toBottomOf="@id/et_phone"
        android:layout_marginHorizontal="14dp"/>
 
 
    <TextView
        android:layout_width="144dp"
        android:layout_height="wrap_content"
        app:layout_constraintTop_toBottomOf="@id/et_phone"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toStartOf="@id/tv_action"
        android:id="@+id/tv_cancel"
        style="@style/style_btn_action"
        android:text="取消"
        android:textColor="@color/colorPrimary"
        android:background="@drawable/bg_orange_line_20dp"
        android:layout_marginTop="40dp"/>
 
    <TextView
        android:layout_width="144dp"
        android:layout_height="wrap_content"
        app:layout_constraintTop_toBottomOf="@id/et_phone"
        app:layout_constraintStart_toEndOf="@id/tv_cancel"
        app:layout_constraintEnd_toEndOf="parent"
        android:id="@+id/tv_action"
        style="@style/style_btn_action"
        android:text="保存"
        android:layout_marginTop="40dp"/>
</androidx.constraintlayout.widget.ConstraintLayout>