<?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:background="@color/white"
|
android:orientation="vertical">
|
|
<View
|
android:id="@+id/v_status_bar"
|
android:layout_width="match_parent"
|
android:layout_height="15dp" />
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1">
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
|
<FrameLayout
|
android:id="@+id/fl_nav"
|
android:layout_width="match_parent"
|
android:layout_height="48dp"
|
android:background="@color/transparent">
|
|
<TextView
|
android:id="@+id/login_tv_cancel"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:drawableLeft="@drawable/ic_login_close"
|
android:gravity="center_vertical"
|
android:padding="19dp"
|
android:text="返回"
|
android:textColor="@color/white"
|
android:textSize="16sp" />
|
|
|
</FrameLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/ll_login_content"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginLeft="50dp"
|
android:layout_marginTop="120dp"
|
android:layout_marginRight="50dp"
|
android:focusable="true"
|
android:focusableInTouchMode="true"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingTop="12dp"
|
android:paddingBottom="12dp">
|
|
<ImageView
|
android:layout_width="18dp"
|
android:layout_height="wrap_content"
|
android:src="@drawable/icon_login_account"></ImageView>
|
|
<EditText
|
android:id="@+id/et_name"
|
style="@style/loginInputStyle"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="18dp"
|
android:background="@null"
|
android:digits="@string/rule_email"
|
android:hint="请输入您的邮箱"
|
android:inputType="textEmailAddress" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/cut_line"></View>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingTop="12dp"
|
android:paddingBottom="12dp">
|
|
<ImageView
|
android:layout_width="18dp"
|
android:layout_height="wrap_content"
|
android:src="@drawable/icon_login_password"></ImageView>
|
|
<EditText
|
android:id="@+id/et_pwd"
|
style="@style/loginInputStyle"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="18dp"
|
android:background="@null"
|
android:digits="@string/rule_password"
|
android:hint="请输入密码"
|
android:inputType="textPassword" />
|
</LinearLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/cut_line"></View>
|
</LinearLayout>
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp">
|
|
|
<TextView
|
android:id="@+id/tv_register"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="注册帐号"
|
android:textColor="@color/theme"
|
android:textSize="12sp" />
|
|
|
<TextView
|
android:id="@+id/tv_forget_pwd"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="right"
|
android:text="忘记密码"
|
android:textColor="@color/theme"
|
android:textSize="12sp" />
|
|
</FrameLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="55dp"
|
android:orientation="horizontal">
|
|
|
<TextView
|
android:id="@+id/tv_login"
|
android:layout_width="match_parent"
|
android:layout_height="39dp"
|
android:background="@color/theme"
|
android:gravity="center"
|
android:paddingLeft="14dp"
|
android:paddingRight="14dp"
|
android:text="登录"
|
android:textColor="@color/white"
|
android:textSize="17sp" />
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"></View>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginBottom="14dp"
|
android:gravity="center_horizontal"
|
android:orientation="horizontal">
|
|
<CheckBox
|
android:id="@+id/cb_user_agreement"
|
android:layout_width="15dp"
|
android:layout_height="15dp"
|
android:layout_gravity="center_vertical"
|
android:background="@drawable/selector_user_agreement_checkbox"
|
android:button="@null"
|
android:gravity="center" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6.5dp"
|
android:text="勾选表示同意 "
|
android:textColor="#FF999999"
|
android:textSize="11sp" />
|
|
<TextView
|
android:id="@+id/tv_user_agreement"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/user_agreement"
|
android:textColor="@color/theme"
|
android:textSize="11sp" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text=" 和 "
|
android:textColor="#FF999999"
|
android:textSize="11sp" />
|
|
<TextView
|
android:id="@+id/tv_privacy_policy"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/privacy_policy"
|
android:textColor="@color/theme"
|
android:textSize="11sp" />
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
</FrameLayout>
|
</LinearLayout>
|