reset_password_view.xml
6.0 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
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
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center">
<LinearLayout
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="@drawable/main_card_bg"
android:gravity="center"
android:orientation="vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:weightSum="5">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical">
<ImageButton
android:id="@+id/back_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="4dp"
android:src="@drawable/ic_back" />
</LinearLayout>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:text="找回密码"
android:textAlignment="center"
android:textSize="18sp" />
<Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp">
<EditText
android:id="@+id/mobile_et"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/text_input_bg"
android:drawableStart="@drawable/ic_mobile"
android:drawablePadding="16dp"
android:hint="请输入手机号码"
android:imeOptions="actionNext"
android:inputType="phone"
android:maxLines="1"
android:paddingTop="12dp"
android:paddingBottom="12dp"/>
<EditText
android:id="@+id/new_password_et"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/text_input_bg"
android:drawableStart="@drawable/ic_lock"
android:drawablePadding="16dp"
android:hint="请输入6~16位新密码"
android:imeOptions="actionNext"
android:inputType="textPassword"
android:maxLines="1"
android:paddingTop="12dp"
android:paddingBottom="12dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/text_input_bg"
android:orientation="horizontal">
<EditText
android:id="@+id/mobile_code_et"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:color/transparent"
android:drawableStart="@drawable/ic_shield"
android:drawablePadding="16dp"
android:hint="请输入验证码"
android:imeOptions="actionDone"
android:inputType="textPassword"
android:maxLines="1"
android:paddingTop="12dp"
android:paddingBottom="12dp"/>
<Button
android:id="@+id/send_code_btn"
style="@style/sendSmsCodeButton"
android:layout_width="90dp"
android:layout_height="wrap_content"
android:enabled="false"
android:includeFontPadding="false"
android:minHeight="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="获取验证码"
android:textSize="12sp" />
</LinearLayout>
<Button
android:id="@+id/confirm_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:text="提交"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</FrameLayout>