|
@@ -0,0 +1,111 @@
|
|
|
|
+<?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">
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:paddingLeft="@dimen/default_content_margin"
|
|
|
|
+ android:paddingTop="@dimen/default_content_margin"
|
|
|
|
+ android:paddingRight="@dimen/default_content_margin">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_cancel"
|
|
|
|
+ android:layout_width="@dimen/company_20dp"
|
|
|
|
+ android:layout_height="@dimen/company_20dp"
|
|
|
|
+ android:src="@drawable/login_cancel_icon" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_login"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
+ android:text="登录"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:textSize="@dimen/company_18sp" />
|
|
|
|
+
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="@dimen/company_30dp"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="62dp"
|
|
|
|
+ android:layout_height="62dp"
|
|
|
|
+ android:src="@drawable/logo" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="@dimen/company_6dp"
|
|
|
|
+ android:text="仕 途 网"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:textSize="@dimen/company_18sp"
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:layout_marginLeft="@dimen/default_content_margin"
|
|
|
|
+ android:layout_marginRight="@dimen/default_content_margin">
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/edit_username"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
|
+ android:layout_marginTop="@dimen/company_10dp"
|
|
|
|
+ android:background="@drawable/shapre_default_edit_bg"
|
|
|
|
+ android:hint="请输入您的用户名"
|
|
|
|
+ android:maxLines="1"
|
|
|
|
+ android:textCursorDrawable="@null"
|
|
|
|
+ android:textSize="@dimen/company_14sp" />
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/edit_password"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
|
+ android:layout_marginTop="@dimen/company_10dp"
|
|
|
|
+ android:background="@drawable/shapre_default_edit_bg"
|
|
|
|
+ android:hint="请输入密码"
|
|
|
|
+ android:maxLines="1"
|
|
|
|
+ android:textCursorDrawable="@null"
|
|
|
|
+ android:textSize="@dimen/company_14sp"
|
|
|
|
+ android:inputType="textPassword"/>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/edit_password_again"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
|
+ android:layout_marginTop="@dimen/company_10dp"
|
|
|
|
+ android:background="@drawable/shapre_default_edit_bg"
|
|
|
|
+ android:hint="请再次输入一次密码"
|
|
|
|
+ android:maxLines="1"
|
|
|
|
+ android:textCursorDrawable="@null"
|
|
|
|
+ android:textSize="@dimen/company_14sp"
|
|
|
|
+ android:inputType="textPassword"/>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/btn_register"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
|
+ android:layout_marginTop="@dimen/company_20dp"
|
|
|
|
+ android:layout_marginLeft="@dimen/default_content_margin"
|
|
|
|
+ android:layout_marginRight="@dimen/default_content_margin"
|
|
|
|
+ android:background="@drawable/shape_default_btn_bg"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/company_16sp"
|
|
|
|
+ android:text="注册"/>
|
|
|
|
+
|
|
|
|
+</LinearLayout>
|