From 8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Thu, 20 Apr 2023 14:16:02 -0400 Subject: android: Adjustments to home option card Several spacing/color adjustments provided by Flam --- src/android/app/src/main/res/layout/card_home_option.xml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/android/app/src/main/res/layout/card_home_option.xml b/src/android/app/src/main/res/layout/card_home_option.xml index aea354783..aa535943f 100644 --- a/src/android/app/src/main/res/layout/card_home_option.xml +++ b/src/android/app/src/main/res/layout/card_home_option.xml @@ -6,9 +6,10 @@ android:id="@+id/option_card" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginVertical="8dp" + android:layout_marginVertical="12dp" android:layout_marginHorizontal="16dp" android:background="?attr/selectableItemBackground" + android:backgroundTint="?attr/colorSurfaceVariant" android:clickable="true" android:focusable="true"> @@ -20,14 +21,15 @@ android:id="@+id/option_icon" android:layout_width="24dp" android:layout_height="24dp" - android:layout_marginStart="28dp" + android:layout_marginStart="24dp" android:layout_gravity="center_vertical" - app:tint="?attr/colorPrimary" /> + app:tint="?attr/colorOnSurface" /> -- cgit v1.2.3