|
27 | 27 | android:layout_gravity="center" |
28 | 28 | app:blurRadius="8" |
29 | 29 | app:downsampleFactor="16" |
30 | | - app:overlayColor="#99FFFFFF"/> |
| 30 | + app:overlayColor="#99FFFFFF" /> |
31 | 31 |
|
32 | 32 | <View |
33 | 33 | android:layout_width="match_parent" |
|
110 | 110 | app:darkness="true" /> |
111 | 111 |
|
112 | 112 | <net.coding.program.common.LoginEditText |
113 | | - android:id="@+id/editPassword" |
114 | | - android:layout_width="match_parent" |
115 | | - android:layout_height="wrap_content" |
116 | | - android:layout_marginTop="12dp" |
117 | | - android:background="@drawable/login_edit" |
118 | | - android:hint="密码" |
119 | | - android:imeOptions="actionUnspecified" |
120 | | - android:inputType="textPassword" |
121 | | - android:maxLines="1" |
122 | | - android:lines="1" |
123 | | - android:textColor="@color/font_white" |
124 | | - android:textColorHint="@color/font_white_hint" |
125 | | - android:textCursorDrawable="@null" |
126 | | - android:textSize="18sp" |
127 | | - app:dark="true"/> |
| 113 | + android:id="@+id/editPassword" |
| 114 | + android:layout_width="match_parent" |
| 115 | + android:layout_height="wrap_content" |
| 116 | + android:layout_marginTop="12dp" |
| 117 | + android:background="@drawable/login_edit" |
| 118 | + android:hint="密码" |
| 119 | + android:imeOptions="actionUnspecified" |
| 120 | + android:inputType="textPassword" |
| 121 | + android:lines="1" |
| 122 | + android:maxLines="1" |
| 123 | + android:textColor="@color/font_white" |
| 124 | + android:textColorHint="@color/font_white_hint" |
| 125 | + android:textCursorDrawable="@null" |
| 126 | + android:textSize="18sp" |
| 127 | + app:dark="true" /> |
128 | 128 |
|
129 | 129 | <RelativeLayout |
130 | 130 | android:id="@+id/captchaLayout" |
|
134 | 134 | android:visibility="gone"> |
135 | 135 |
|
136 | 136 | <EditText |
137 | | - android:id="@+id/editValify" |
138 | | - android:layout_width="match_parent" |
139 | | - android:layout_height="wrap_content" |
140 | | - android:background="@drawable/login_edit" |
141 | | - android:hint="验证码" |
142 | | - android:lines="1" |
143 | | - android:textColor="@color/font_white" |
144 | | - android:textColorHint="@color/font_white_hint" |
145 | | - android:textCursorDrawable="@null" |
146 | | - android:textSize="18sp"/> |
| 137 | + android:id="@+id/editValify" |
| 138 | + android:layout_width="match_parent" |
| 139 | + android:layout_height="wrap_content" |
| 140 | + android:background="@drawable/login_edit" |
| 141 | + android:hint="验证码" |
| 142 | + android:lines="1" |
| 143 | + android:textColor="@color/font_white" |
| 144 | + android:textColorHint="@color/font_white_hint" |
| 145 | + android:textCursorDrawable="@null" |
| 146 | + android:textSize="18sp" /> |
147 | 147 |
|
148 | 148 | <ImageView |
149 | 149 | android:id="@+id/imageValify" |
|
174 | 174 |
|
175 | 175 |
|
176 | 176 | <net.coding.program.common.LoginEditText |
177 | | - android:id="@+id/edit2FA" |
178 | | - android:layout_width="match_parent" |
179 | | - android:layout_height="wrap_content" |
180 | | - android:layout_marginTop="12dp" |
181 | | - android:background="@drawable/login_edit" |
182 | | - android:hint="输入动态验证码" |
183 | | - android:imeOptions="actionUnspecified" |
184 | | - android:inputType="number" |
185 | | - android:maxLines="1" |
186 | | - android:lines="1" |
187 | | - android:textColor="@color/font_white" |
188 | | - android:textColorHint="@color/font_white_hint" |
189 | | - android:textCursorDrawable="@null" |
190 | | - android:textSize="18sp" |
191 | | - app:dark="true"/> |
| 177 | + android:id="@+id/edit2FA" |
| 178 | + android:layout_width="match_parent" |
| 179 | + android:layout_height="wrap_content" |
| 180 | + android:layout_marginTop="12dp" |
| 181 | + android:background="@drawable/login_edit" |
| 182 | + android:hint="输入动态验证码" |
| 183 | + android:imeOptions="actionUnspecified" |
| 184 | + android:inputType="number" |
| 185 | + android:lines="1" |
| 186 | + android:maxLines="1" |
| 187 | + android:textColor="@color/font_white" |
| 188 | + android:textColorHint="@color/font_white_hint" |
| 189 | + android:textCursorDrawable="@null" |
| 190 | + android:textSize="18sp" |
| 191 | + app:dark="true" /> |
192 | 192 | </LinearLayout> |
193 | 193 |
|
194 | 194 |
|
|
210 | 210 |
|
211 | 211 |
|
212 | 212 | <RelativeLayout |
213 | | - |
214 | 213 | android:layout_width="match_parent" |
215 | 214 | android:layout_height="0dp" |
216 | 215 | android:layout_weight="1"> |
217 | 216 |
|
218 | 217 | <TextView |
219 | | - android:id="@+id/loginFail" |
220 | | - android:layout_width="100dp" |
| 218 | + android:layout_width="wrap_content" |
221 | 219 | android:layout_height="50dp" |
222 | 220 | android:layout_alignParentTop="true" |
223 | 221 | android:layout_centerHorizontal="true" |
| 222 | + android:drawableLeft="@drawable/ic_login_wexin" |
| 223 | + android:drawablePadding="8dp" |
224 | 224 | android:gravity="center" |
225 | | - android:text="找回密码" |
| 225 | + android:id="@+id/loginWeixin" |
| 226 | + android:text="使用微信登录" |
226 | 227 | android:textColor="@color/font_white" |
227 | 228 | android:textSize="16sp" /> |
228 | 229 |
|
229 | | - <TextView |
230 | | - android:id="@+id/register" |
231 | | - android:layout_width="80dp" |
| 230 | + <LinearLayout |
| 231 | + android:layout_width="match_parent" |
232 | 232 | android:layout_height="50dp" |
233 | 233 | android:layout_alignParentBottom="true" |
234 | 234 | android:layout_centerHorizontal="true" |
| 235 | + android:layout_gravity="center_horizontal" |
235 | 236 | android:layout_marginBottom="21dp" |
236 | | - android:gravity="center" |
237 | | - android:text="去注册" |
238 | | - android:textColor="@color/font_white" |
239 | | - android:textSize="16sp" /> |
| 237 | + android:gravity="center_horizontal" |
| 238 | + android:orientation="horizontal"> |
| 239 | + |
| 240 | + <TextView |
| 241 | + android:id="@+id/loginFail" |
| 242 | + android:layout_width="80dp" |
| 243 | + android:layout_height="50dp" |
| 244 | + android:gravity="center" |
| 245 | + android:text="找回密码" |
| 246 | + android:textColor="#CCFFFFFF" |
| 247 | + android:textSize="16sp" /> |
240 | 248 |
|
| 249 | + <View |
| 250 | + android:layout_width="1dp" |
| 251 | + android:layout_height="15dp" |
| 252 | + android:layout_gravity="center_vertical" |
| 253 | + android:background="#CCFFFFFF" /> |
| 254 | + |
| 255 | + <TextView |
| 256 | + android:id="@+id/register" |
| 257 | + android:layout_width="80dp" |
| 258 | + android:layout_height="50dp" |
| 259 | + android:gravity="center" |
| 260 | + android:text="注册帐号" |
| 261 | + android:textColor="#CCFFFFFF" |
| 262 | + android:textSize="16sp" /> |
| 263 | + |
| 264 | + </LinearLayout> |
241 | 265 |
|
242 | 266 | </RelativeLayout> |
243 | 267 |
|
|
0 commit comments