|
|
@@ -69,73 +69,82 @@
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
- <com.google.android.material.card.MaterialCardView
|
|
|
+ <FrameLayout
|
|
|
android:id="@+id/gamelayout"
|
|
|
android:layout_width="@dimen/divider_665px"
|
|
|
- android:layout_height="@dimen/divider_451px"
|
|
|
- android:layout_marginStart="@dimen/divider_112px"
|
|
|
- android:layout_marginTop="@dimen/divider_71px"
|
|
|
- android:theme="@style/Theme.MaterialComponents.NoActionBar"
|
|
|
- app:cardBackgroundColor="@android:color/white"
|
|
|
- app:cardCornerRadius="@dimen/divider_28px"
|
|
|
+ android:layout_height="@dimen/divider_467px"
|
|
|
+ android:layout_marginStart="@dimen/divider_110px"
|
|
|
+ android:layout_marginTop="@dimen/divider_136px"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/backLayout">
|
|
|
-
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
-
|
|
|
- <androidx.appcompat.widget.AppCompatImageView
|
|
|
- android:id="@+id/gameImage"
|
|
|
- android:layout_width="@dimen/divider_106px"
|
|
|
- android:layout_height="@dimen/divider_106px"
|
|
|
- android:layout_marginStart="@dimen/divider_26px"
|
|
|
- android:layout_marginTop="@dimen/divider_32px"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:loadHeadImg="@{data.gameCoverImage}" />
|
|
|
-
|
|
|
- <androidx.appcompat.widget.AppCompatTextView
|
|
|
- android:id="@+id/tvGameName"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/divider_26px"
|
|
|
- android:layout_marginTop="@dimen/divider_45px"
|
|
|
- android:text="@{data.gameName}"
|
|
|
- android:textColor="@color/color_FFFF6F6F"
|
|
|
- android:textSize="@dimen/divider_28px"
|
|
|
- android:textStyle="bold"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/gameImage"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- tools:text="抓小羊" />
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rvGameLevel"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <com.google.android.material.card.MaterialCardView
|
|
|
+ android:layout_width="@dimen/divider_665px"
|
|
|
+ android:layout_height="@dimen/divider_451px"
|
|
|
+ android:theme="@style/Theme.MaterialComponents.NoActionBar"
|
|
|
+ app:cardBackgroundColor="@android:color/white"
|
|
|
+ app:cardCornerRadius="@dimen/divider_28px"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/backLayout">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_marginStart="@dimen/divider_26px"
|
|
|
- android:layout_marginTop="@dimen/divider_20px"
|
|
|
- android:layout_marginEnd="@dimen/divider_28px"
|
|
|
- android:layout_marginBottom="@dimen/divider_36px"
|
|
|
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/gameImage" />
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
- </com.google.android.material.card.MaterialCardView>
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/gameImage"
|
|
|
+ android:layout_width="@dimen/divider_106px"
|
|
|
+ android:layout_height="@dimen/divider_106px"
|
|
|
+ android:layout_marginStart="@dimen/divider_26px"
|
|
|
+ android:layout_marginTop="@dimen/divider_32px"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:loadHeadImg="@{data.gameCoverImage}" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tvGameName"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/divider_26px"
|
|
|
+ android:layout_marginTop="@dimen/divider_45px"
|
|
|
+ android:text="@{data.gameName}"
|
|
|
+ android:textColor="@color/color_FFFF6F6F"
|
|
|
+ android:textSize="@dimen/divider_28px"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/gameImage"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:text="抓小羊" />
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rvGameLevel"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginStart="@dimen/divider_26px"
|
|
|
+ android:layout_marginTop="@dimen/divider_20px"
|
|
|
+ android:layout_marginEnd="@dimen/divider_28px"
|
|
|
+ android:layout_marginBottom="@dimen/divider_36px"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/gameImage" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </com.google.android.material.card.MaterialCardView>
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
- <com.google.android.material.card.MaterialCardView
|
|
|
+ <FrameLayout
|
|
|
android:id="@+id/gameStatuslayout"
|
|
|
- android:layout_width="@dimen/divider_294px"
|
|
|
- android:layout_height="@dimen/divider_451px"
|
|
|
- android:layout_marginStart="@dimen/divider_32px"
|
|
|
- android:layout_marginTop="@dimen/divider_71px"
|
|
|
- android:theme="@style/Theme.MaterialComponents.NoActionBar"
|
|
|
- app:cardBackgroundColor="@android:color/white"
|
|
|
- app:cardCornerRadius="@dimen/divider_28px"
|
|
|
+ android:layout_width="@dimen/divider_365px"
|
|
|
+ android:layout_height="@dimen/divider_512px"
|
|
|
+ android:layout_marginTop="@dimen/divider_80px"
|
|
|
app:layout_constraintStart_toEndOf="@+id/gamelayout"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/backLayout">
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@mipmap/bg_game_settlement_content"
|
|
|
+ android:scaleType="centerInside" />
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -155,6 +164,6 @@
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
- </com.google.android.material.card.MaterialCardView>
|
|
|
+ </FrameLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
</layout>
|