From d89074c694ae7d546157528db835d822adc46a54 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Wed, 2 Sep 2020 21:09:38 +1000 Subject: [PATCH] Dynamic UI mode menu icon. --- res/drawable/ic_baseline_night_mode_24.xml | 13 +++++++++++++ res/drawable/ic_baseline_palette_24.xml | 10 ---------- res/drawable/ic_outline_night_mode_24.xml | 12 ++++++++++++ res/drawable/ic_outline_night_mode_auto_24.xml | 15 +++++++++++++++ res/drawable/ic_ui_mode_24.xml | 6 ++++++ res/menu/settings_general.xml | 2 +- .../securesms/loki/activities/SettingsActivity.kt | 7 +++++++ 7 files changed, 54 insertions(+), 11 deletions(-) create mode 100644 res/drawable/ic_baseline_night_mode_24.xml delete mode 100644 res/drawable/ic_baseline_palette_24.xml create mode 100644 res/drawable/ic_outline_night_mode_24.xml create mode 100644 res/drawable/ic_outline_night_mode_auto_24.xml create mode 100644 res/drawable/ic_ui_mode_24.xml diff --git a/res/drawable/ic_baseline_night_mode_24.xml b/res/drawable/ic_baseline_night_mode_24.xml new file mode 100644 index 0000000000..a8eeb6d746 --- /dev/null +++ b/res/drawable/ic_baseline_night_mode_24.xml @@ -0,0 +1,13 @@ + + + diff --git a/res/drawable/ic_baseline_palette_24.xml b/res/drawable/ic_baseline_palette_24.xml deleted file mode 100644 index 4bf1550859..0000000000 --- a/res/drawable/ic_baseline_palette_24.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/res/drawable/ic_outline_night_mode_24.xml b/res/drawable/ic_outline_night_mode_24.xml new file mode 100644 index 0000000000..8b8b2700ac --- /dev/null +++ b/res/drawable/ic_outline_night_mode_24.xml @@ -0,0 +1,12 @@ + + + diff --git a/res/drawable/ic_outline_night_mode_auto_24.xml b/res/drawable/ic_outline_night_mode_auto_24.xml new file mode 100644 index 0000000000..8eec957e0e --- /dev/null +++ b/res/drawable/ic_outline_night_mode_auto_24.xml @@ -0,0 +1,15 @@ + + + + diff --git a/res/drawable/ic_ui_mode_24.xml b/res/drawable/ic_ui_mode_24.xml new file mode 100644 index 0000000000..8e7eb28573 --- /dev/null +++ b/res/drawable/ic_ui_mode_24.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/res/menu/settings_general.xml b/res/menu/settings_general.xml index a051079b30..7b00698cd2 100644 --- a/res/menu/settings_general.xml +++ b/res/menu/settings_general.xml @@ -6,7 +6,7 @@