<?xml version="1.0" encoding="utf-8"?>
|
<layout >
|
<data>
|
<import type="com.doumee.lib_coremodel.base.BaseViewModel"/>
|
<import type="android.view.View"/>
|
<variable
|
name="model"
|
type="com.doumee.keyCabinet.ui.face.ActivationVM" />
|
</data>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
tools:context=".ui.main.ActivationActivity">
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
android:id="@+id/accredit_onRl"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:id="@+id/accredit_onLl"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:layout_marginLeft="30dp"
|
android:layout_marginTop="30dp"
|
android:layout_marginRight="30dp"
|
android:background="@drawable/bg_round_import"
|
android:orientation="vertical">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="15dp"
|
android:layout_marginTop="15dp"
|
android:text="@string/on_technological_process"
|
android:textColor="#999999"
|
android:textSize="20sp" />
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="15dp"
|
android:layout_marginTop="15dp"
|
android:layout_marginRight="15dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/activity_hintOnOne"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/activation_1"
|
android:textColor="#ffffff"
|
android:textSize="20sp" />
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="15dp"
|
android:layout_toRightOf="@+id/activity_hintOnOne"
|
android:text='@string/off_technological_process_one'
|
android:textColor="#ffffff"
|
android:textSize="18sp" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="15dp"
|
android:layout_marginTop="15dp"
|
android:layout_marginRight="15dp"
|
android:layout_marginBottom="15dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/activity_hintOnTwo"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/activation_2"
|
android:textColor="#ffffff"
|
android:textSize="20sp" />
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="15dp"
|
android:layout_toRightOf="@+id/activity_hintOnTwo"
|
android:text="@string/on_technological_process_two"
|
android:textColor="#ffffff"
|
android:textSize="18sp" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/hint_Tv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/accredit_onLl"
|
android:layout_centerHorizontal="true"
|
android:layout_marginTop="40dp"
|
android:text="@string/on_number"
|
android:textColor="#666666"
|
android:textSize="22sp" />
|
|
<LinearLayout
|
android:id="@+id/pc_1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/hint_Tv"
|
android:layout_marginLeft="40dp"
|
android:layout_marginTop="40dp"
|
android:layout_marginRight="40dp"
|
android:orientation="horizontal">
|
|
<RelativeLayout
|
android:layout_marginRight="26dp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_weight="1">
|
|
<EditText
|
android:background="@null"
|
android:id="@+id/activity_et_one"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:digits="@string/filter_vcode"
|
android:gravity="center_horizontal"
|
android:maxLength="4"
|
android:singleLine="true"
|
android:text=""
|
android:textColor="@color/black"
|
android:textSize="26sp"
|
android:theme="@style/MyEditText"
|
android:typeface="monospace" />
|
|
<View
|
android:id="@+id/activity_one_view"
|
android:layout_width="wrap_content"
|
android:layout_height="2dp"
|
android:layout_below="@+id/activity_et_one"
|
android:layout_marginTop="@dimen/start_10"
|
android:background="#666666" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_marginRight="26dp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_weight="1">
|
|
<EditText
|
android:background="@null"
|
android:id="@+id/activity_et_two"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:digits="@string/filter_vcode"
|
android:gravity="center_horizontal"
|
android:maxLength="5"
|
android:text=""
|
android:singleLine="true"
|
android:textColor="@color/black"
|
android:textSize="26sp"
|
android:theme="@style/MyEditText"
|
android:typeface="monospace" />
|
|
<View
|
android:id="@+id/activity_two_view"
|
android:layout_width="wrap_content"
|
android:layout_height="2dp"
|
android:layout_below="@+id/activity_et_two"
|
android:layout_marginTop="@dimen/start_10"
|
android:background="#666666" />
|
</RelativeLayout>
|
|
|
<RelativeLayout
|
android:layout_marginRight="26dp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_weight="1">
|
|
<EditText
|
android:background="@null"
|
android:id="@+id/activity_et_three"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:digits="@string/filter_vcode"
|
android:gravity="center_horizontal"
|
android:maxLength="5"
|
android:text=""
|
android:singleLine="true"
|
android:textColor="@color/black"
|
android:textSize="26sp"
|
android:theme="@style/MyEditText"
|
android:typeface="monospace" />
|
|
<View
|
android:id="@+id/activity_three_view"
|
android:layout_width="wrap_content"
|
android:layout_height="2dp"
|
android:layout_below="@+id/activity_et_three"
|
android:layout_marginTop="@dimen/start_10"
|
android:background="#666666" />
|
</RelativeLayout>
|
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_weight="1">
|
|
<EditText
|
android:background="@null"
|
android:id="@+id/activity_et_four"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:digits="@string/filter_vcode"
|
android:gravity="center_horizontal"
|
android:maxLength="5"
|
android:singleLine="true"
|
android:text=""
|
android:textColor="@color/black"
|
android:textSize="26sp"
|
android:theme="@style/MyEditText"
|
android:typeface="monospace" />
|
|
<View
|
android:id="@+id/activity_four_view"
|
android:layout_width="wrap_content"
|
android:layout_height="2dp"
|
android:layout_below="@+id/activity_et_four"
|
android:layout_marginTop="@dimen/start_10"
|
android:background="#666666" />
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/accredit_onhintTv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/pc_1"
|
android:layout_centerHorizontal="true"
|
android:layout_marginLeft="40dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginRight="40dp"
|
android:textColor="#F34B56"
|
android:textSize="16sp" />
|
|
<Button
|
android:id="@+id/accredit_onBtn"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_below="@+id/accredit_onhintTv"
|
android:layout_centerHorizontal="true"
|
android:layout_marginLeft="40dp"
|
android:layout_marginTop="30dp"
|
android:layout_marginRight="40dp"
|
android:background="@drawable/shape_r40_999_bg"
|
android:enabled="true"
|
android:padding="13dp"
|
android:text="@string/accredit_on"
|
android:textColor="#666666"
|
android:textSize="20sp"
|
app:commandType="@{1}"
|
app:onClickCommand="@{model.myTypeCommand}"/>
|
|
</RelativeLayout>
|
</ScrollView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</layout>
|