|
@@ -1,6 +1,196 @@
|
|
|
<?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">
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@color/white">
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/company_15dp"
|
|
|
+ android:paddingTop="@dimen/company_15dp"
|
|
|
+ android:paddingRight="@dimen/company_15dp">
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <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_register"
|
|
|
+ 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>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_phone_code_login"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/company_20dp"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="手机验证码登录"
|
|
|
+ android:textColor="@color/main_color"
|
|
|
+ android:textSize="@dimen/company_14sp" />
|
|
|
+
|
|
|
+ <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_20dp"
|
|
|
+ android:background="@drawable/shapre_default_edit_bg"
|
|
|
+ android:hint="请输入登陆密码"
|
|
|
+ android:inputType="textPassword"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:textCursorDrawable="@null"
|
|
|
+ android:textSize="@dimen/company_14sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_forget_pw"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/company_20dp"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="忘记密码"
|
|
|
+ android:textColor="@color/main_color"
|
|
|
+ android:textSize="@dimen/company_14sp" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_login"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/company_50dp"
|
|
|
+ android:layout_marginTop="@dimen/company_20dp"
|
|
|
+ android:background="@drawable/shape_default_btn_bg"
|
|
|
+ android:text="登录"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/company_16sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/company_20dp"
|
|
|
+ android:layout_marginRight="@dimen/company_20dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/company_1dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:padding="@dimen/company_10dp"
|
|
|
+ android:paddingRight="@dimen/company_10dp"
|
|
|
+ android:text="第三方账户登录"
|
|
|
+ android:textColor="@color/main_color" />
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginTop="@dimen/company_10dp"
|
|
|
+ android:layout_marginBottom="@dimen/company_25dp">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/company_60dp"
|
|
|
+ android:layout_height="@dimen/company_60dp"
|
|
|
+ android:background="@drawable/weixin_icon"
|
|
|
+ android:layout_centerInParent="true"/>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/company_60dp"
|
|
|
+ android:layout_height="@dimen/company_60dp"
|
|
|
+ android:background="@drawable/qq_icon"
|
|
|
+ android:layout_centerInParent="true"/>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/company_60dp"
|
|
|
+ android:layout_height="@dimen/company_60dp"
|
|
|
+ android:background="@drawable/weibo_icon"
|
|
|
+ android:layout_centerInParent="true"/>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</RelativeLayout>
|