<?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:orientation="vertical" >
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="48dp"
|
android:background="@color/top_bar_color" >
|
|
<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_back"
|
android:drawablePadding="3dp"
|
android:gravity="center_vertical"
|
android:padding="8dp"
|
android:text="返回"
|
android:textColor="@color/white"
|
android:textSize="16sp" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:paddingBottom="6dp"
|
android:paddingTop="6dp"
|
android:text="忘记密码"
|
android:textColor="@color/white"
|
android:textSize="20sp" />
|
</FrameLayout>
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent" >
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="30dp"
|
android:gravity="center"
|
android:orientation="vertical" >
|
|
<ImageView
|
android:id="@+id/iv_login_top"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:src="@drawable/ic_login_top" />
|
|
<LinearLayout
|
android:id="@+id/ll_login_content"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="50dp"
|
android:layout_marginRight="50dp"
|
android:orientation="vertical" >
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="40dp"
|
android:orientation="horizontal" >
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="账号:" />
|
|
<EditText
|
android:id="@+id/et_email"
|
android:layout_width="match_parent"
|
android:layout_height="30dp"
|
android:background="@null"
|
android:digits="@string/rule_email"
|
android:inputType="textEmailAddress"
|
android:paddingLeft="15dp"
|
android:paddingRight="15dp"
|
android:singleLine="true"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:layout_marginTop="6dp"
|
android:background="@color/light_gray" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="10dp"
|
android:orientation="horizontal" >
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="验证码: " />
|
|
<EditText
|
android:id="@+id/et_verfication_code"
|
android:layout_width="0dp"
|
android:layout_height="30dp"
|
android:layout_weight="1"
|
android:background="@null"
|
android:digits="0123456789"
|
android:inputType="number"
|
android:paddingLeft="15dp"
|
android:paddingRight="15dp"
|
android:singleLine="true"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/tv_obtain_verfication_code"
|
android:layout_width="wrap_content"
|
android:layout_height="30dp"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="20dp"
|
android:background="@drawable/shape_get_verify_code"
|
android:ellipsize="end"
|
android:padding="5dp"
|
android:singleLine="true"
|
android:text="获取验证码"
|
android:textColor="@color/white" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:layout_marginTop="6dp"
|
android:background="@color/light_gray" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="10dp"
|
android:orientation="horizontal" >
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="密码: " />
|
|
<EditText
|
android:id="@+id/et_pwd"
|
android:layout_width="match_parent"
|
android:layout_height="30dp"
|
android:background="@null"
|
android:digits="@string/rule_password"
|
android:inputType="textPassword"
|
android:paddingLeft="15dp"
|
android:paddingRight="15dp"
|
android:singleLine="true"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:layout_marginTop="6dp"
|
android:background="@color/light_gray" />
|
|
<TextView
|
android:id="@+id/tv_confirm"
|
android:layout_width="match_parent"
|
android:layout_height="38dp"
|
android:layout_marginTop="50dp"
|
android:background="@drawable/shape_login1"
|
android:gravity="center"
|
android:text="完成"
|
android:textColor="@color/white" />
|
</LinearLayout>
|
</LinearLayout>
|
</ScrollView>
|
|
<View
|
android:id="@+id/v_status_bar"
|
android:layout_width="match_parent"
|
android:layout_height="15dp"
|
android:background="@color/top_bar_color" />
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="48dp"
|
android:background="@color/top_bar_color" >
|
|
<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_back"
|
android:drawablePadding="3dp"
|
android:gravity="center_vertical"
|
android:padding="8dp"
|
android:text="返回"
|
android:textColor="@color/white"
|
android:textSize="16sp" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:paddingBottom="6dp"
|
android:paddingTop="6dp"
|
android:text="注册"
|
android:textColor="@color/white"
|
android:textSize="20sp" />
|
</FrameLayout>
|
|
</LinearLayout>
|