Fix game card in landscape

This commit is contained in:
Charles Lombardo 2022-05-15 17:31:49 -04:00
parent 8132dc4aa6
commit 9224c099d4
1 changed files with 5 additions and 9 deletions

View File

@ -12,24 +12,20 @@
android:paddingStart="4dp"
android:paddingTop="8dp"
android:paddingEnd="4dp"
android:transitionName="card_game"
tools:layout_width="160dp">
android:transitionName="card_game">
<androidx.cardview.widget.CardView
android:id="@+id/card_game_art"
android:layout_width="match_parent"
android:layout_height="159dp"
android:layout_width="115dp"
android:layout_height="161dp"
android:layout_gravity="center"
app:cardCornerRadius="4dp"
tools:layout_width="140dp">
app:cardCornerRadius="4dp">
<ImageView
android:id="@+id/image_game_screen"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
tools:scaleType="centerCrop"
tools:src="@drawable/placeholder_screenshot" />
android:layout_weight="1"/>
</androidx.cardview.widget.CardView>
<TextView