activity_add_teacher.xml
4.42 KB
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
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F4F6F8">
<View
android:id="@+id/view_1"
android:layout_width="match_parent"
android:layout_height="44dp"
android:background="@android:color/white"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="绑定老师"
android:textColor="#333333"
android:textSize="18dp"
app:layout_constraintBottom_toBottomOf="@id/view_1"
app:layout_constraintLeft_toLeftOf="@id/view_1"
app:layout_constraintRight_toRightOf="@id/view_1"
app:layout_constraintTop_toTopOf="@id/view_1" />
<TextView
android:id="@+id/tv_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:text="取消"
android:textColor="#666666"
android:textSize="16dp"
app:layout_constraintBottom_toBottomOf="@id/view_1"
app:layout_constraintLeft_toLeftOf="@id/view_1"
app:layout_constraintTop_toTopOf="@id/view_1" />
<View
android:id="@+id/view_3"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginLeft="15dp"
android:layout_marginTop="109dp"
android:layout_marginRight="15dp"
android:background="@drawable/bg_solid_white_10"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<EditText
android:id="@+id/et_1"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:inputType="phone"
android:maxLength="11"
android:textColor="#333333"
android:textColorHint="#999999"
android:textSize="16dp"
app:layout_constraintBottom_toBottomOf="@+id/view_3"
app:layout_constraintLeft_toLeftOf="@+id/view_3"
app:layout_constraintRight_toRightOf="@+id/view_3"
app:layout_constraintTop_toTopOf="@+id/view_3" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginBottom="15dp"
android:text="请输入手机号"
android:textColor="#666666"
app:layout_constraintBottom_toTopOf="@id/et_1"
app:layout_constraintLeft_toLeftOf="parent" />
<RelativeLayout
android:id="@+id/rl_teacher"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginLeft="15dp"
android:layout_marginTop="25dp"
android:layout_marginRight="15dp"
android:background="@drawable/bg_solid_white_10"
android:visibility="gone"
app:layout_constraintTop_toBottomOf="@+id/et_1">
<ImageView
android:id="@+id/iv_teacher"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginLeft="15dp"
android:layout_centerVertical="true"
android:src="@mipmap/ic_teacher_male" />
<TextView
android:id="@+id/tv_teacher"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="15dp"
android:textColor="#333333"
android:textSize="16dp" />
</RelativeLayout>
<Button
android:id="@+id/btn_next"
android:layout_width="180dp"
android:layout_height="40dp"
android:layout_marginTop="560dp"
android:background="@drawable/bg_solid_btn_grad"
android:text="申请绑定"
android:textColor="#999999"
android:textSize="16dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>