<?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.ChoseActivationVM" />
|
</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.face.ChoseActivationActivity">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="选择激活方式"
|
android:textColor="#ff111111"
|
android:textSize="33sp"
|
android:textStyle="bold"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginTop="30dp"/>
|
|
<TextView
|
android:id="@+id/tv_zx"
|
android:layout_width="match_parent"
|
android:layout_height="75dp"
|
android:text="在线激活"
|
android:textColor="@color/white"
|
android:textSize="24sp"
|
android:textStyle="bold"
|
android:gravity="center"
|
android:background="@drawable/shape_mb_bt_ok"
|
android:layout_marginLeft="30dp"
|
android:layout_marginRight="30dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:commandType="@{1}"
|
app:onClickCommand="@{model.myTypeCommand}"
|
android:layout_marginBottom="30dp"/>
|
|
<TextView
|
android:id="@+id/tv_km"
|
android:layout_width="match_parent"
|
android:layout_height="75dp"
|
android:text="离线激活"
|
android:textColor="@color/white"
|
android:textSize="24sp"
|
android:textStyle="bold"
|
android:gravity="center"
|
android:background="@drawable/shape_mb_bt_ok"
|
android:layout_marginLeft="30dp"
|
android:layout_marginRight="30dp"
|
app:layout_constraintTop_toBottomOf="@+id/tv_zx"
|
android:layout_marginTop="60dp"
|
app:commandType="@{2}"
|
app:onClickCommand="@{model.myTypeCommand}"
|
android:layout_marginBottom="30dp"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</layout>
|