summaryrefslogtreecommitdiff
path: root/Source/Android
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2022-05-15 17:31:49 -0400
committerCharles Lombardo <clombardo169@gmail.com>2022-05-15 17:31:49 -0400
commit9224c099d41929905dd100a44bed1b100f9aec6c (patch)
treec3ca9c956f7751e3acda9d53bdcce7f27bf4f373 /Source/Android
parent8132dc4aa64fd1f1d594ddc9259040431c0d1fd2 (diff)
Fix game card in landscape
Diffstat (limited to 'Source/Android')
-rw-r--r--Source/Android/app/src/main/res/layout/card_game.xml14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/Android/app/src/main/res/layout/card_game.xml b/Source/Android/app/src/main/res/layout/card_game.xml
index fe807f2af1..7bead263f4 100644
--- a/Source/Android/app/src/main/res/layout/card_game.xml
+++ b/Source/Android/app/src/main/res/layout/card_game.xml
@@ -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