From 26cb52883bcd7f11ca18312df05e84e146d7f9b9 Mon Sep 17 00:00:00 2001 From: Philoul Date: Fri, 19 Feb 2021 21:25:55 +0100 Subject: [PATCH] Change Selected item background color --- .../nightscout/androidaps/activities/ProfileHelperActivity.kt | 2 +- app/src/main/res/values/colors.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/activities/ProfileHelperActivity.kt b/app/src/main/java/info/nightscout/androidaps/activities/ProfileHelperActivity.kt index 8a9d37dc6e..542fdf95ac 100644 --- a/app/src/main/java/info/nightscout/androidaps/activities/ProfileHelperActivity.kt +++ b/app/src/main/java/info/nightscout/androidaps/activities/ProfileHelperActivity.kt @@ -290,7 +290,7 @@ class ProfileHelperActivity : NoSplashAppCompatActivity() { } private fun setBackgroundColorOnSelected(tab: Int) { - binding.menu1.setBackgroundColor(resourceHelper.gc(if (tab == 1) R.color.defaultbackground else R.color.tabBgColorSelected)) + binding.menu1.setBackgroundColor(resourceHelper.gc(if (tab == 1) R.color.defaultbackground else R.color.tempbasal)) binding.menu2.setBackgroundColor(resourceHelper.gc(if (tab == 0) R.color.defaultbackground else R.color.examinedProfile)) } } diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index c45b97d50c..c03d4b1ce8 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -10,7 +10,7 @@ #FFFFFF00 #FFFF00FF #FFFF00 - #FF33B5E5 + #FF666666 #FF0000 #7484E2 #2800FF00