|
@@ -0,0 +1,252 @@
|
|
|
+<?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:id="@+id/activity_loginalert_rootview"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/translucent_background"
|
|
|
+ android:clickable="true"
|
|
|
+ android:focusableInTouchMode="true">
|
|
|
+
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/frameLayout"
|
|
|
+ android:layout_width="720dp"
|
|
|
+ android:layout_height="560dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="690dp"
|
|
|
+ android:layout_height="515dp"
|
|
|
+ android:layout_gravity="center">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="690dp"
|
|
|
+ android:layout_height="515dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="@drawable/activity_loginalert_bg"></ImageView>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/activity_loginalertqr_phonenumber"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginTop="35dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintHorizontal_bias="0.18"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="手机号登录"
|
|
|
+ android:textColor="#FF8400"
|
|
|
+ android:textSize="30dp"
|
|
|
+ android:textStyle="bold"></TextView>
|
|
|
+
|
|
|
+ <com.edufound.reader.cusview.RoundFrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:layout_marginLeft="40dp"
|
|
|
+ android:layout_marginRight="40dp"
|
|
|
+ android:background="#FF9625"
|
|
|
+ app:radio="4"></com.edufound.reader.cusview.RoundFrameLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/activity_loginalertqr_qrcode"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginTop="35dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintHorizontal_bias="0.82"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="微信扫码登录"
|
|
|
+ android:textColor="#FF8400"
|
|
|
+ android:textSize="30dp"
|
|
|
+ android:textStyle="bold"></TextView>
|
|
|
+
|
|
|
+ <com.edufound.reader.cusview.RoundFrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:layout_marginLeft="40dp"
|
|
|
+ android:layout_marginRight="40dp"
|
|
|
+ android:background="#FF9625"
|
|
|
+ app:radio="4"></com.edufound.reader.cusview.RoundFrameLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 手机号登录layout -->
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/activity_loginalertqr_phonenumber_layout"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="380dp"
|
|
|
+ android:layout_marginTop="120dp"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="568dp"
|
|
|
+ android:layout_height="78dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:background="@drawable/activity_loginalertqr_edit_bg"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/activity_loginalert_userphone_edit"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:hint="输入手机号码"
|
|
|
+ android:inputType="numberSigned"
|
|
|
+ android:maxLength="11"
|
|
|
+ android:paddingLeft="40dp"
|
|
|
+ android:textColorHint="#333333"
|
|
|
+ android:textSize="30dp"></EditText>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="568dp"
|
|
|
+ android:layout_height="78dp"
|
|
|
+ android:background="@drawable/activity_loginalertqr_edit_bg"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ 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.42000002">
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/activity_loginalert_getvercode_edit"
|
|
|
+ android:layout_width="350dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:hint="输入验证码"
|
|
|
+ android:inputType="numberSigned"
|
|
|
+ android:maxLength="4"
|
|
|
+ android:paddingLeft="40dp"
|
|
|
+ android:textColorHint="#333333"
|
|
|
+ android:textSize="30dp"></EditText>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/activity_loginalert_getvercode"
|
|
|
+ android:layout_width="200dp"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:layout_gravity="center|right"
|
|
|
+ android:layout_marginRight="25dp"
|
|
|
+ android:background="@drawable/activity_loginalert_verificationcode_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/activity_loginalert_getvercode_text"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="获取验证码"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="30dp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/activity_loginalert_login"
|
|
|
+ android:layout_width="328dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:layout_marginBottom="44dp"
|
|
|
+ android:background="@drawable/activity_loginalert_btn_ok_bg"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="登 录"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="34dp"></TextView>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 手机号登录layout结束-->
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 微信扫码登录layout-->
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/activity_loginalertqr_qrcode_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="380dp"
|
|
|
+ android:layout_marginTop="120dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="331dp"
|
|
|
+ android:layout_height="331dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/activity_loginalertqr_qrcode_layout_img"
|
|
|
+ android:layout_width="293dp"
|
|
|
+ android:layout_height="293dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@color/gray"></ImageView>
|
|
|
+
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 微信扫码登录layout结束-->
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/activity_loginalert_close"
|
|
|
+ android:layout_width="60dp"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:layout_gravity="top|right"
|
|
|
+ android:src="@drawable/activity_loginalert_close"></ImageView>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|