fix: 增加作弊检查
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/user_text_style" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_attestations"
|
||||
style="@style/user_style"
|
||||
@@ -153,24 +154,35 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_number"
|
||||
style="@style/user_text_style"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="手机号码*"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="20dp"
|
||||
style="@style/user_text_style"
|
||||
/>
|
||||
android:text="手机号码*" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_phone_edit"
|
||||
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/et_phone"
|
||||
android:layout_toEndOf="@id/tv_number"
|
||||
android:layout_width="match_parent"
|
||||
style="@style/user_hint_style"
|
||||
android:digits="1234567890"
|
||||
android:maxLength="11"
|
||||
android:layout_centerVertical="true"
|
||||
android:hint="请输入手机号码"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@id/btn_phone_edit"
|
||||
android:layout_toRightOf="@id/tv_number"
|
||||
android:digits="1234567890"
|
||||
android:hint="请输入手机号码"
|
||||
android:maxLength="11" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user