fix: 增加作弊检查

This commit is contained in:
2022-08-25 13:52:57 +08:00
parent 02215187e7
commit ea4b004637
8 changed files with 435 additions and 14 deletions
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/default_widget_padding"
xmlns:app="http://schemas.android.com/apk/res-auto">
<TextView
android:id="@+id/edit_phone_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
android:gravity="center"
style="@style/text_style_title"
android:text="修改手机号"></TextView>
<EditText
android:id="@+id/edt_phone_new"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="请输入新手机号"
android:maxLength="11"
android:digits="0123456789"
app:layout_constraintTop_toBottomOf="@id/edit_phone_title"
style="@style/MyEditText"></EditText>
<RelativeLayout
android:id="@+id/layer_confirm"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/default_widget_padding"
app:layout_constraintTop_toBottomOf="@id/edt_phone_new"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_confirm_code"
style="@style/user_style"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="10dp"
android:text="获取验证码"
android:textColor="#fff" />
<EditText
android:id="@+id/edt_phone_confirm_code"
style="@style/MyEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/tv_confirm_code"
android:layout_toLeftOf="@id/tv_confirm_code"
android:digits="0123456789"
android:hint="请输入验证码"
android:maxLength="11"></EditText>
</RelativeLayout>
<Button
android:id="@+id/btm_finish"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/default_widget_padding"
app:layout_constraintTop_toBottomOf="@id/layer_confirm"
android:textColor="@color/white"
style="@style/user_style"
android:text="确认修改"></Button>
</androidx.constraintlayout.widget.ConstraintLayout>