Cherish: Allow showing bottom brightness slider above QS footer [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Ido Ben-Hur
2020-10-12 04:33:14 +03:00
committed by Hưng Phan
parent b91906f424
commit 8ff66e235b
2 changed files with 10 additions and 0 deletions

View File

@@ -301,6 +301,8 @@
<string name="qs_show_brightness_summary">Brightness slider visability and settings</string>
<string name="qs_brightness_position_bottom_title">Bottom brightness slider</string>
<string name="qs_brightness_position_bottom_summary">Show the brightness slider on the bottom of QS</string>
<string name="qs_show_brightness_above_footer_title">Above footer</string>
<string name="qs_show_brightness_above_footer_summary">Show bottom brightness slider above QS footer</string>
<string name="qs_show_auto_brightness_title">Auto brightness icon</string>
<string name="qs_show_auto_brightness_summary">Show an auto brightness toggle near the brightness slider</string>

View File

@@ -21,6 +21,14 @@
android:title="@string/qs_brightness_position_bottom_title"
android:summary="@string/qs_brightness_position_bottom_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_brightness_above_footer"
android:icon="@drawable/ic_brightness_control"
android:title="@string/qs_show_brightness_above_footer_title"
android:summary="@string/qs_show_brightness_above_footer_summary"
android:dependency="qs_brightness_position_bottom"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_auto_brightness"