|  | @@ -1,14 +1,129 @@
 | 
	
		
			
				|  |  |  <?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:ignore="ResourceName">
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    <data>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        <variable
 | 
	
		
			
				|  |  | +            name="data"
 | 
	
		
			
				|  |  | +            type="com.yingyangfly.baselib.bean.Record" />
 | 
	
		
			
				|  |  | +    </data>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      <androidx.constraintlayout.widget.ConstraintLayout
 | 
	
		
			
				|  |  | +        android:id="@+id/gameLayout"
 | 
	
		
			
				|  |  |          android:layout_width="match_parent"
 | 
	
		
			
				|  |  | -        android:layout_height="match_parent">
 | 
	
		
			
				|  |  | +        android:layout_height="match_parent"
 | 
	
		
			
				|  |  | +        android:background="@drawable/bg_game_introduction">
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        <androidx.appcompat.widget.AppCompatImageView
 | 
	
		
			
				|  |  | +            android:id="@+id/homeImage"
 | 
	
		
			
				|  |  | +            android:layout_width="@dimen/divider_48px"
 | 
	
		
			
				|  |  | +            android:layout_height="@dimen/divider_43px"
 | 
	
		
			
				|  |  | +            android:layout_marginStart="@dimen/divider_65px"
 | 
	
		
			
				|  |  | +            android:layout_marginTop="@dimen/divider_35px"
 | 
	
		
			
				|  |  | +            android:background="@mipmap/bg_home"
 | 
	
		
			
				|  |  | +            app:layout_constraintStart_toStartOf="parent"
 | 
	
		
			
				|  |  | +            app:layout_constraintTop_toTopOf="parent" />
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        <androidx.appcompat.widget.AppCompatTextView
 | 
	
		
			
				|  |  | +            android:id="@+id/tvTitle"
 | 
	
		
			
				|  |  | +            android:layout_width="@dimen/divider_266px"
 | 
	
		
			
				|  |  | +            android:layout_height="@dimen/divider_85px"
 | 
	
		
			
				|  |  | +            android:layout_marginTop="@dimen/divider_35px"
 | 
	
		
			
				|  |  | +            android:background="@drawable/bg_game_title"
 | 
	
		
			
				|  |  | +            android:gravity="center"
 | 
	
		
			
				|  |  | +            android:text="@{data.gameName}"
 | 
	
		
			
				|  |  | +            android:textColor="@color/color_FFFFA413"
 | 
	
		
			
				|  |  | +            android:textSize="@dimen/divider_34px"
 | 
	
		
			
				|  |  | +            app:layout_constraintEnd_toEndOf="parent"
 | 
	
		
			
				|  |  | +            app:layout_constraintStart_toStartOf="parent"
 | 
	
		
			
				|  |  | +            app:layout_constraintTop_toTopOf="parent" />
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        <com.google.android.material.card.MaterialCardView
 | 
	
		
			
				|  |  | +            android:id="@+id/gameCardLayout"
 | 
	
		
			
				|  |  | +            android:layout_width="match_parent"
 | 
	
		
			
				|  |  | +            android:layout_height="@dimen/divider_522px"
 | 
	
		
			
				|  |  | +            android:layout_marginStart="@dimen/divider_43px"
 | 
	
		
			
				|  |  | +            android:layout_marginTop="@dimen/divider_20px"
 | 
	
		
			
				|  |  | +            android:layout_marginEnd="@dimen/divider_43px"
 | 
	
		
			
				|  |  | +            android:theme="@style/Theme.MaterialComponents.NoActionBar"
 | 
	
		
			
				|  |  | +            app:cardBackgroundColor="@color/color_FFF2EFFF"
 | 
	
		
			
				|  |  | +            app:cardCornerRadius="@dimen/divider_49px"
 | 
	
		
			
				|  |  | +            app:layout_constraintEnd_toEndOf="parent"
 | 
	
		
			
				|  |  | +            app:layout_constraintStart_toStartOf="parent"
 | 
	
		
			
				|  |  | +            app:layout_constraintTop_toBottomOf="@+id/tvTitle">
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            <LinearLayout
 | 
	
		
			
				|  |  | +                android:layout_width="match_parent"
 | 
	
		
			
				|  |  | +                android:layout_height="match_parent"
 | 
	
		
			
				|  |  | +                android:orientation="horizontal">
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                <com.google.android.material.card.MaterialCardView
 | 
	
		
			
				|  |  | +                    android:layout_width="0dp"
 | 
	
		
			
				|  |  | +                    android:layout_height="match_parent"
 | 
	
		
			
				|  |  | +                    android:layout_marginStart="@dimen/divider_27px"
 | 
	
		
			
				|  |  | +                    android:layout_marginTop="@dimen/divider_29px"
 | 
	
		
			
				|  |  | +                    android:layout_marginEnd="@dimen/divider_15px"
 | 
	
		
			
				|  |  | +                    android:layout_marginBottom="@dimen/divider_33px"
 | 
	
		
			
				|  |  | +                    android:layout_weight="1"
 | 
	
		
			
				|  |  | +                    android:theme="@style/Theme.MaterialComponents.NoActionBar"
 | 
	
		
			
				|  |  | +                    app:cardBackgroundColor="@android:color/white"
 | 
	
		
			
				|  |  | +                    app:cardCornerRadius="@dimen/divider_26px"
 | 
	
		
			
				|  |  | +                    app:layout_constraintBottom_toBottomOf="parent"
 | 
	
		
			
				|  |  | +                    app:layout_constraintStart_toStartOf="parent"
 | 
	
		
			
				|  |  | +                    app:layout_constraintTop_toTopOf="parent">
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                </com.google.android.material.card.MaterialCardView>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                <com.google.android.material.card.MaterialCardView
 | 
	
		
			
				|  |  | +                    android:layout_width="0dp"
 | 
	
		
			
				|  |  | +                    android:layout_height="match_parent"
 | 
	
		
			
				|  |  | +                    android:layout_marginStart="@dimen/divider_15px"
 | 
	
		
			
				|  |  | +                    android:layout_marginTop="@dimen/divider_29px"
 | 
	
		
			
				|  |  | +                    android:layout_marginEnd="@dimen/divider_28px"
 | 
	
		
			
				|  |  | +                    android:layout_marginBottom="@dimen/divider_33px"
 | 
	
		
			
				|  |  | +                    android:layout_weight="1"
 | 
	
		
			
				|  |  | +                    android:theme="@style/Theme.MaterialComponents.NoActionBar"
 | 
	
		
			
				|  |  | +                    app:cardBackgroundColor="@android:color/white"
 | 
	
		
			
				|  |  | +                    app:cardCornerRadius="@dimen/divider_26px"
 | 
	
		
			
				|  |  | +                    app:layout_constraintBottom_toBottomOf="parent"
 | 
	
		
			
				|  |  | +                    app:layout_constraintStart_toStartOf="parent"
 | 
	
		
			
				|  |  | +                    app:layout_constraintTop_toTopOf="parent">
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +                </com.google.android.material.card.MaterialCardView>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +            </LinearLayout>
 | 
	
		
			
				|  |  | +        </com.google.android.material.card.MaterialCardView>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        <androidx.appcompat.widget.AppCompatTextView
 | 
	
		
			
				|  |  | +            android:id="@+id/tvRecord"
 | 
	
		
			
				|  |  | +            android:layout_width="@dimen/divider_299px"
 | 
	
		
			
				|  |  | +            android:layout_height="@dimen/divider_87px"
 | 
	
		
			
				|  |  | +            android:layout_marginStart="@dimen/divider_238px"
 | 
	
		
			
				|  |  | +            android:layout_marginTop="@dimen/divider_42px"
 | 
	
		
			
				|  |  | +            android:layout_marginBottom="@dimen/divider_43px"
 | 
	
		
			
				|  |  | +            android:background="@drawable/bg_game_record"
 | 
	
		
			
				|  |  | +            android:gravity="center"
 | 
	
		
			
				|  |  | +            android:text='@{"最佳纪录 "+data.gameScore}'
 | 
	
		
			
				|  |  | +            android:textColor="@color/color_FFFFA413"
 | 
	
		
			
				|  |  | +            android:textSize="@dimen/divider_28px"
 | 
	
		
			
				|  |  | +            app:layout_constraintBottom_toBottomOf="parent"
 | 
	
		
			
				|  |  | +            app:layout_constraintStart_toStartOf="parent"
 | 
	
		
			
				|  |  | +            app:layout_constraintTop_toBottomOf="@+id/gameCardLayout" />
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        <androidx.appcompat.widget.AppCompatButton
 | 
	
		
			
				|  |  | +            android:id="@+id/btnStartGame"
 | 
	
		
			
				|  |  | +            android:layout_width="@dimen/divider_299px"
 | 
	
		
			
				|  |  | +            android:layout_height="@dimen/divider_87px"
 | 
	
		
			
				|  |  | +            android:layout_marginStart="@dimen/divider_90px"
 | 
	
		
			
				|  |  | +            android:background="@drawable/bg_start_game"
 | 
	
		
			
				|  |  | +            app:layout_constraintBottom_toBottomOf="parent"
 | 
	
		
			
				|  |  | +            app:layout_constraintStart_toEndOf="@+id/tvRecord"
 | 
	
		
			
				|  |  | +            app:layout_constraintTop_toBottomOf="@+id/gameCardLayout" />
 | 
	
		
			
				|  |  |      </androidx.constraintlayout.widget.ConstraintLayout>
 | 
	
		
			
				|  |  |  </layout>
 |