|
@@ -0,0 +1,312 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:fitsSystemWindows="true">
|
|
|
+
|
|
|
+ <android.support.design.widget.AppBarLayout
|
|
|
+ android:id="@+id/appBarLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="240dp"
|
|
|
+ android:fitsSystemWindows="true"
|
|
|
+ android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
+
|
|
|
+ <android.support.design.widget.CollapsingToolbarLayout
|
|
|
+ android:id="@+id/toolbarLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:fitsSystemWindows="true"
|
|
|
+ app:contentScrim="?attr/colorPrimary"
|
|
|
+ app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_margin="48dp"
|
|
|
+ android:fitsSystemWindows="true"
|
|
|
+ android:scaleType="fitCenter"
|
|
|
+ android:src="@mipmap/ic_launcher_round"
|
|
|
+ app:layout_collapseMode="parallax" />
|
|
|
+
|
|
|
+ <android.support.v7.widget.Toolbar
|
|
|
+ android:id="@+id/toolbar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
+ app:layout_collapseMode="pin" />
|
|
|
+
|
|
|
+ </android.support.design.widget.CollapsingToolbarLayout>
|
|
|
+
|
|
|
+ </android.support.design.widget.AppBarLayout>
|
|
|
+
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <android.support.v7.widget.CardView
|
|
|
+ android:id="@+id/cardView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_margin="24dp"
|
|
|
+ app:cardBackgroundColor="@color/white"
|
|
|
+ app:cardCornerRadius="5dp"
|
|
|
+ app:cardPreventCornerOverlap="true"
|
|
|
+ app:cardUseCompatPadding="true">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="24dp">
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userAccountLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userAccount"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_person_black_24dp"
|
|
|
+ android:hint="用户账号(*)"
|
|
|
+ android:inputType="text" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userNameLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userAccountLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userName"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_person_black_24dp"
|
|
|
+ android:hint="用户全拼姓名(*)"
|
|
|
+ android:inputType="text" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userSexLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userNameLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userSex"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_person_black_24dp"
|
|
|
+ android:hint="用户性别(*)"
|
|
|
+ android:inputType="text" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userPasswordLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userSexLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userPassword"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_lock_black_24dp"
|
|
|
+ android:hint="用户密码(*)"
|
|
|
+ android:inputType="textPassword" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userPasswordRepeatLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userPasswordLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userPasswordRepeat"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_lock_black_24dp"
|
|
|
+ android:hint="重复用户密码(*)"
|
|
|
+ android:inputType="textPassword" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userPassportnoLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userPasswordRepeatLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userPassportno"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_credit_card_black_24dp"
|
|
|
+ android:hint="用户护照号(*)"
|
|
|
+ android:inputType="number" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userPassportnotimeLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userPassportnoLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userPassportnotime"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_credit_card_black_24dp"
|
|
|
+ android:hint="护照有效期(*)"
|
|
|
+ android:inputType="text" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userPhonenumLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userPassportnotimeLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userPhonenum"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_phone_black_24dp"
|
|
|
+ android:hint="用户电话(*)"
|
|
|
+ android:inputType="phone" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/vCodeLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userPhonenumLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/vCode"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_phone_android_black_24dp"
|
|
|
+ android:hint="短信验证码(*)"
|
|
|
+ android:inputType="text" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userDef4Layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/vCodeLayout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userDef4"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_date_range_black_24dp"
|
|
|
+ android:hint="出生年月日(*)"
|
|
|
+ android:inputType="date" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userDef5Layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userDef4Layout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userDef5"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_person_black_24dp"
|
|
|
+ android:hint="支付宝账号"
|
|
|
+ android:inputType="text" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userDef6Layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userDef5Layout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userDef6"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_credit_card_black_24dp"
|
|
|
+ android:hint="银行卡号"
|
|
|
+ android:inputType="number" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TextInputLayout
|
|
|
+ android:id="@+id/userDef8Layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userDef6Layout">
|
|
|
+
|
|
|
+ <cn.minbb.InterfaceTest.controls.ClearTextInputEditText
|
|
|
+ android:id="@+id/userDef8"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:drawableLeft="@drawable/ic_domain_black_24dp"
|
|
|
+ android:hint="开户银行"
|
|
|
+ android:inputType="text" />
|
|
|
+
|
|
|
+ </android.support.design.widget.TextInputLayout>
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/alreadyRead"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/userDef8Layout"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:checked="false"
|
|
|
+ android:text="我已阅读" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/userInstructions"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignBaseline="@+id/alreadyRead"
|
|
|
+ android:layout_toRightOf="@id/alreadyRead"
|
|
|
+ android:background="@color/text_gray_background_selector"
|
|
|
+ android:text="《用户须知》"
|
|
|
+ android:textColor="@android:color/holo_blue_dark" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </android.support.v7.widget.CardView>
|
|
|
+
|
|
|
+ <android.support.design.widget.FloatingActionButton
|
|
|
+ android:id="@+id/register"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignBaseline="@id/cardView"
|
|
|
+ android:layout_alignBottom="@id/cardView"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="6dp"
|
|
|
+ android:layout_marginBottom="60dp"
|
|
|
+ android:rotation="180"
|
|
|
+ app:srcCompat="@drawable/ic_arrow_back_white_24dp" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </android.support.v4.widget.NestedScrollView>
|
|
|
+
|
|
|
+</android.support.design.widget.CoordinatorLayout>
|