diff --git a/app/src/main/res/drawable/ic_target_eatingsoon.xml b/app/src/main/res/drawable/ic_target_eatingsoon.xml index 54b6162546..ec35d67c48 100644 --- a/app/src/main/res/drawable/ic_target_eatingsoon.xml +++ b/app/src/main/res/drawable/ic_target_eatingsoon.xml @@ -5,13 +5,13 @@ android:viewportHeight="24"> + android:fillColor="?attr/carbsColor"/> + android:fillColor="?attr/carbsColor"/> + android:fillColor="?attr/carbsColor"/> diff --git a/app/src/main/res/drawable/ic_xdrip.xml b/app/src/main/res/drawable/ic_xdrip.xml index 54f88823ba..bf2ee9b482 100644 --- a/app/src/main/res/drawable/ic_xdrip.xml +++ b/app/src/main/res/drawable/ic_xdrip.xml @@ -4,5 +4,6 @@ android:viewportHeight="24" android:viewportWidth="24" xmlns:android="http://schemas.android.com/apk/res/android"> - + diff --git a/app/src/main/res/layout/overview_buttons_layout.xml b/app/src/main/res/layout/overview_buttons_layout.xml index 872963859e..d4142c46b1 100644 --- a/app/src/main/res/layout/overview_buttons_layout.xml +++ b/app/src/main/res/layout/overview_buttons_layout.xml @@ -45,7 +45,7 @@ android:layout_weight="0.5" android:drawableTop="@drawable/icon_insulin_carbs" android:text="@string/overview_treatment_label" - android:textColor="?attr/treatmentButton" + android:textColor="?attr/icTreatmentColor" android:textSize="10sp" android:visibility="gone" tools:ignore="SmallSp" /> @@ -59,7 +59,7 @@ android:layout_weight="0.5" android:drawableTop="@drawable/ic_bolus" android:text="@string/overview_insulin_label" - android:textColor="?attr/insulinButtonColor" + android:textColor="?attr/icBolusColor" android:textSize="10sp" tools:ignore="SmallSp" /> @@ -72,7 +72,7 @@ android:layout_weight="0.5" android:drawableTop="@drawable/ic_cp_bolus_carbs" android:text="@string/treatments_wizard_carbs_label" - android:textColor="?attr/carbsButtonColor" + android:textColor="?attr/icBolusCarbsColor" android:textSize="10sp" tools:ignore="SmallSp" /> @@ -85,7 +85,7 @@ android:layout_weight="0.5" android:drawableTop="@drawable/ic_calculator" android:text="@string/overview_calculator_label" - android:textColor="?attr/calculatorButtonColor" + android:textColor="?attr/icCalculatorColor" android:textSize="10sp" tools:ignore="SmallSp" /> @@ -98,7 +98,7 @@ android:layout_weight="0.5" android:drawableTop="@drawable/ic_calibration" android:text="@string/overview_calibration" - android:textColor="?attr/calibrationButtonColor" + android:textColor="?attr/icCalibrationColor" android:textSize="10sp" android:visibility="gone" tools:ignore="SmallSp" /> @@ -112,7 +112,7 @@ android:layout_weight="0.5" android:drawableTop="@drawable/ic_xdrip" android:text="@string/overview_cgm" - android:textColor="?attr/calibrationButtonColor" + android:textColor="?attr/icCalibrationColor" android:textSize="10sp" android:visibility="gone" tools:ignore="SmallSp" /> @@ -127,7 +127,7 @@ android:drawableTop="@drawable/ic_quick_wizard" android:text="@string/quickwizard" android:hint="@string/quickwizard" - android:textColor="?attr/quickWizardButtonColor" + android:textColor="?attr/icQuickWizardColor" android:textSize="10sp" tools:ignore="SmallSp" /> diff --git a/app/src/main/res/layout/overview_fragment.xml b/app/src/main/res/layout/overview_fragment.xml index d39ac7a4ea..39187564ca 100644 --- a/app/src/main/res/layout/overview_fragment.xml +++ b/app/src/main/res/layout/overview_fragment.xml @@ -135,7 +135,7 @@ android:layout_height="wrap_content" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" - android:background="@color/pumpStatusBackground" + android:background="?attr/pumpStatusBackground" android:gravity="center_vertical|center_horizontal" android:paddingTop="6dp" android:paddingBottom="6dp" diff --git a/core/src/main/res/drawable-hdpi/background_total.xml b/core/src/main/res/drawable-hdpi/background_total.xml index 0a84006dee..e37fbd2035 100644 --- a/core/src/main/res/drawable-hdpi/background_total.xml +++ b/core/src/main/res/drawable-hdpi/background_total.xml @@ -3,6 +3,6 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> - + \ No newline at end of file diff --git a/core/src/main/res/drawable-hdpi/border_gray.xml b/core/src/main/res/drawable-hdpi/border_gray.xml index 7635f80234..a67f54bf90 100644 --- a/core/src/main/res/drawable-hdpi/border_gray.xml +++ b/core/src/main/res/drawable-hdpi/border_gray.xml @@ -3,7 +3,7 @@ - + diff --git a/core/src/main/res/drawable/ic_bolus.xml b/core/src/main/res/drawable/ic_bolus.xml index 6bbe19f3fc..83b67c9989 100644 --- a/core/src/main/res/drawable/ic_bolus.xml +++ b/core/src/main/res/drawable/ic_bolus.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/core/src/main/res/drawable/ic_calculator.xml b/core/src/main/res/drawable/ic_calculator.xml index 300e971bf4..3bd3d2e78d 100644 --- a/core/src/main/res/drawable/ic_calculator.xml +++ b/core/src/main/res/drawable/ic_calculator.xml @@ -4,11 +4,12 @@ android:viewportHeight="24" android:viewportWidth="24" xmlns:android="http://schemas.android.com/apk/res/android"> - - - - - - - + + + + + + + diff --git a/core/src/main/res/drawable/ic_calibration.xml b/core/src/main/res/drawable/ic_calibration.xml index cf3f592a41..3a1b98bcd4 100644 --- a/core/src/main/res/drawable/ic_calibration.xml +++ b/core/src/main/res/drawable/ic_calibration.xml @@ -5,11 +5,11 @@ android:viewportHeight="24"> + android:fillColor="?attr/icCalibrationColor"/> + android:fillColor="?attr/icCalibrationColor"/> + android:fillColor="?attr/icCalibrationColor"/> diff --git a/core/src/main/res/drawable/ic_cp_bolus_carbs.xml b/core/src/main/res/drawable/ic_cp_bolus_carbs.xml index e21b236b4e..dc22cbd2b5 100644 --- a/core/src/main/res/drawable/ic_cp_bolus_carbs.xml +++ b/core/src/main/res/drawable/ic_cp_bolus_carbs.xml @@ -4,5 +4,6 @@ android:viewportHeight="24" android:viewportWidth="24" xmlns:android="http://schemas.android.com/apk/res/android"> - + diff --git a/core/src/main/res/drawable/ic_quick_wizard.xml b/core/src/main/res/drawable/ic_quick_wizard.xml index b2d1f2569b..8e5d42cd3e 100644 --- a/core/src/main/res/drawable/ic_quick_wizard.xml +++ b/core/src/main/res/drawable/ic_quick_wizard.xml @@ -4,9 +4,10 @@ android:viewportHeight="24" android:viewportWidth="24" xmlns:android="http://schemas.android.com/apk/res/android"> - - - - - + + + + + diff --git a/core/src/main/res/values-night/styles.xml b/core/src/main/res/values-night/styles.xml index 9adb3ad930..9814347521 100644 --- a/core/src/main/res/values-night/styles.xml +++ b/core/src/main/res/values-night/styles.xml @@ -169,6 +169,13 @@ @color/dummy_background @color/white + + @color/colorInsulinButton + @color/colorCarbsButton + @color/colorCalculatorButton + @color/colorQuickWizardButton + @color/colorCalibrationButton + @color/colorTreatmentButton