From e4a1bff5cb07c8ec65def05441b8edb2e58124b5 Mon Sep 17 00:00:00 2001 From: Roman Birg Date: Tue, 12 Jan 2016 21:21:18 +0700 Subject: [PATCH] Cherish:Add Quick Settings Pulldown options [2/2] --- res/values/cherish_arrays.xml | 15 ++++++++ res/values/cherish_strings.xml | 9 +++++ res/xml/cherish_settings_quicksettings.xml | 7 ++++ .../settings/fragments/QuickSettings.java | 34 ++++++++++++++++++- 4 files changed, 64 insertions(+), 1 deletion(-) diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index 33dc3c3..3ff575b 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -326,4 +326,19 @@ 0 1 + + + + @string/quick_pulldown_off + @string/quick_pulldown_right + @string/quick_pulldown_left + @string/quick_pulldown_always + + + + 0 + 1 + 2 + 3 + diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 048e8ba..8df77c5 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -421,5 +421,14 @@ Disable quick settings when locked Disable expanding quick settings on secure lock screens + + + Quick pulldown + %1$s edge of the status bar pulls down Quick Settings + Always show Quick Settings on status bar pulldown + Off + Left + Right + Always diff --git a/res/xml/cherish_settings_quicksettings.xml b/res/xml/cherish_settings_quicksettings.xml index c642136..baaacff 100644 --- a/res/xml/cherish_settings_quicksettings.xml +++ b/res/xml/cherish_settings_quicksettings.xml @@ -66,6 +66,13 @@ + +