ht_dialog_change_pwd.xml
5.6 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/ht_title_style">
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
style="@style/ht_title_text_style"
android:text="修改密码" />
<ImageView
android:id="@+id/ht_close_img"
style="@style/ht_close_style"
android:layout_width="18dp"
android:layout_height="18dp" />
</RelativeLayout>
<ScrollView
android:layout_width="match_parent"
android:scrollbars="none"
style="@style/ht_content_style"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/ht_edittext_bg"
android:layout_marginTop="5dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:visibility="gone"
android:layout_margin="8dp"
android:background="@drawable/ht_ic_old_psd" />
<EditText
android:id="@+id/ht_change_oldpwd_et"
android:layout_width="0dp"
style="@style/ht_edittext_style"
android:background="@null"
android:layout_height="match_parent"
android:layout_weight="1"
android:digits="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_./\|+-@#$%^*"
android:hint="请输入旧密码"
android:inputType="textPassword"
android:nextFocusDown="@+id/ht_changepwd_newpwd_et" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/ht_edittext_bg"
android:layout_marginTop="10dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_margin="8dp"
android:visibility="gone"
android:background="@drawable/ht_ic_password_new" />
<EditText
android:id="@+id/ht_changepwd_newpwd_et"
style="@style/ht_edittext_style"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:digits="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_./\|+-@#$%^*"
android:background="@null"
android:hint="请输入新密码"
android:inputType="textPassword"
android:nextFocusDown="@+id/ht_changepwd_again_et" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/ht_edittext_bg"
android:layout_marginTop="10dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_margin="8dp"
android:visibility="gone"
android:background="@drawable/ht_ic_password_new_again" />
<EditText
android:id="@+id/ht_changepwd_again_et"
style="@style/ht_edittext_style"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:digits="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_./\|+-@#$%^*"
android:hint="请确认新密码"
android:background="@null"
android:inputType="textPassword" />
</LinearLayout>
<Button
android:id="@+id/ht_changepwd_confirm"
style="@style/ht_button_style"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:text="确认修改" />
</LinearLayout>
</ScrollView>
</LinearLayout>