719 lines
39 KiB
XML
719 lines
39 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<layout 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"
|
||
tools:context=".activity.activation.ActivationActivity">
|
||
|
||
<data>
|
||
|
||
<variable
|
||
name="click"
|
||
type="com.xwad.os.activity.activation.ActivationActivity.BtnClick" />
|
||
</data>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:background="@drawable/mine_wallpaper">
|
||
|
||
<ImageView
|
||
android:layout_width="18dp"
|
||
android:layout_height="18dp"
|
||
android:adjustViewBounds="true"
|
||
android:onClick="@{click::exit}"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_exit"
|
||
app:layout_constraintBottom_toBottomOf="@+id/imageView7"
|
||
app:layout_constraintEnd_toStartOf="@+id/imageView7"
|
||
app:layout_constraintHorizontal_bias="0.07"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="@+id/imageView7"
|
||
app:layout_constraintVertical_bias="0.7" />
|
||
|
||
<ImageView
|
||
android:layout_width="248dp"
|
||
android:layout_height="304dp"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_robot_365"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintHorizontal_bias="0.089"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent"
|
||
app:layout_constraintVertical_bias="0.7" />
|
||
|
||
<ImageView
|
||
android:id="@+id/imageView7"
|
||
android:layout_width="148dp"
|
||
android:layout_height="18dp"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_title"
|
||
app:layout_constraintBottom_toTopOf="@+id/constraintLayout16"
|
||
app:layout_constraintEnd_toEndOf="@+id/constraintLayout16"
|
||
app:layout_constraintStart_toStartOf="@+id/constraintLayout16"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:id="@+id/constraintLayout16"
|
||
android:layout_width="284dp"
|
||
android:layout_height="283dp"
|
||
android:background="@drawable/icon_activation_backgroud_card"
|
||
android:paddingStart="10dp"
|
||
android:paddingTop="8dp"
|
||
android:paddingEnd="12dp"
|
||
android:paddingBottom="12dp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintHorizontal_bias="0.89"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent"
|
||
app:layout_constraintVertical_bias="0.7">
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
app:layout_constraintBottom_toTopOf="@+id/textView5"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:id="@+id/cl_qrcode"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:visibility="visible"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:orientation="vertical">
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="订购-学王365软终端许可证"
|
||
android:textColor="@color/black"
|
||
android:textSize="14sp"
|
||
android:textStyle="bold"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:id="@+id/tv_price"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="¥980.00"
|
||
android:textColor="#fe8300"
|
||
android:textSize="14sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="请在15分钟内完成支付,超时二维码将失效"
|
||
android:textColor="#9bb2cc"
|
||
android:textSize="8sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content">
|
||
|
||
<ImageView
|
||
android:id="@+id/iv_qrcode"
|
||
android:layout_width="64dp"
|
||
android:layout_height="64dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_qrcode_empty"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<LinearLayout
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_gravity="center"
|
||
android:orientation="horizontal"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_gravity="center"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="支持"
|
||
android:textColor="@color/black"
|
||
android:textSize="11sp" />
|
||
|
||
<ImageView
|
||
android:layout_width="16dp"
|
||
android:layout_height="16dp"
|
||
android:layout_gravity="center"
|
||
android:layout_marginStart="4dp"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_wechat_pay" />
|
||
|
||
<ImageView
|
||
android:layout_width="16dp"
|
||
android:layout_height="16dp"
|
||
android:layout_gravity="center"
|
||
android:layout_marginStart="4dp"
|
||
android:layout_marginEnd="4dp"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_alipay" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_gravity="center"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="扫码支付"
|
||
android:textColor="@color/black"
|
||
android:textSize="11sp" />
|
||
</LinearLayout>
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<LinearLayout
|
||
android:layout_width="160dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_gravity="center"
|
||
android:orientation="horizontal"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="商品名称"
|
||
android:textColor="@color/activation_text_color"
|
||
android:textSize="9sp" />
|
||
|
||
<TextView
|
||
android:id="@+id/tv_vip_name"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="end"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="软件终端许可证-AI旗舰版"
|
||
android:textColor="#000000"
|
||
android:textSize="9sp" />
|
||
|
||
</LinearLayout>
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<LinearLayout
|
||
android:layout_width="160dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_gravity="center"
|
||
android:orientation="horizontal"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="商品价格"
|
||
android:textColor="@color/activation_text_color"
|
||
android:textSize="9sp" />
|
||
|
||
<TextView
|
||
android:id="@+id/tv_vip_price"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="end"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="¥980.00"
|
||
android:textColor="#000000"
|
||
android:textSize="9sp" />
|
||
|
||
</LinearLayout>
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content">
|
||
|
||
<ImageView
|
||
android:layout_width="247dp"
|
||
android:layout_height="1dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_divider_line"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginTop="4dp"
|
||
android:layout_marginBottom="8dp">
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="180dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_gravity="center"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<ImageView
|
||
android:layout_width="63dp"
|
||
android:layout_height="14dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:onClick="@{click::useCoupons}"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_use_coupons"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
<ImageView
|
||
android:layout_width="63dp"
|
||
android:layout_height="14dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:onClick="@{click::useKey}"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_use_key"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
</LinearLayout>
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:id="@+id/cl_coupons"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:visibility="gone"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:layout_marginTop="32dp"
|
||
android:orientation="vertical">
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="输入优惠券码"
|
||
android:textColor="@color/black"
|
||
android:textSize="14sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<EditText
|
||
android:id="@+id/et_coupons"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="20dp"
|
||
android:layout_marginStart="32dp"
|
||
android:layout_marginEnd="32dp"
|
||
android:background="@drawable/edit_text_background"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:textColor="@color/black"
|
||
android:textSize="12sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_marginBottom="32dp"
|
||
|
||
android:layout_weight="1">
|
||
|
||
<ImageView
|
||
android:layout_width="110dp"
|
||
android:layout_height="25dp"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_confirm"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content">
|
||
|
||
<ImageView
|
||
android:layout_width="247dp"
|
||
android:layout_height="1dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_divider_line"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginTop="4dp"
|
||
android:layout_marginBottom="8dp">
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="180dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_gravity="center"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<ImageView
|
||
android:layout_width="63dp"
|
||
android:layout_height="14dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:onClick="@{click::useQrCode}"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_use_qrcode"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
<ImageView
|
||
android:layout_width="63dp"
|
||
android:layout_height="14dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:onClick="@{click::useKey}"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_use_key"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
</LinearLayout>
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:id="@+id/cl_key"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:visibility="gone"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:orientation="vertical">
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:text="输入许可证密钥"
|
||
android:textColor="@color/black"
|
||
android:textSize="14sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginStart="16dp"
|
||
android:layout_marginEnd="16dp"
|
||
android:gravity="center"
|
||
android:text="@string/license_hint"
|
||
android:textColor="#9bb2cc"
|
||
android:textSize="7sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<EditText
|
||
android:id="@+id/et_key"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="20dp"
|
||
android:layout_marginStart="32dp"
|
||
android:layout_marginEnd="32dp"
|
||
android:background="@drawable/edit_text_background"
|
||
android:gravity="center"
|
||
android:maxLines="1"
|
||
android:singleLine="true"
|
||
android:inputType="text"
|
||
android:textColor="@color/black"
|
||
android:textSize="12sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center"
|
||
android:maxLines="2"
|
||
android:text="@string/license_notice"
|
||
android:textColor="#D01D27"
|
||
android:textSize="7sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="0dp"
|
||
android:layout_weight="1">
|
||
|
||
<ImageView
|
||
android:layout_width="110dp"
|
||
android:layout_height="25dp"
|
||
android:adjustViewBounds="true"
|
||
android:onClick="@{click::keyConfirm}"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_confirm"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content">
|
||
|
||
<ImageView
|
||
android:layout_width="247dp"
|
||
android:layout_height="1dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_divider_line"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginTop="4dp"
|
||
android:layout_marginBottom="8dp">
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="180dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_gravity="center"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent">
|
||
|
||
<ImageView
|
||
android:layout_width="63dp"
|
||
android:layout_height="14dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:onClick="@{click::useCoupons}"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_use_coupons"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
<ImageView
|
||
android:layout_width="63dp"
|
||
android:layout_height="14dp"
|
||
android:layout_gravity="center"
|
||
android:adjustViewBounds="true"
|
||
android:onClick="@{click::useQrCode}"
|
||
android:scaleType="centerCrop"
|
||
android:src="@drawable/icon_activation_use_qrcode"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
</LinearLayout>
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
<TextView
|
||
android:id="@+id/textView5"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:text="@string/privacy_statement"
|
||
android:textColor="@color/activation_text_color"
|
||
android:textSize="5sp"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent" />
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
</layout> |