From 093a00c572a29d292bc6bbb09559611cb61e1331 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Thu, 30 Dec 2021 00:26:05 +0100 Subject: Add themes Add a "Theme" option to choose between a dark and light theme. The light theme uses the colors of the dark theme with the luminance inversed. The reloading after a configuration change is changed slightly: - Special handling is needed when the Theme is changed (recreate the views) - The default implementation of 'onConfigurationChanged' is used Which triggers more refresh (but don't recreate the views) - 'onCreateInputView' is no longer needed --- res/xml/settings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/xml') diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 568b6c1..8561717 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -2,7 +2,6 @@ - /> @@ -16,6 +15,7 @@ + -- cgit v1.2.3