|
@@ -1,6 +1,100 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:orientation="vertical" android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/default_bg">
|
|
|
+
|
|
|
+ <include layout="@layout/view_title"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:background="@color/white">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/company_20dp"
|
|
|
+ android:layout_height="@dimen/company_20dp"
|
|
|
+ android:src="@drawable/password_left_older"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/default_content_margin"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/edit_username"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
+ android:padding="@dimen/default_content_margin"
|
|
|
+ android:layout_marginLeft="@dimen/company_5dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:inputType="textPassword"
|
|
|
+ android:hint="请输入用户名"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <include layout="@layout/view_default_line"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:background="@color/white">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/company_20dp"
|
|
|
+ android:layout_height="@dimen/company_20dp"
|
|
|
+ android:src="@drawable/password_left"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/default_content_margin"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/edit_pswwword"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
+ android:padding="@dimen/default_content_margin"
|
|
|
+ android:layout_marginLeft="@dimen/company_5dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:inputType="textPassword"
|
|
|
+ android:hint="请输入密码"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <include layout="@layout/view_default_line"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:background="@color/white">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/company_20dp"
|
|
|
+ android:layout_height="@dimen/company_20dp"
|
|
|
+ android:src="@drawable/password_left"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/default_content_margin"/>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/edit_pswwword_again"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
+ android:padding="@dimen/default_content_margin"
|
|
|
+ android:layout_marginLeft="@dimen/company_5dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:inputType="textPassword"
|
|
|
+ android:hint="请再输入一次密码"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_login"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
+ android:layout_marginTop="@dimen/company_20dp"
|
|
|
+ android:layout_margin="@dimen/default_content_margin"
|
|
|
+ android:background="@drawable/shape_default_btn_bg"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/company_16sp"
|
|
|
+ android:text="保存"/>
|
|
|
|
|
|
</LinearLayout>
|