<?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" xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools">
|
|
<TextView
|
android:id="@+id/txt_tip"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text=""
|
android:gravity="center"
|
android:textSize="14sp"
|
android:layout_margin="@dimen/default_margin_lr"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent" />
|
|
<com.runt.open.mvvm.widgets.PasswordInputView
|
android:id="@+id/password"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:inputType="number"
|
android:background="@null"
|
android:layout_marginTop="36dp"
|
android:layout_marginLeft="21dp"
|
android:layout_marginRight="20dp"
|
android:focusable="true"
|
android:focusableInTouchMode="true"
|
android:maxLength="6"
|
app:passwordColor="@color/black"
|
app:passwordWidth="10dp"
|
app:passwordLength="6"
|
app:borderColor="@color/gray"
|
app:borderWidth="47dp"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/txt_tip" />
|
|
<View
|
android:id="@+id/view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
app:layout_constraintLeft_toLeftOf="@id/password"
|
app:layout_constraintRight_toRightOf="@id/password"
|
app:layout_constraintTop_toTopOf="@id/password"
|
app:layout_constraintBottom_toBottomOf="@id/password" />
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_num"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
android:overScrollMode="never"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/password"
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
app:spanCount="3"
|
tools:listitem="@layout/item_num"
|
tools:itemCount="12" />
|
</androidx.constraintlayout.widget.ConstraintLayout>
|