From fa20d04ff4fe46a3e09f93e368dc435ae2e4d3a7 Mon Sep 17 00:00:00 2001 From: Arjan Schrijver Date: Tue, 1 Aug 2023 11:13:09 +0200 Subject: [PATCH] Fix action menu icons color --- ...ctivity_hybridhr_watchface_designer_actionbar.xml | 6 ++++-- app/src/main/res/menu/menu_charts.xml | 12 ++++++++---- app/src/main/res/values/attrs.xml | 1 + app/src/main/res/values/styles.xml | 4 ++++ 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/menu/activity_hybridhr_watchface_designer_actionbar.xml b/app/src/main/res/menu/activity_hybridhr_watchface_designer_actionbar.xml index fac80ec6b..5f38d16e4 100644 --- a/app/src/main/res/menu/activity_hybridhr_watchface_designer_actionbar.xml +++ b/app/src/main/res/menu/activity_hybridhr_watchface_designer_actionbar.xml @@ -3,13 +3,15 @@ \ No newline at end of file diff --git a/app/src/main/res/menu/menu_charts.xml b/app/src/main/res/menu/menu_charts.xml index cbec98937..edbe701ae 100644 --- a/app/src/main/res/menu/menu_charts.xml +++ b/app/src/main/res/menu/menu_charts.xml @@ -4,12 +4,16 @@ tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ActivityChartsActivity"> + app:iconTint="?attr/actionmenu_icon_color" + app:showAsAction="ifRoom" + /> + android:icon="@drawable/ic_settings" + app:iconTint="?attr/actionmenu_icon_color" + app:showAsAction="ifRoom" + /> diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 152459aba..c0d0068db 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -7,6 +7,7 @@ + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 03e88b183..b314ea33b 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -21,6 +21,7 @@ ?attr/colorPrimaryDark @android:color/white @color/cardview_light_background + @android:color/white @color/chart_deep_sleep_light @color/chart_light_sleep_light @color/chart_rem_sleep_light @@ -52,6 +53,7 @@ ?attr/colorPrimaryDark @android:color/white @color/cardview_dark_background + @android:color/white @color/chart_deep_sleep_dark @color/chart_light_sleep_dark @color/chart_rem_sleep_dark @@ -75,6 +77,7 @@ ?attr/colorSurface ?attr/colorOnSurface ?attr/colorSurface + ?attr/colorOnSurface ?attr/colorSecondaryContainer