|
|
@@ -0,0 +1,109 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<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"
|
|
|
+ android:background="@color/color_FFA052E5"
|
|
|
+ android:fitsSystemWindows="false"
|
|
|
+ tools:layout_height="858dp">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/iv_header"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintDimensionRatio="750:858"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:srcCompat="@drawable/lucky_gift_bg" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/iv_back"
|
|
|
+ android:layout_width="32dp"
|
|
|
+ android:layout_height="32dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:srcCompat="@drawable/common_back_white_56_ic" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/iv_title"
|
|
|
+ android:layout_width="300dp"
|
|
|
+ android:layout_height="66dp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/iv_back"
|
|
|
+ app:srcCompat="@drawable/lucky_gift_title" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_desc"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginHorizontal="13dp"
|
|
|
+ android:background="@drawable/lucky_gift_desc_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="2"
|
|
|
+ android:paddingHorizontal="50dp"
|
|
|
+ android:text="@string/gift_lucky_gift_reward_desc"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_bias="0.45" />
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/rule_container"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginHorizontal="12dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:background="@drawable/lucky_gift_rule_border"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_desc">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:layout_width="11dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ app:srcCompat="@drawable/lucky_gift_rule_left_ic"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/tv_rule_title"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/tv_rule_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/tv_rule_title" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_rule_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:text="@string/common_rule"
|
|
|
+ android:textColor="@color/color_FF541BFF"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:layout_width="11dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ app:srcCompat="@drawable/lucky_gift_rule_right_ic"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/tv_rule_title"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/tv_rule_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/tv_rule_title" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_rule_desc"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginHorizontal="12dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textColor="@color/color_FF462E90"
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:text="@string/gift_lucky_gift_rule_desc"
|
|
|
+ android:lineSpacingMultiplier="1.4"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_rule_title" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|