登录相关,首次提交

This commit is contained in:
fengjignqi
2026-09-18 09:59:43 +08:00
parent 6e9b97e42e
commit f7cf112dc9
45 changed files with 2362 additions and 177 deletions

View File

@@ -0,0 +1,31 @@
<?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:background="@color/color_zhu"
android:gravity="center_horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="210dp"
android:src="@mipmap/icon_app_logo"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:textColor="@color/white"
android:textSize="24sp"
android:textStyle="bold"
android:text="@string/app_chinese_name"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:gravity="center"
android:textColor="@color/white"
android:textSize="12sp"
android:textStyle="bold"
android:text="@string/app_name"/>
</LinearLayout>

View File

@@ -1,88 +1,228 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F5F7FA"
android:padding="24dp">
android:background="@color/color_zhu"
android:fillViewport="true"
android:overScrollMode="never">
<LinearLayout
android:id="@+id/loginContent"
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.38">
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:paddingBottom="32dp">
<TextView
<ImageView
android:id="@+id/brandLogo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/login_title"
android:textColor="#18212F"
android:textSize="28sp"
android:textStyle="bold" />
android:layout_gravity="center_horizontal"
android:layout_marginTop="110dp"
android:contentDescription="@string/app_chinese_name"
android:src="@mipmap/icon_app_logo" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/login_subtitle"
android:textColor="#667085"
android:textSize="15sp" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/usernameLayout"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:hint="@string/login_username">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/usernameEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="phone"
android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/passwordLayout"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:id="@+id/brandName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:hint="@string/login_password"
app:endIconMode="password_toggle">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/passwordEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.button.MaterialButton
android:id="@+id/loginButton"
android:layout_width="match_parent"
android:layout_height="52dp"
android:layout_marginTop="24dp"
android:text="@string/login_button"
android:textSize="16sp" />
android:gravity="center"
android:text="@string/app_chinese_name"
android:textColor="@color/color_white"
android:textSize="23sp"
android:textStyle="bold" />
<TextView
android:id="@+id/resultTextView"
android:id="@+id/brandSubtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:gravity="center"
android:text="@string/login_demo_hint"
android:textColor="#667085"
android:text="@string/app_name"
android:textColor="@color/color_DDE6F5"
android:textSize="14sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="54dp"
android:background="@drawable/shape_login_field_bg"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="22dp"
android:paddingEnd="16dp">
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@null"
android:src="@mipmap/icon_login_phone" />
<EditText
android:id="@+id/accountEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:background="@null"
android:hint="@string/register_account_hint"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/color_2E2E2E"
android:textColorHint="@color/color_999999"
android:textSize="15sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linear_psd"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:background="@drawable/shape_login_field_bg"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="22dp"
android:paddingEnd="16dp">
<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@null"
android:src="@mipmap/icon_login_code" />
<EditText
android:id="@+id/passwordEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:background="@null"
android:hint="@string/register_password_hint"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/color_2E2E2E"
android:textColorHint="@color/color_999999"
android:textSize="15sp" />
<ImageView
android:id="@+id/passwordVisibilityButton"
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@string/register_show_password"
android:src="@mipmap/icon_login_show" />
</LinearLayout>
<LinearLayout
android:id="@+id/linear_code"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="14dp"
android:paddingEnd="10dp"
android:visibility="gone">
<ImageView
android:layout_width="28dp"
android:layout_height="28dp"
android:src="@mipmap/icon_login_code"
android:contentDescription="@null" />
<EditText
android:id="@+id/codeEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_marginStart="8dp"
android:background="@null"
android:hint="请输入验证码"
android:inputType="number"
android:maxLines="1"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
<TextView
android:id="@+id/getCodeButton"
android:layout_width="100dp"
android:layout_height="38dp"
android:background="@drawable/shape_register_code_bg"
android:backgroundTint="@null"
android:stateListAnimator="@null"
android:gravity="center"
android:text="获取验证码"
android:textAllCaps="false"
android:textColor="@color/color_white"
android:textSize="12sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="12dp"
android:gravity="center_vertical">
<TextView
android:id="@+id/tvChangeCode"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="end"
android:layout_marginEnd="20dp"
android:layout_marginStart="20dp"
android:text="@string/register_change_code_login"
android:textColor="@color/color_DDE6F5"
android:textSize="13sp" />
<TextView
android:id="@+id/forgotPasswordButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:layout_marginEnd="20dp"
android:text="@string/register_forgot_password"
android:textColor="@color/color_DDE6F5"
android:textSize="13sp" />
</LinearLayout>
<TextView
android:id="@+id/loginButton"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginStart="15dp"
android:layout_marginTop="78dp"
android:layout_marginEnd="15dp"
android:background="@drawable/shape_login_field_bg"
android:backgroundTint="@null"
android:stateListAnimator="@null"
android:gravity="center"
android:text="@string/login_button"
android:textAllCaps="false"
android:textColor="@color/color_zhu"
android:textSize="16sp" />
<TextView
android:id="@+id/agreementText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:gravity="center"
android:text="@string/register_agreement"
android:textColor="@color/color_DDE6F5"
android:textSize="12sp" />
<TextView
android:id="@+id/registerButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="54dp"
android:text="@string/register_prompt"
android:textColor="@color/color_DDE6F5"
android:textSize="14sp" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>

View File

@@ -0,0 +1,277 @@
<?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"
android:background="@color/color_zhu">
<View
android:id="@+id/statusBarView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="@color/color_zhu" />
<RelativeLayout
android:id="@+id/rl_title"
android:layout_width="match_parent"
android:layout_height="48dp">
<include
android:id="@+id/included_title"
layout="@layout/include_activity_back_gray_layout" />
</RelativeLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:paddingBottom="32dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="57dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="14dp">
<ImageView
android:layout_width="28dp"
android:layout_height="28dp"
android:src="@mipmap/icon_login_phone"
android:contentDescription="@null" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal"
android:gravity="center_vertical">
<TextView
android:id="@+id/areaCodeButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:text="+86"
android:textColor="@color/color_2E2E2E"
android:textSize="14sp" />
<ImageView
android:layout_width="10dp"
android:layout_height="10dp"
android:layout_marginStart="2dp"
android:src="@mipmap/icon_login_point_down"/>
</LinearLayout>
<EditText
android:id="@+id/phoneEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="请输入手机号"
android:inputType="phone"
android:layout_marginStart="8dp"
android:maxLines="1"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="14dp"
android:paddingEnd="10dp">
<ImageView
android:layout_width="28dp"
android:layout_height="28dp"
android:src="@mipmap/icon_login_code"
android:contentDescription="@null" />
<EditText
android:id="@+id/codeEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_marginStart="8dp"
android:background="@null"
android:hint="请输入验证码"
android:inputType="number"
android:maxLines="1"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
<TextView
android:id="@+id/getCodeButton"
android:layout_width="100dp"
android:layout_height="38dp"
android:background="@drawable/shape_register_code_bg"
android:backgroundTint="@null"
android:stateListAnimator="@null"
android:gravity="center"
android:text="获取验证码"
android:textAllCaps="false"
android:textColor="@color/color_white"
android:textSize="12sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="44dp"
android:paddingEnd="16dp">
<EditText
android:id="@+id/passwordEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="请输入8-20位密码"
android:inputType="textPassword"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
<ImageView
android:id="@+id/passwordVisibilityButton"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@mipmap/icon_login_show"
android:contentDescription="显示密码" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="44dp"
android:paddingEnd="16dp">
<EditText
android:id="@+id/confirmPasswordEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="请再次输入新密码"
android:inputType="textPassword"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
<ImageView
android:id="@+id/confirmPasswordVisibilityButton"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@mipmap/icon_login_show"
android:contentDescription="显示密码" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="26dp"
android:layout_marginEnd="26dp"
android:layout_marginTop="36dp"
android:orientation="vertical"
android:paddingStart="18dp"
android:paddingVertical="10dp"
android:background="@drawable/shape_register_rule_bg">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="密码规则"
android:textColor="@color/color_white"
android:textSize="18sp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center">
<ImageView
android:layout_width="15dp"
android:layout_height="15dp"
android:layout_marginVertical="5dp"
android:src="@mipmap/icon_login_select"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text="长度在8-20个字符之间"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center">
<ImageView
android:layout_width="15dp"
android:layout_height="15dp"
android:layout_marginVertical="5dp"
android:src="@mipmap/icon_login_select"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text="包含大小写字母和数字"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center">
<ImageView
android:layout_width="15dp"
android:layout_height="15dp"
android:layout_marginVertical="5dp"
android:src="@mipmap/icon_login_tips"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text="不能与当前密码相同"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/confirmButton"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:layout_marginTop="84dp"
android:gravity="center"
android:background="@drawable/shape_login_field_bg"
android:backgroundTint="@null"
android:stateListAnimator="@null"
android:text="确定"
android:textAllCaps="false"
android:textColor="@color/color_zhu"
android:textSize="17sp" />
</LinearLayout>
</ScrollView>
</LinearLayout>

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/relative_title"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@color/color_zhu">
<ImageView
android:id="@+id/img_back"
android:layout_width="22dp"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:src="@mipmap/img_back_black"
android:layout_marginStart="10dp"/>
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textSize="18sp"
android:textColor="@color/white"
android:textStyle="bold"
android:text=""
android:layout_marginStart="10dp"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"/>
<TextView
android:id="@+id/tv_title_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/tv_title"
android:textSize="14sp"
android:textColor="@color/color_2E2E2E"
android:text="(剩余时间)"
android:layout_marginStart="5dp"
android:visibility="gone"/>
<TextView
android:id="@+id/tv_title_right"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:textSize="14sp"
android:textColor="@color/color_333333"
android:text=""
android:layout_marginStart="5dp"
android:visibility="visible"/>
<ImageView
android:id="@+id/img_setting"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:src="@mipmap/ic_launcher"
android:layout_marginEnd="20dp"
android:visibility="gone"/>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,258 @@
<?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"
android:background="@color/color_zhu">
<View
android:id="@+id/statusBarView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="@color/color_zhu" />
<RelativeLayout
android:id="@+id/rl_title"
android:layout_width="match_parent"
android:layout_height="48dp">
<include
android:id="@+id/included_title"
layout="@layout/include_activity_back_gray_layout" />
</RelativeLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:paddingBottom="32dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="57dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="14dp">
<ImageView
android:layout_width="28dp"
android:layout_height="28dp"
android:src="@mipmap/icon_login_phone"
android:contentDescription="@null" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal"
android:gravity="center_vertical">
<TextView
android:id="@+id/areaCodeButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:text="+86"
android:textColor="@color/color_2E2E2E"
android:textSize="14sp" />
<ImageView
android:layout_width="10dp"
android:layout_height="10dp"
android:layout_marginStart="2dp"
android:src="@mipmap/icon_login_point_down"/>
</LinearLayout>
<EditText
android:id="@+id/phoneEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="请输入手机号"
android:inputType="phone"
android:layout_marginStart="8dp"
android:maxLines="1"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="14dp"
android:paddingEnd="10dp">
<ImageView
android:layout_width="28dp"
android:layout_height="28dp"
android:src="@mipmap/icon_login_code"
android:contentDescription="@null" />
<EditText
android:id="@+id/codeEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_marginStart="8dp"
android:background="@null"
android:hint="请输入验证码"
android:inputType="number"
android:maxLines="1"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
<TextView
android:id="@+id/getCodeButton"
android:layout_width="100dp"
android:layout_height="38dp"
android:background="@drawable/shape_register_code_bg"
android:backgroundTint="@null"
android:stateListAnimator="@null"
android:gravity="center"
android:text="@string/register_get_code"
android:textAllCaps="false"
android:textColor="@color/color_white"
android:textSize="12sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="44dp"
android:paddingEnd="16dp">
<EditText
android:id="@+id/passwordEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="请输入8-20位密码"
android:inputType="textPassword"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
<ImageView
android:id="@+id/passwordVisibilityButton"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@mipmap/icon_login_show"
android:contentDescription="显示密码" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:gravity="center_vertical"
android:background="@drawable/shape_login_field_bg"
android:paddingStart="44dp"
android:paddingEnd="16dp">
<EditText
android:id="@+id/confirmPasswordEditText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="请再次输入新密码"
android:inputType="textPassword"
android:textColorHint="@color/color_999999"
android:textSize="16sp" />
<ImageView
android:id="@+id/confirmPasswordVisibilityButton"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@mipmap/icon_login_show"
android:contentDescription="显示密码" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="98dp"
android:layout_marginStart="26dp"
android:layout_marginEnd="26dp"
android:layout_marginTop="36dp"
android:orientation="vertical"
android:paddingStart="18dp"
android:paddingTop="10dp"
android:background="@drawable/shape_register_rule_bg">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="密码规则"
android:textColor="@color/color_white"
android:textSize="18sp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center">
<ImageView
android:layout_width="15dp"
android:layout_height="15dp"
android:layout_marginVertical="5dp"
android:src="@mipmap/icon_login_select"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text="长度在8-20个字符之间"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center">
<ImageView
android:layout_width="15dp"
android:layout_height="15dp"
android:layout_marginVertical="5dp"
android:src="@mipmap/icon_login_select"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text="包含大小写字母和数字"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/confirmButton"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:layout_marginTop="84dp"
android:gravity="center"
android:background="@drawable/shape_login_field_bg"
android:backgroundTint="@null"
android:stateListAnimator="@null"
android:text="确定"
android:textAllCaps="false"
android:textColor="@color/color_zhu"
android:textSize="17sp" />
</LinearLayout>
</ScrollView>
</LinearLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -46,7 +46,7 @@
<!--视频准备页面,背景半透明颜色-->
<color name="color_1d76fe">#1D76FE</color>
<color name="color_1a72ff">#1A72FF</color>
<color name="color_zhu">#00CA9D</color>
<color name="color_zhu">#005431</color>
<color name="color_c8c8c8">#C8C8C8</color>
<color name="color_F6F6F6">#F6F6F6</color>
<color name="color_2E2E2E">#2E2E2E</color>
@@ -117,7 +117,6 @@
<color name="color_F0F8F1">#F0F8F1</color>
<color name="color_FFFCEB">#FFFCEB</color>
<color name="color_1D90FF">#1D90FF</color>
<color name="color_8000CA9D">#8000CA9D</color>
@@ -139,6 +138,7 @@
<color name="page_background">#F7F8FA</color>
<color name="bottom_nav_background">#FFFFFFFF</color>
<color name="plan_top_image_color">#C51609</color>
<color name="register_psd_rule">#286F51</color>
</resources>

View File

@@ -1,10 +1,52 @@
<resources>
<string name="app_name">KotMvpProject</string>
<string name="app_chinese_name">聚哈比‑萨克尔GPS智能隼眼罩</string>
<string name="app_name">JUMHABI Saqr GPS Smart Falcon Hood</string>
<string name="login_title">账号登录</string>
<string name="login_subtitle">请输入账号和密码</string>
<string name="login_username">手机号</string>
<string name="login_password">密码</string>
<string name="login_button">登录</string>
<string name="login_register">手机注册</string>
<string name="register_account_hint">请输入账号</string>
<string name="register_password_hint">请输入密码</string>
<string name="register_show_password">显示密码</string>
<string name="register_forgot_password">忘记密码?</string>
<string name="forget_password_title">忘记密码</string>
<string name="register_change_code_login">切换手机号验证码登录</string>
<string name="register_change_psd_login">切换密码登录</string>
<string name="register_agreement">我已阅读并同意用户协议和隐私政策以及定制条款</string>
<string name="register_prompt">没有账号?立即注册</string>
<string name="register_get_code">获取验证码</string>
<string name="register_code_countdown">%1$d秒后重新获取</string>
<string name="login_demo_hint">登录成功后将自动保存 Token</string>
<string name="mine_open_login">前往登录页面</string>
<string name="plan_top_image_description">计划页顶部背景图</string>