|
@@ -0,0 +1,186 @@
|
|
|
|
+<?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">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="132dp"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ android:layout_marginBottom="360dp"
|
|
|
|
+ android:background="@mipmap/head_traffic"/>
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="132dp"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ android:layout_marginTop="320dp"
|
|
|
|
+ android:background="@mipmap/footer_traffic"/>
|
|
|
|
+
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
+ android:id="@+id/cl_content"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:paddingStart="40dp"
|
|
|
|
+ android:paddingEnd="42dp"
|
|
|
|
+ android:paddingTop="12dp"
|
|
|
|
+ android:paddingBottom="14dp"
|
|
|
|
+ android:background="@mipmap/bg_traffic"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/layout_1"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="80dp"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:weightSum="4"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_1"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_2"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_3"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_4"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/layout_2"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:weightSum="4"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/layout_1">
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:layout_weight="1">
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_12"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="80dp" />
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_11"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="80dp"/>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="2">
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/ivStart"
|
|
|
|
+ android:layout_marginBottom="38dp"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:background="@mipmap/bg_start_traffic"/>
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_marginBottom="38dp"
|
|
|
|
+ android:layout_marginTop="45dp"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
+ android:layout_width="96dp"
|
|
|
|
+ android:layout_height="41dp"
|
|
|
|
+ android:background="@mipmap/ic_start_traffic"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ android:text="@string/login_daily_spin_one"
|
|
|
|
+ android:textColor="@color/_ffffff"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:textSize="11sp"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:layout_marginBottom="@dimen/dp_10"/>
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:layout_weight="1">
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_5"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="80dp"/>
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_6"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="80dp" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/layout_3"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="80dp"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:weightSum="4"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/layout_2">
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_10"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_9"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_8"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/view_7"
|
|
|
|
+ layout="@layout/item_lottery"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
+
|
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|