lmw
2023-06-06 7a563b559c48b9b339784c25fc5f0adc2ab5154e
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
<?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="@color/white">
 
    <RelativeLayout
        android:id="@+id/rl_content"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="1dp"
        android:background="@color/white"
        android:focusable="true"
        android:focusableInTouchMode="true"
        app:layout_constraintTop_toTopOf="parent">
 
        <TextView
            android:id="@+id/tv_phone"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="12dp"
            android:layout_marginTop="21dp"
            android:text="设置密码需先验证您的手机号"
            android:textColor="@color/textColor"
            android:textSize="12sp" />
 
        <TextView
            android:id="@+id/tv_get_code"
            android:layout_width="100dp"
            android:layout_height="wrap_content"
            android:layout_alignBaseline="@id/et_code"
            android:layout_alignParentEnd="true"
            android:layout_marginEnd="12dp"
            android:layout_marginBottom="10dp"
            android:gravity="end"
            android:paddingStart="9dp"
            android:paddingTop="7dp"
            android:paddingBottom="7dp"
            android:text="获取验证码"
            android:textColor="@color/selector_orange_grey"
            android:textSize="12sp" />
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="验证码"
            style="@style/style_common_text"
            android:id="@+id/tv_title"
            android:layout_marginStart="14dp"
            android:layout_alignBaseline="@id/et_code"/>
        <EditText
            android:id="@+id/et_code"
            style="@style/style_common_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/tv_phone"
            android:layout_marginTop="9dp"
            android:layout_toStartOf="@id/tv_get_code"
            android:layout_toEndOf="@id/tv_title"
            android:layout_marginStart="22dp"
            android:background="@color/white"
            android:drawablePadding="18dp"
            android:hint="请输入短信验证码"
            android:inputType="number"
            android:maxLength="4"
            android:paddingTop="12dp"
            android:paddingBottom="12dp" />
 
        <View
            android:layout_width="match_parent"
            android:layout_height="1px"
            android:layout_below="@id/tv_get_code"
            android:layout_marginStart="14dp"
            android:layout_marginEnd="14dp"
            android:background="@color/dividing_line_color" />
    </RelativeLayout>
 
    <TextView
        android:id="@+id/tv_action"
        style="@style/style_tv_action"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="下一步"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginBottom="15dp"/>
</androidx.constraintlayout.widget.ConstraintLayout>