activity_changepsword.xml
3.96 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffffff"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/login_text_blue"
android:minHeight="50dp">
<ImageView
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:src="@mipmap/title_back" />
<TextView
android:id="@+id/menu_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="修改密码"
android:textColor="@android:color/white"
android:textSize="22sp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/title"
android:background="#ffffffff"
android:orientation="vertical"
android:paddingLeft="250dp"
android:paddingRight="250dp">
<RelativeLayout
android:id="@+id/pwd_rl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="100dp">
<EditText
android:id="@+id/et_oldpassword"
style="@style/login_register_edit_style"
android:hint="输入原密码"
android:inputType="textPassword" />
</RelativeLayout>
<TextView
android:id="@+id/oldpassword_error_hint"
style="@style/registererrhint_style"
android:layout_below="@id/pwd_rl" />
<RelativeLayout
android:id="@+id/et_newpassworda"
android:layout_width="match_parent"
android:layout_below="@id/pwd_rl"
android:layout_marginTop="30dp"
android:layout_height="wrap_content">
<EditText
android:id="@+id/et_newpassword"
style="@style/login_register_edit_style"
android:hint="密码为英文和数字组成,最少8位"
android:inputType="textPassword" />
<ImageView
android:id="@+id/iv_pwd_change"
android:padding="10dp"
android:layout_width="40dp"
android:layout_marginRight="10dp"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:src="@mipmap/pwd_hide" />
</RelativeLayout>
<TextView
android:id="@+id/newpassword_error_hint"
style="@style/registererrhint_style"
android:layout_below="@id/et_newpassworda" />
<EditText
android:id="@+id/et_again_newpassword"
style="@style/login_register_edit_style"
android:layout_below="@id/et_newpassworda"
android:layout_marginTop="30dp"
android:hint="再次输入新密码"
android:inputType="textPassword" />
<TextView
android:id="@+id/again_newpassword_error_hint"
style="@style/registererrhint_style"
android:layout_below="@id/et_again_newpassword" />
<Button
android:id="@+id/btn_ok"
style="@style/button_login_register_style"
android:layout_below="@id/et_again_newpassword"
android:layout_marginTop="30dp"
android:text="确 定" />
</RelativeLayout>
</RelativeLayout>