Cherish:optional miui-like brightness slider [3/3]

Signed-off-by: 00day0 <therandomuser11@gmail.com>
This commit is contained in:
00day0
2020-02-03 16:32:38 +01:00
committed by Hung Phan
parent d7d22769cc
commit 64e396db18
2 changed files with 9 additions and 0 deletions

View File

@@ -74,5 +74,8 @@
<!-- QS tiles haptic feedback -->
<string name="qs_vibrate_title">Vibrate on touch</string>
<string name="qs_vibrate_summary">Vibrate when touching QS tiles</string>
<string name="brightness_slider_qs_unexpanded">MIUI style brightness slider (beta)</string>
<string name="brightness_slider_qs_unexpanded_summary">Shows brightness slider below qs panel</string>
</resources>

View File

@@ -33,6 +33,12 @@
<PreferenceCategory
android:title="@string/qs_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="brightness_slider_qs_unexpanded"
android:title="@string/brightness_slider_qs_unexpanded"
android:summary="@string/brightness_slider_qs_unexpanded_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_tile_title_visibility"