|
@@ -19,8 +19,8 @@
|
|
|
android:id="@+id/for_account_pwd_container"
|
|
android:id="@+id/for_account_pwd_container"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:visibility="gone"
|
|
|
|
|
- android:layout_below="@+id/top_bar">
|
|
|
|
|
|
|
+ android:layout_below="@+id/top_bar"
|
|
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/user_name_box"
|
|
android:id="@+id/user_name_box"
|
|
@@ -39,18 +39,18 @@
|
|
|
android:hint="输入密码(6-16位)"
|
|
android:hint="输入密码(6-16位)"
|
|
|
android:inputType="textPassword"
|
|
android:inputType="textPassword"
|
|
|
android:maxLength="16"
|
|
android:maxLength="16"
|
|
|
- android:paddingLeft="@dimen/content_padding_5"/>
|
|
|
|
|
|
|
+ android:paddingLeft="@dimen/content_padding_5" />
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
android:id="@+id/show_hide_pwd_btn"
|
|
android:id="@+id/show_hide_pwd_btn"
|
|
|
- android:src="@mipmap/pwd_hide"
|
|
|
|
|
- android:layout_marginTop="26dp"
|
|
|
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
android:layout_below="@+id/user_name_box"
|
|
android:layout_below="@+id/user_name_box"
|
|
|
- android:tint="@color/bg_line"
|
|
|
|
|
|
|
+ android:layout_marginTop="26dp"
|
|
|
android:padding="7dp"
|
|
android:padding="7dp"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
- android:layout_height="30dp" />
|
|
|
|
|
|
|
+ android:src="@mipmap/pwd_hide"
|
|
|
|
|
+ android:tint="@color/bg_line" />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
style="@style/login_separetor_line_style"
|
|
style="@style/login_separetor_line_style"
|
|
@@ -69,14 +69,15 @@
|
|
|
android:hint="输入手机号"
|
|
android:hint="输入手机号"
|
|
|
android:inputType="phone"
|
|
android:inputType="phone"
|
|
|
android:maxLength="11" />
|
|
android:maxLength="11" />
|
|
|
|
|
+
|
|
|
<View
|
|
<View
|
|
|
style="@style/login_separetor_line_style"
|
|
style="@style/login_separetor_line_style"
|
|
|
android:layout_below="@+id/phone_number_box" />
|
|
android:layout_below="@+id/phone_number_box" />
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/captcha_box"
|
|
android:id="@+id/captcha_box"
|
|
|
- android:layout_below="@+id/phone_number_box"
|
|
|
|
|
style="@style/login_edit_style"
|
|
style="@style/login_edit_style"
|
|
|
|
|
+ android:layout_below="@+id/phone_number_box"
|
|
|
android:hint="输入验证码"
|
|
android:hint="输入验证码"
|
|
|
android:inputType="phone"
|
|
android:inputType="phone"
|
|
|
android:maxLength="6" />
|
|
android:maxLength="6" />
|
|
@@ -89,24 +90,24 @@
|
|
|
android:id="@+id/send_captcha_btn"
|
|
android:id="@+id/send_captcha_btn"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="25dp"
|
|
android:layout_height="25dp"
|
|
|
- android:background="@drawable/round_main_r25"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_below="@+id/phone_number_box"
|
|
android:layout_below="@+id/phone_number_box"
|
|
|
android:layout_marginTop="28dp"
|
|
android:layout_marginTop="28dp"
|
|
|
|
|
+ android:background="@drawable/round_main_r25"
|
|
|
|
|
+ android:text="获取验证码"
|
|
|
android:textColor="@android:color/white"
|
|
android:textColor="@android:color/white"
|
|
|
- android:textSize="12sp"
|
|
|
|
|
- android:text="获取验证码" />
|
|
|
|
|
|
|
+ android:textSize="12sp" />
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
android:id="@+id/account_menu_btn"
|
|
android:id="@+id/account_menu_btn"
|
|
|
- android:src="@mipmap/arrow_down"
|
|
|
|
|
- android:tint="@color/black_6_3"
|
|
|
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
|
+ android:layout_height="30dp"
|
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_marginTop="120dp"
|
|
android:layout_marginTop="120dp"
|
|
|
android:padding="8dp"
|
|
android:padding="8dp"
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
- android:layout_height="30dp" />
|
|
|
|
|
|
|
+ android:src="@mipmap/arrow_down"
|
|
|
|
|
+ android:tint="@color/black_6_3" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/trouble_btn"
|
|
android:id="@+id/trouble_btn"
|
|
@@ -116,8 +117,8 @@
|
|
|
android:layout_below="@id/top_bar"
|
|
android:layout_below="@id/top_bar"
|
|
|
android:layout_marginTop="130dp"
|
|
android:layout_marginTop="130dp"
|
|
|
android:text="登录遇到问题?"
|
|
android:text="登录遇到问题?"
|
|
|
- android:textSize="12sp"
|
|
|
|
|
- android:textColor="@color/blue_34a6e7" />
|
|
|
|
|
|
|
+ android:textColor="@color/blue_34a6e7"
|
|
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
|
|
<Button
|
|
<Button
|
|
|
android:id="@+id/login_btn"
|
|
android:id="@+id/login_btn"
|
|
@@ -130,98 +131,14 @@
|
|
|
android:id="@+id/register_btn"
|
|
android:id="@+id/register_btn"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_below="@+id/login_btn"
|
|
android:layout_below="@+id/login_btn"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginTop="16dp"
|
|
|
android:text="新用户注册"
|
|
android:text="新用户注册"
|
|
|
- android:textSize="12sp"
|
|
|
|
|
- android:textColor="@color/blue_34a6e7" />
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:layout_marginBottom="16dp"
|
|
|
|
|
- android:layout_above="@+id/thirdpart_login_container"
|
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
|
+ android:textColor="@color/blue_34a6e7"
|
|
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
|
|
- <View
|
|
|
|
|
- android:background="@color/G"
|
|
|
|
|
- style="@style/login_separetor_line_style"
|
|
|
|
|
- android:layout_width="20dp"/>
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
|
- android:layout_marginBottom="2dp"
|
|
|
|
|
- android:textSize="13sp"
|
|
|
|
|
- android:text="or"
|
|
|
|
|
- android:textColor="@color/G" />
|
|
|
|
|
-
|
|
|
|
|
- <View
|
|
|
|
|
- style="@style/login_separetor_line_style"
|
|
|
|
|
- android:background="@color/G"
|
|
|
|
|
- android:layout_width="20dp"/>
|
|
|
|
|
-
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/thirdpart_login_container"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:paddingLeft="20dp"
|
|
|
|
|
- android:paddingRight="20dp"
|
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/login_type_toggle"
|
|
|
|
|
- style="@style/login_type_btn">
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/login_type_toggle_icon"
|
|
|
|
|
- style="@style/login_type_icon"
|
|
|
|
|
- android:src="@mipmap/login_account" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/login_type_toggle_text"
|
|
|
|
|
- android:text="账号登录"
|
|
|
|
|
- style="@style/login_type_text" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/qq_login_btn"
|
|
|
|
|
- style="@style/login_type_btn">
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- style="@style/login_type_icon"
|
|
|
|
|
- android:src="@mipmap/login_qq" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:text="QQ"
|
|
|
|
|
- style="@style/login_type_text" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/wx_login_btn"
|
|
|
|
|
- style="@style/login_type_btn">
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- style="@style/login_type_icon"
|
|
|
|
|
- android:src="@mipmap/login_wx" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:text="微信"
|
|
|
|
|
- style="@style/login_type_text"/>
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ <include layout="@layout/footer_thirdpart_login" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/test_change"
|
|
android:id="@+id/test_change"
|