<?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:id="@+id/tv_title"
|
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="174dp"
|
android:layout_marginRight="50dp"
|
android:focusable="true"
|
android:focusableInTouchMode="true"
|
android:gravity="left"
|
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_phone"></ImageView>
|
|
<EditText
|
android:id="@+id/et_phone"
|
style="@style/loginInputStyle"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="15dp"
|
android:hint="请输入您的手机号"
|
android:inputType="phone" />
|
</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"
|
style="@style/loginInputStyle"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="12dp"
|
android:layout_weight="1"
|
android:digits="@string/rule_number"
|
android:hint="请输入您的验证码"
|
android:inputType="number" />
|
|
<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="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="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="10dp"
|
android:layout_marginBottom="18dp"
|
android:gravity="left"
|
android:orientation="horizontal">
|
|
|
<CheckBox
|
android:padding="10dp"
|
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"
|
android:visibility="visible" />
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/tv_user_agreement_text"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="6.5dp"
|
android:text="勾选即代表同意"
|
android:textColor="#B3B8D3"
|
android:textSize="11sp" />
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
|
<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>
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center">
|
|
<TextView
|
android:id="@+id/tv_login_onekey"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:padding="5dp"
|
android:text="本机号码一键登录"
|
android:textColor="@color/login_other_login_text_color"
|
android:textSize="11sp">
|
|
|
</TextView>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</LinearLayout>
|