forked from Tencent/APIJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpassword_activity.xml
More file actions
172 lines (136 loc) · 5.9 KB
/
password_activity.xml
File metadata and controls
172 lines (136 loc) · 5.9 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/activity_page" >
<RelativeLayout style="@style/topbar_bg" >
<ImageView style="@style/topbar_return_img" />
<TextView
style="@style/topbar_title"
android:text="注册" />
</RelativeLayout>
<View
style="@style/divider_horizontal_1px"
android:layout_marginTop="@dimen/common_item_distance" />
<LinearLayout style="@style/edit_item" >
<TextView
style="@style/edit_item_left_tv"
android:text="手机号" />
<EditText
android:id="@+id/etPasswordPhone"
style="@style/edit_item_right_et"
android:layout_width="match_parent"
android:layout_weight="1"
android:hint="请输入手机号码"
android:imeOptions="actionNext"
android:inputType="phone"
android:maxLength="11" />
<ImageView
android:id="@+id/ivPasswordPhoneClear"
style="@style/edit_item_right_clear" />
</LinearLayout>
<LinearLayout style="@style/ll_horizontal_match_wrap" >
<View
style="@style/divider_horizontal_1dp"
android:layout_width="@dimen/common_item_left_tv_padding"
android:background="@color/white" />
</LinearLayout>
<LinearLayout style="@style/edit_item" >
<TextView
style="@style/edit_item_left_tv"
android:text="验证码" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="horizontal" >
<EditText
android:id="@+id/etPasswordVerify"
style="@style/edit_item_right_et"
android:layout_weight="1"
android:hint="请输入验证码"
android:imeOptions="actionNext"
android:inputType="number"
android:maxLength="6" />
<ImageView
android:id="@+id/ivPasswordVerifyClear"
style="@style/edit_item_right_clear" />
<LinearLayout
style="@style/ll_horizontal_wrap_wrap"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginRight="@dimen/common_item_right_img_padding_right"
android:background="@drawable/btn_blue_selector"
android:gravity="center"
android:paddingLeft="2.5dp"
android:paddingRight="2.5dp" >
<ProgressBar
android:id="@+id/pbPasswordGettingVerify"
style="?android:attr/progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone" />
<TextView
android:id="@+id/btnPasswordGetVerify"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:gravity="center"
android:singleLine="true"
android:text="获取验证码"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
<View style="@style/blank_item" />
<LinearLayout
android:id="@+id/llPasswordPassword"
style="@style/ll_vertical_match_wrap" >
<View style="@style/divider_horizontal_1px" />
<LinearLayout style="@style/edit_item" >
<TextView
style="@style/edit_item_left_tv"
android:text="登录密码" />
<EditText
android:id="@+id/etPasswordPassword0"
style="@style/edit_item_right_et"
android:layout_weight="1"
android:hint="请输入密码(6-16位)"
android:imeOptions="actionNext"
android:inputType="textPassword" />
<ImageView
android:id="@+id/ivPasswordPassword0Clear"
style="@style/edit_item_right_clear" />
</LinearLayout>
<LinearLayout style="@style/ll_horizontal_match_wrap" >
<View
style="@style/divider_horizontal_1dp"
android:layout_width="@dimen/common_item_left_tv_padding"
android:background="@color/white" />
</LinearLayout>
<LinearLayout style="@style/edit_item" >
<TextView
style="@style/edit_item_left_tv"
android:text="确认密码" />
<EditText
android:id="@+id/etPasswordPassword1"
style="@style/edit_item_right_et"
android:layout_weight="1"
android:hint="请再次输入密码确认"
android:imeOptions="actionDone"
android:inputType="textPassword" />
<ImageView
android:id="@+id/ivPasswordPassword1Clear"
style="@style/edit_item_right_clear" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
</LinearLayout>
<RelativeLayout style="@style/match_wrap" >
<Button
android:id="@+id/btnPasswordNext"
style="@style/btn_blue_middle"
android:layout_marginLeft="@dimen/margin_middle"
android:layout_marginRight="@dimen/margin_middle"
android:layout_marginTop="30dp"
android:text="下一步" />
</RelativeLayout>
</LinearLayout>