123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:fitsSystemWindows="true"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay"
- android:weightSum="1"
- app:elevation="0dp"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1.21"
- android:background="?attr/colorPrimary"
- app:titleTextAppearance="@style/Toolbar.TitleText"></android.support.v7.widget.Toolbar>
- </android.support.design.widget.AppBarLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="56dp"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:layout_marginTop="25dp"
- android:text="欢迎来到谁说"
- android:textSize="25sp"
- android:textStyle="bold"
- android:typeface="monospace"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/app_bar_layout" />
- <TextView
- android:id="@+id/textView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:layout_marginTop="5dp"
- android:text="请输入您的登录信息"
- app:layout_constraintBottom_toTopOf="@+id/login_tel"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView3"
- app:layout_constraintVertical_bias="0.074" />
- <com.netease.nim.uikit.common.ui.widget.ClearableEditTextWithIcon
- android:id="@+id/login_tel"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:layout_marginTop="30dp"
- android:background="@android:drawable/editbox_background"
- android:hint="@string/please_input_tel_num"
- android:inputType="phone"
- android:maxLines="1"
- android:padding="15dp"
- app:layout_constraintHorizontal_bias="0.117"
- app:layout_constraintLeft_toLeftOf="@+id/app_bar_layout"
- app:layout_constraintRight_toRightOf="@+id/app_bar_layout"
- app:layout_constraintTop_toBottomOf="@+id/app_bar_layout" />
- <com.netease.nim.uikit.common.ui.widget.ClearableEditTextWithIcon
- android:id="@+id/login_password"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:layout_marginTop="20dp"
- android:background="@android:drawable/editbox_background"
- android:hint="@string/please_input_pwd"
- android:inputType="textPassword"
- android:maxLines="1"
- android:padding="15dp"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="@+id/login_tel"
- app:layout_constraintRight_toRightOf="@+id/login_tel"
- app:layout_constraintTop_toBottomOf="@+id/login_tel" />
- <TextView
- android:id="@+id/forgot_password"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right"
- android:layout_marginRight="15dp"
- android:layout_marginTop="9dp"
- android:text="忘记密码?"
- android:textColor="@color/grey_light"
- app:layout_constraintRight_toRightOf="@+id/login_password"
- app:layout_constraintTop_toBottomOf="@+id/login_password" />
- <Button
- android:id="@+id/login_btn"
- style="@style/NormalBtnStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:layout_marginTop="15dp"
- android:text="@string/login"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="@+id/login_password"
- app:layout_constraintRight_toRightOf="@+id/login_password"
- app:layout_constraintTop_toBottomOf="@+id/login_password" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginTop="15dp"
- android:gravity="center_vertical|center_horizontal|center"
- android:orientation="horizontal">
- <RadioButton
- android:id="@+id/agree_radio"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:checked="true"
- android:text="登录代表您已同意"
- android:textColor="@color/color_grey_666666"
- android:textColorLink="@color/color_green_00ae8c"
- app:buttonTint="@color/color_green_00ae8c" />
- <TextView
- android:id="@+id/agree_txt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="《用户注册协议》"
- android:textColor="@color/color_green_00ae8c" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:orientation="horizontal"
- android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:layout_marginBottom="5dp"
- android:layout_weight="1"
- android:text="还没有账号?"
- android:textAlignment="textEnd" />
- <TextView
- android:id="@+id/register_txt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:layout_marginBottom="5dp"
- android:layout_weight="1"
- android:text="现在注册"
- android:textAlignment="textStart"
- android:textColor="@color/color_green_00ae8c" />
- </LinearLayout>
- </RelativeLayout>
|