From b20208fb40d4d6a1342cd66ffdeb94c639b2578f Mon Sep 17 00:00:00 2001 From: kfj001 Date: Tue, 26 May 2026 11:24:10 -0700 Subject: [PATCH] Make chip selection background green to match app theme Add custom chip_duration_bg selector drawable (green when checked, light gray when unchecked) and wire it through a ChipDuration chipStyle in the theme. This overrides Material3's default purple checked state. Co-Authored-By: Claude Opus 4.7 --- app/src/main/res/drawable/chip_duration_bg.xml | 15 +++++++++++++++ app/src/main/res/values/themes.xml | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 app/src/main/res/drawable/chip_duration_bg.xml diff --git a/app/src/main/res/drawable/chip_duration_bg.xml b/app/src/main/res/drawable/chip_duration_bg.xml new file mode 100644 index 0000000..ef1cfb0 --- /dev/null +++ b/app/src/main/res/drawable/chip_duration_bg.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index a36146a..b277b59 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,12 +1,19 @@ + + #2E7D32 + #81C784 #4C6842 #F1F8E9