From bf331abcdc6565bbacb03801ab1fa9f5633d4edd Mon Sep 17 00:00:00 2001 From: lynxnb Date: Fri, 21 Jan 2022 19:25:46 +0100 Subject: [PATCH] Improve design consistency across the app Game images, buttons and dialogs now have a consistent corner radius, across all game list layouts. --- app/src/main/res/layout/app_dialog.xml | 2 +- app/src/main/res/layout/app_item_grid.xml | 2 +- .../main/res/layout/app_item_grid_compact.xml | 2 +- app/src/main/res/layout/app_item_linear.xml | 2 +- app/src/main/res/layout/main_activity.xml | 2 +- app/src/main/res/values/dimens.xml | 3 ++- app/src/main/res/values/styles.xml | 27 ++++++++++++++++++- app/src/main/res/values/themes.xml | 7 +++-- 8 files changed, 38 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/app_dialog.xml b/app/src/main/res/layout/app_dialog.xml index 98a530f2..0039790a 100644 --- a/app/src/main/res/layout/app_dialog.xml +++ b/app/src/main/res/layout/app_dialog.xml @@ -14,7 +14,7 @@ android:layout_height="150dp" android:contentDescription="@string/icon" android:focusable="false" - app:shapeAppearanceOverlay="@style/RoundedAppImage" + app:shapeAppearance="?attr/shapeAppearanceSmallComponent" tools:src="@drawable/default_icon" /> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 247fbb1a..6929ead2 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,5 +1,6 @@ 8dp - 8dp + 6dp + 12dp diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index c7c9f300..8c3774d1 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,11 +1,36 @@ - + + + + + + + + + + + +