Cherish:Add pref for qs brightness slider position [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Ido Ben-Hur
2020-10-03 15:43:31 +03:00
committed by Hưng Phan
parent 6ac11610e5
commit 31e425c4da
5 changed files with 127 additions and 1 deletions

View File

@@ -17,6 +17,15 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/quicksettings_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<!-- QS brightness slider -->
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="qs_show_brightness"
android:icon="@drawable/ic_brightness"
android:title="@string/qs_show_brightness_title"
android:summary="@string/qs_show_brightness_summary"
android:fragment="com.cherish.settings.fragments.BrightnessSliderSettings"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="quick_settings_vibrate"