lmw
2023-05-12 f67802a41f9e01444d1115f34ecc6e1beb05fc3b
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
<?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">
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="为了能够在本平台成功打车,请完善您的手机号码"
        android:gravity="center"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginTop="14dp"
        android:textColor="@color/colorRed"
        android:id="@+id/tv_tip"/>
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        style="@style/style_common_text"
        android:text="手机号"
        android:drawablePadding="10dp"
        android:drawableStart="@mipmap/icon_login_phone"
        app:layout_constraintTop_toBottomOf="@id/tv_tip"
        android:layout_margin="23dp"
        android:id="@+id/tv_phone"/>
    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintTop_toBottomOf="@id/tv_phone"
        android:layout_marginStart="23dp"
        android:layout_marginEnd="23dp"
        android:background="@null"
        android:paddingTop="12dp"
        android:paddingBottom="8dp"
        android:hint="请输入有效手机号"
        android:id="@+id/et_phone"
        android:inputType="number"
        android:maxLength="11"
        style="@style/style_common_text"/>
    <View
        android:layout_width="0dp"
        android:layout_height="1px"
        android:background="@color/dividing_line_color"
        app:layout_constraintStart_toStartOf="@id/et_phone"
        app:layout_constraintEnd_toEndOf="@id/et_phone"
        app:layout_constraintTop_toBottomOf="@id/et_phone"/>
    <CheckedTextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        style="@style/style_common_text"
        android:text="验证码"
        android:checked="true"
        android:drawablePadding="10dp"
        android:drawableStart="@drawable/selector_ic_pwd_code"
        app:layout_constraintTop_toBottomOf="@id/et_phone"
        android:layout_margin="23dp"
        android:id="@+id/tv_code_title"/>
    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintTop_toBottomOf="@id/tv_code_title"
        android:layout_marginStart="23dp"
        android:layout_marginEnd="23dp"
        android:background="@null"
        android:paddingTop="12dp"
        android:paddingBottom="8dp"
        android:hint="请输入验证码"
        android:id="@+id/et_code"
        android:inputType="number"
        android:maxLength="4"
        style="@style/style_common_text"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/tv_code"
        app:layout_constraintBaseline_toBaselineOf="@id/et_code"
        app:layout_constraintEnd_toEndOf="@id/et_code"
        android:text="获取验证码"
        android:textColor="@color/colorPrimary"
        android:textSize="14sp"
        android:paddingTop="8dp"
        android:paddingBottom="8dp"/>
    <View
        android:layout_width="0dp"
        android:layout_height="1px"
        android:background="@color/dividing_line_color"
        app:layout_constraintStart_toStartOf="@id/et_phone"
        app:layout_constraintEnd_toEndOf="@id/et_phone"
        app:layout_constraintTop_toBottomOf="@id/et_code"/>
 
 
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/tv_action"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_margin="14dp"
        android:text="确定"
        style="@style/style_tv_action"/>
</androidx.constraintlayout.widget.ConstraintLayout>