From 68f64614c7922dfb79e6ce2ae5d9c8a9b1d90383 Mon Sep 17 00:00:00 2001 From: Nishith Khanna Date: Fri, 6 May 2022 15:44:45 +0530 Subject: Add support for auto adapt text color in light mode for widget --- .idea/codeStyles/Project.xml | 3 - .../e/privacycentralapp/widget/Widget.kt | 18 +++++ .../e/privacycentralapp/widget/WidgetUI.kt | 77 ++++++++++++++++++++-- .../res/drawable/ic_chevron_right_24dp_light.xml | 28 ++++++++ app/src/main/res/drawable/ic_settings_light.xml | 27 ++++++++ app/src/main/res/drawable/ic_shield_off_light.xml | 35 ++++++++++ app/src/main/res/drawable/ic_shield_on_light.xml | 34 ++++++++++ app/src/main/res/layout/widget.xml | 4 ++ app/src/main/res/values/colors.xml | 3 + 9 files changed, 221 insertions(+), 8 deletions(-) create mode 100644 app/src/main/res/drawable/ic_chevron_right_24dp_light.xml create mode 100644 app/src/main/res/drawable/ic_settings_light.xml create mode 100644 app/src/main/res/drawable/ic_shield_off_light.xml create mode 100644 app/src/main/res/drawable/ic_shield_on_light.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 88d0643..97c1063 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -31,9 +31,6 @@ - -