From 6ee1a096f2c5f94e03a61fc96261da681d50c8c2 Mon Sep 17 00:00:00 2001 From: osodebailar Date: Mon, 4 Apr 2022 13:29:45 +0200 Subject: [PATCH] improve styling and visibility for import list items --- .../layout/maintenance_import_list_item.xml | 35 +++++++++---------- core/src/main/res/values-night/styles.xml | 2 ++ core/src/main/res/values/attrs.xml | 2 ++ core/src/main/res/values/colors.xml | 8 ++--- core/src/main/res/values/styles.xml | 2 ++ 5 files changed, 26 insertions(+), 23 deletions(-) diff --git a/core/src/main/res/layout/maintenance_import_list_item.xml b/core/src/main/res/layout/maintenance_import_list_item.xml index 30b58d31f0..50859ad4c5 100644 --- a/core/src/main/res/layout/maintenance_import_list_item.xml +++ b/core/src/main/res/layout/maintenance_import_list_item.xml @@ -1,14 +1,21 @@ - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:layout_marginTop="4dp" + app:strokeColor="?attr/strokeColor" + app:strokeWidth="2dp" + app:cardCornerRadius="3dp" + app:contentPadding="2dp" + app:cardElevation="2dp" + app:cardUseCompatPadding="false" + android:layout_gravity="center"> - - - - + diff --git a/core/src/main/res/values-night/styles.xml b/core/src/main/res/values-night/styles.xml index dcef1bf39c..b0b4a086b6 100644 --- a/core/src/main/res/values-night/styles.xml +++ b/core/src/main/res/values-night/styles.xml @@ -223,6 +223,8 @@ @color/bgi @color/ratio @color/activity + + @color/plastic_grey