diff --git a/app/src/main/res/layout/bgsource_item.xml b/app/src/main/res/layout/bgsource_item.xml index 03929f1f05..5d3e8595c6 100644 --- a/app/src/main/res/layout/bgsource_item.xml +++ b/app/src/main/res/layout/bgsource_item.xml @@ -1,13 +1,17 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + app:cardElevation="4dp" + android:layout_gravity="center"> - + diff --git a/app/src/main/res/layout/food_item.xml b/app/src/main/res/layout/food_item.xml index 9899d83d23..10da29c42e 100644 --- a/app/src/main/res/layout/food_item.xml +++ b/app/src/main/res/layout/food_item.xml @@ -1,11 +1,21 @@ - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:layout_marginTop="4dp" + app:strokeWidth="1dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + app:cardElevation="4dp" + app:cardUseCompatPadding="true" + android:layout_gravity="center"> - + diff --git a/app/src/main/res/layout/objectives_item.xml b/app/src/main/res/layout/objectives_item.xml index b0906b8f02..3e2cf47050 100644 --- a/app/src/main/res/layout/objectives_item.xml +++ b/app/src/main/res/layout/objectives_item.xml @@ -1,18 +1,20 @@ - + app:contentPadding="16dp" + android:layout_gravity="center"> - + diff --git a/app/src/main/res/layout/overview_notification_item.xml b/app/src/main/res/layout/overview_notification_item.xml index aba885b816..8f04a749d1 100644 --- a/app/src/main/res/layout/overview_notification_item.xml +++ b/app/src/main/res/layout/overview_notification_item.xml @@ -1,14 +1,17 @@ - + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + android:layout_gravity="center" + app:cardBackgroundColor="?attr/notificationUrgent"> - + diff --git a/app/src/main/res/layout/overview_quickwizardlist_item.xml b/app/src/main/res/layout/overview_quickwizardlist_item.xml index 2496e6e0bc..56824188e9 100644 --- a/app/src/main/res/layout/overview_quickwizardlist_item.xml +++ b/app/src/main/res/layout/overview_quickwizardlist_item.xml @@ -1,15 +1,19 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + app:cardElevation="4dp" + app:cardUseCompatPadding="true" + android:layout_gravity="center"> + app:srcCompat="@drawable/ic_quick_wizard" /> + app:srcCompat="@drawable/ic_reorder_gray_24dp" /> - + diff --git a/app/src/main/res/layout/treatments_bolus_carbs_item.xml b/app/src/main/res/layout/treatments_bolus_carbs_item.xml index 5c3c7502b6..9df632f958 100644 --- a/app/src/main/res/layout/treatments_bolus_carbs_item.xml +++ b/app/src/main/res/layout/treatments_bolus_carbs_item.xml @@ -1,11 +1,16 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + android:layout_gravity="center"> - + diff --git a/app/src/main/res/layout/treatments_careportal_item.xml b/app/src/main/res/layout/treatments_careportal_item.xml index bb4fff2681..37d99500c0 100644 --- a/app/src/main/res/layout/treatments_careportal_item.xml +++ b/app/src/main/res/layout/treatments_careportal_item.xml @@ -1,11 +1,16 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + android:layout_gravity="center"> - + diff --git a/app/src/main/res/layout/treatments_extendedbolus_item.xml b/app/src/main/res/layout/treatments_extendedbolus_item.xml index 587a3e6410..6c691f2117 100644 --- a/app/src/main/res/layout/treatments_extendedbolus_item.xml +++ b/app/src/main/res/layout/treatments_extendedbolus_item.xml @@ -1,11 +1,16 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + android:layout_gravity="center"> - + diff --git a/app/src/main/res/layout/treatments_profileswitch_item.xml b/app/src/main/res/layout/treatments_profileswitch_item.xml index ee4331c46a..33133fefd8 100644 --- a/app/src/main/res/layout/treatments_profileswitch_item.xml +++ b/app/src/main/res/layout/treatments_profileswitch_item.xml @@ -1,11 +1,16 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + android:layout_gravity="center"> - + diff --git a/app/src/main/res/layout/treatments_tempbasals_item.xml b/app/src/main/res/layout/treatments_tempbasals_item.xml index 94840ce53a..c7a73f6058 100644 --- a/app/src/main/res/layout/treatments_tempbasals_item.xml +++ b/app/src/main/res/layout/treatments_tempbasals_item.xml @@ -1,11 +1,16 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + android:layout_gravity="center"> - + diff --git a/app/src/main/res/layout/treatments_temptarget_item.xml b/app/src/main/res/layout/treatments_temptarget_item.xml index b6a5ce8e0c..bcf62e24b5 100644 --- a/app/src/main/res/layout/treatments_temptarget_item.xml +++ b/app/src/main/res/layout/treatments_temptarget_item.xml @@ -1,11 +1,16 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + android:layout_gravity="center"> - + 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 50859ad4c5..39d68cfa89 100644 --- a/core/src/main/res/layout/maintenance_import_list_item.xml +++ b/core/src/main/res/layout/maintenance_import_list_item.xml @@ -1,5 +1,6 @@ - diff --git a/core/src/main/res/values-night/styles.xml b/core/src/main/res/values-night/styles.xml index 400072835a..7ee60326d9 100644 --- a/core/src/main/res/values-night/styles.xml +++ b/core/src/main/res/values-night/styles.xml @@ -47,8 +47,6 @@ @color/alarm @color/colorSetTempButton - - @color/cardColorBackground @color/exercise @@ -76,7 +74,6 @@ @color/pumpStatusBackground - ?attr/cardItemBackgroundColor @color/objectivesBackground @color/colorObjectivesDisabledText diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml index e6c81ff89f..1c46663b19 100644 --- a/core/src/main/res/values/attrs.xml +++ b/core/src/main/res/values/attrs.xml @@ -9,8 +9,6 @@ - - @@ -43,7 +41,6 @@ - diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index acb2b76ea6..136603f931 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -52,8 +52,6 @@ @color/alarm @color/colorSetTempButton - - ?attr/colorSurface @color/exercise @@ -81,7 +79,6 @@ @color/pumpStatusBackground - @color/midgray @color/objectivesBackground @color/colorObjectivesDisabledText diff --git a/dana/src/main/res/layout/danar_history_item.xml b/dana/src/main/res/layout/danar_history_item.xml index b319160c25..a0e5001855 100644 --- a/dana/src/main/res/layout/danar_history_item.xml +++ b/dana/src/main/res/layout/danar_history_item.xml @@ -1,11 +1,18 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + app:cardElevation="4dp" + app:cardUseCompatPadding="true" + android:layout_gravity="center"> - + diff --git a/diaconn/src/main/res/layout/diaconn_g8_history_item.xml b/diaconn/src/main/res/layout/diaconn_g8_history_item.xml index 8203d00bcc..71eb680a6e 100644 --- a/diaconn/src/main/res/layout/diaconn_g8_history_item.xml +++ b/diaconn/src/main/res/layout/diaconn_g8_history_item.xml @@ -1,14 +1,17 @@ - + android:layout_marginStart="4dp" + app:cardCornerRadius="4dp" + app:contentPadding="2dp" + app:cardElevation="4dp" + app:cardUseCompatPadding="true" + android:layout_gravity="center"> - +