diff --git a/app/src/main/res/layout/objectives_exam_fragment.xml b/app/src/main/res/layout/objectives_exam_fragment.xml index b5fd8b70b9..77ef669e3f 100644 --- a/app/src/main/res/layout/objectives_exam_fragment.xml +++ b/app/src/main/res/layout/objectives_exam_fragment.xml @@ -28,6 +28,7 @@ android:layout_height="wrap_content" android:layout_marginTop="16dp" android:layout_marginBottom="10dp" + android:background="?attr/objectivesBackgroundColor" android:orientation="vertical" app:layout_constraintTop_toBottomOf="@+id/exam_options" tools:layout_editor_absoluteX="3dp" /> diff --git a/app/src/main/res/layout/objectives_item.xml b/app/src/main/res/layout/objectives_item.xml index 7ea4fea232..b0906b8f02 100644 --- a/app/src/main/res/layout/objectives_item.xml +++ b/app/src/main/res/layout/objectives_item.xml @@ -8,8 +8,9 @@ android:layout_marginLeft="16dp" android:layout_marginTop="16dp" android:layout_marginRight="16dp" - app:cardBackgroundColor="?attr/cardItemBackgroundColor" + app:cardBackgroundColor="?attr/objectivescardItemBackgroundColor" app:cardCornerRadius="2dp" + app:cardElevation="8dp" app:cardUseCompatPadding="true" app:contentPadding="16dp"> diff --git a/core/src/main/res/values-night/styles.xml b/core/src/main/res/values-night/styles.xml index 6af4a3018b..bd4e0d8a15 100644 --- a/core/src/main/res/values-night/styles.xml +++ b/core/src/main/res/values-night/styles.xml @@ -71,6 +71,7 @@ @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 ce4561af52..1078e1607c 100644 --- a/core/src/main/res/values/attrs.xml +++ b/core/src/main/res/values/attrs.xml @@ -44,6 +44,7 @@ + diff --git a/core/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml index f6fa73a66e..ddf424d750 100644 --- a/core/src/main/res/values/colors.xml +++ b/core/src/main/res/values/colors.xml @@ -226,7 +226,7 @@ #323232 #424242 - #3C3C3C + #8C8C8C #666666 #777777 #8c8c8c @@ -309,6 +309,7 @@ #1C1B1F #FAF9F8 #1C1B1F - #E7E0EC + #E2E0DF + diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index ab6967991c..43a98803bd 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -11,7 +11,7 @@ @color/aaps_theme_light_onError @color/aaps_theme_light_background @color/aaps_theme_light_onBackground - @color/aaps_theme_light_surface + @color/aaps_theme_light_surfaceVariant @color/aaps_theme_light_onSurface @color/colorPrimaryDark @color/aaps_theme_light_secondary @@ -79,6 +79,7 @@ @color/pumpStatusBackground + @color/midgray @color/objectivesBackground @color/colorObjectivesDisabledText