|
|
@@ -0,0 +1,120 @@
|
|
|
+<?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"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <com.google.android.material.card.MaterialCardView
|
|
|
+ android:layout_width="@dimen/divider_670px"
|
|
|
+ android:layout_height="@dimen/divider_524px"
|
|
|
+ android:theme="@style/Theme.MaterialComponents.NoActionBar"
|
|
|
+ app:cardBackgroundColor="@color/color_FF3961A1"
|
|
|
+ app:cardCornerRadius="@dimen/divider_40px"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:strokeColor="@color/color_FF6BB0FF"
|
|
|
+ app:strokeWidth="@dimen/divider_4px">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tvTitle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/divider_56px"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:text="绑定您的手机号"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_32px"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatEditText
|
|
|
+ android:id="@+id/editPhone"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_80px"
|
|
|
+ android:layout_marginStart="@dimen/divider_65px"
|
|
|
+ android:layout_marginTop="@dimen/divider_29px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_64px"
|
|
|
+ android:background="@drawable/bg_binding_phone_edit"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:hint="输入手机号"
|
|
|
+ android:paddingStart="@dimen/divider_24px"
|
|
|
+ android:paddingEnd="@dimen/divider_24px"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textColorHint="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_32px"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tvTitle" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/codeLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_80px"
|
|
|
+ android:layout_marginStart="@dimen/divider_65px"
|
|
|
+ android:layout_marginTop="@dimen/divider_38px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_64px"
|
|
|
+ android:background="@drawable/bg_binding_phone_edit"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/editPhone">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatEditText
|
|
|
+ android:id="@+id/editCode"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:hint="输入验证码"
|
|
|
+ android:paddingStart="@dimen/divider_24px"
|
|
|
+ android:paddingEnd="@dimen/divider_24px"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textColorHint="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_32px" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatButton
|
|
|
+ android:id="@+id/btnCode"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingStart="@dimen/divider_23px"
|
|
|
+ android:paddingEnd="@dimen/divider_23px"
|
|
|
+ android:text="获取验证码"
|
|
|
+ android:textColor="@color/color_FF3855FF"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatButton
|
|
|
+ android:id="@+id/btnBinding"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_80px"
|
|
|
+ android:layout_marginStart="@dimen/divider_65px"
|
|
|
+ android:layout_marginTop="@dimen/divider_52px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_64px"
|
|
|
+ android:background="@drawable/bg_binding_phone_btn"
|
|
|
+ android:text="确认绑定"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/codeLayout" />
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ </com.google.android.material.card.MaterialCardView>
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|