<?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/page_content_bg_color"
|
android:orientation="vertical">
|
|
<include layout="@layout/view_status_bar" />
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="48dp">
|
|
<TextView
|
android:id="@+id/tv_back"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:drawableLeft="@drawable/ic_youth_back"
|
android:drawablePadding="3dp"
|
android:gravity="center_vertical"
|
android:padding="8dp"
|
android:text="返回"
|
android:textColor="@color/page_title_text_color"
|
android:textSize="16sp" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:paddingTop="6dp"
|
android:paddingBottom="6dp"
|
android:text="注册"
|
android:textColor="@color/page_title_text_color"
|
android:textSize="20sp" />
|
</FrameLayout>
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
|
<LinearLayout
|
android:id="@+id/ll_login_content"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="50dp"
|
android:layout_marginTop="50dp"
|
android:layout_marginRight="50dp"
|
android:gravity="center"
|
android:orientation="vertical">
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:background="@drawable/shape_login_input_bg"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingLeft="20dp"
|
android:paddingTop="12dp"
|
android:paddingRight="20dp"
|
android:paddingBottom="12dp">
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="18dp"
|
android:src="@drawable/icon_login_account"></ImageView>
|
|
<EditText
|
android:id="@+id/et_name"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="18dp"
|
|
android:digits="@string/rule_email"
|
android:hint="请输入账户邮箱"
|
android:inputType="textEmailAddress"
|
style="@style/loginInputStyle" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="44dp"
|
android:layout_marginTop="15dp"
|
android:background="@drawable/shape_login_input_bg"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingLeft="20dp">
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="18dp"
|
android:src="@drawable/icon_login_code"></ImageView>
|
|
<EditText
|
android:id="@+id/et_verfication_code"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="18dp"
|
android:layout_weight="1"
|
android:digits="@string/rule_password"
|
android:hint="请输入验证码"
|
android:inputType="textPassword"
|
style="@style/loginInputStyle" />
|
|
<TextView
|
android:id="@+id/tv_obtain_verfication_code"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:layout_margin="3dp"
|
android:background="@drawable/shape_login_send_code_btn"
|
android:gravity="center"
|
android:paddingLeft="15dp"
|
android:paddingRight="15dp"
|
android:text="发送验证码"
|
android:textColor="#F4DE4A"
|
android:textSize="13sp"></TextView>
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:background="@drawable/shape_login_input_bg"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingLeft="20dp"
|
android:paddingTop="12dp"
|
android:paddingRight="20dp"
|
android:paddingBottom="12dp">
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="18dp"
|
android:src="@drawable/icon_login_password"></ImageView>
|
|
<EditText
|
android:id="@+id/et_pwd"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="18dp"
|
android:background="@null"
|
android:digits="@string/rule_password"
|
android:hint="请输入您的密码"
|
style="@style/loginInputStyle" />
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="32dp"
|
android:orientation="horizontal">
|
|
|
<TextView
|
android:id="@+id/tv_confirm"
|
android:layout_width="match_parent"
|
android:layout_height="44dp"
|
android:background="@drawable/shape_login_btn"
|
android:gravity="center"
|
android:paddingLeft="14dp"
|
android:paddingRight="14dp"
|
android:text="确认"
|
android:textColor="#F4DE4A"
|
android:textSize="17sp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:layout_marginTop="8dp"
|
android:orientation="horizontal">
|
|
<CheckBox
|
android:visibility="visible"
|
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:checked="false"
|
android:gravity="center" />
|
|
|
|
<TextView
|
android:id="@+id/tv_user_agreement_click"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6.5dp"
|
android:text="勾选即代表同意"
|
android:textColor="@color/login_protocol_text_color"
|
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/login_protocol_highlight_text_color"
|
android:textSize="11sp" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="、"
|
android:textColor="@color/login_protocol_text_color"
|
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/login_protocol_highlight_text_color"
|
android:textSize="11sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
</LinearLayout>
|