lmw
2024-06-18 1f45a54dc8e149548d3a61d1228741627aa4f23e
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
<?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:focusable="true"
    android:focusableInTouchMode="true"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <ImageView
        android:id="@+id/iv_bg"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="19dp"
        android:scaleType="centerCrop"
        android:src="@mipmap/logo"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/et_phone"
        app:layout_constraintTop_toBottomOf="@id/iv_bg"
        android:layout_marginTop="39dp"
        android:layout_marginHorizontal="40dp"
        android:hint="请输入手机号"
        android:drawableStart="@mipmap/i_phone"
        android:inputType="number"
        android:maxLength="11"
        style="@style/style_et_focus"/>
    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/et_code"
        app:layout_constraintTop_toBottomOf="@id/et_phone"
        android:layout_marginTop="20dp"
        android:layout_marginHorizontal="40dp"
        android:hint="请输入验证码"
        android:inputType="number"
        android:drawableStart="@mipmap/v_code"
        android:maxLength="6"
        style="@style/style_et_focus"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:id="@+id/tv_code"
        app:layout_constraintBaseline_toBaselineOf="@id/et_code"
        app:layout_constraintEnd_toEndOf="@id/et_code"
        android:padding="12dp"
        android:textSize="12sp"
        android:text="获取验证码"
        android:textColor="@color/colorBlue"/>
    <EditText
        android:id="@+id/et_pwd"
        style="@style/style_et_focus"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="20dp"
        android:layout_marginHorizontal="40dp"
        android:drawableStart="@mipmap/i_pwd"
        android:hint="请输入密码"
        android:inputType="textPassword"
        android:maxLength="20"
        app:layout_constraintTop_toBottomOf="@id/et_code" />
    <CheckBox
        android:layout_width="38dp"
        android:layout_height="38dp"
        app:layout_constraintBaseline_toBaselineOf="@id/et_pwd"
        app:layout_constraintEnd_toEndOf="@id/et_pwd"
        android:gravity="center"
        android:id="@+id/cb_pwd_visible"
        android:button="@drawable/selector_pwd_visible"/>
 
    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/et_reject_phone"
        app:layout_constraintTop_toBottomOf="@id/et_pwd"
        android:layout_marginTop="20dp"
        android:layout_marginHorizontal="40dp"
        android:hint="推广手机号(可选)"
        android:drawableStart="@mipmap/i_phone"
        android:inputType="number"
        android:visibility="gone"
        android:maxLength="11"
        style="@style/style_et_focus"/>
 
    <TextView
        android:layout_width="190dp"
        android:layout_height="wrap_content"
        style="@style/style_btn_action"
        app:layout_constraintTop_toBottomOf="@id/et_reject_phone"
        android:layout_marginTop="50dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        android:id="@+id/tv_action"
        android:text="确定"/>
 
</androidx.constraintlayout.widget.ConstraintLayout>