activity_electroniccard_validation.xml
6.11 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
<?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="@mipmap/main_bg"
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="@string/string_electroniccard_info_title"
android:textColor="@android:color/white"
android:textSize="22sp" />
</RelativeLayout>
<LinearLayout
android:layout_width="550dp"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="@drawable/white_cycle_bg"
android:orientation="vertical"
android:paddingLeft="30dp"
android:paddingRight="30dp">
<ImageView
android:id="@+id/iv_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="15dp"
android:src="@mipmap/logo" />
<LinearLayout
android:id="@+id/activation_code_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="@drawable/input_bg"
android:layout_marginTop="20dp"
android:paddingRight="10dp"
android:visibility="gone"
android:orientation="horizontal">
<EditText
android:id="@+id/activation_code"
style="@style/login_register_edit_style"
android:hint="请输入注册激活码"
android:maxLength="11"
android:inputType="phone" />
<ImageButton
android:id="@+id/activation_code_delete_btn"
android:layout_width="50dp"
android:layout_height="match_parent"
android:src="@mipmap/delete_btn"
android:visibility="invisible"
android:background="@null"/>
</LinearLayout>
<LinearLayout
android:id="@+id/et_phonenumber_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="@drawable/input_bg"
android:layout_marginTop="30dp"
android:paddingRight="10dp"
android:orientation="horizontal">
<EditText
android:id="@+id/et_phonenumber"
style="@style/login_register_edit_style"
android:hint="手机号"
android:maxLength="11"
android:inputType="phone" />
<ImageButton
android:id="@+id/phone_delete_btn"
android:layout_width="50dp"
android:layout_height="match_parent"
android:src="@mipmap/delete_btn"
android:visibility="invisible"
android:background="@null"/>
</LinearLayout>
<LinearLayout
android:id="@+id/rl_authcode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/et_phonenumber_layout"
android:layout_marginTop="30dp"
android:paddingRight="7dp"
android:visibility="gone"
android:background="@drawable/input_bg"
android:orientation="horizontal">
<EditText
android:id="@+id/et_authcode"
style="@style/login_register_edit_rect_style"
android:layout_marginRight="-4px"
android:layout_weight="1"
android:hint="验证码"
android:maxLength="6"
android:numeric="integer" />
<ImageButton
android:id="@+id/code_delete_btn"
android:layout_width="50dp"
android:layout_height="match_parent"
android:src="@mipmap/delete_btn"
android:visibility="invisible"
android:background="@null"/>
<Button
android:id="@+id/btn_authcode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?android:attr/borderlessButtonStyle"
android:layout_weight="2"
android:text="获取验证码"
android:maxLines="1"
android:background="@drawable/code_bg"
android:textSize="18sp"
android:padding="8dp"
android:textColor="@color/login_text_blue" />
</LinearLayout>
<TextView
android:id="@+id/authcode_error_hint"
style="@style/registererrhint_style"
android:layout_below="@id/rl_authcode" />
<TextView
android:id="@+id/password_error_hint"
style="@style/registererrhint_style"
android:layout_below="@id/pwd_rl" />
<Button
android:id="@+id/btn_card_valiyanzhen"
style="@style/button_login_register_style"
android:layout_below="@id/rl_authcode"
android:layout_marginTop="30dp"
android:layout_marginBottom="40dp"
android:text="@string/string_regist_next" />
</LinearLayout>
</RelativeLayout>