From 6eb911165722d0e3e254f92e8aab29b54497bd0e Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Fri, 22 Apr 2022 12:56:58 -0400 Subject: [PATCH] Modernize game card +Remove background on card +Increase max # of lines for game title +Root layout is now a linear layout with the card view rounding the corners on the box art --- .../app/src/main/res/layout/card_game.xml | 90 ++++++++++--------- 1 file changed, 47 insertions(+), 43 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 84e0cf503b..fe807f2af1 100644 --- a/Source/Android/app/src/main/res/layout/card_game.xml +++ b/Source/Android/app/src/main/res/layout/card_game.xml @@ -1,57 +1,61 @@ - + android:clipToPadding="false" + android:focusable="true" + android:orientation="vertical" + android:paddingStart="4dp" + android:paddingTop="8dp" + android:paddingEnd="4dp" + android:transitionName="card_game" + tools:layout_width="160dp"> - + android:layout_height="159dp" + android:layout_gravity="center" + app:cardCornerRadius="4dp" + tools:layout_width="140dp"> + tools:scaleType="centerCrop" + tools:src="@drawable/placeholder_screenshot" /> + - + - - - - - + +