Cherish: Allow customizing footer text [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Ido Ben-Hur
2019-11-28 15:27:23 +02:00
committed by Hưng Phan
parent 0b61f74039
commit fdc85e21ef
3 changed files with 46 additions and 0 deletions

View File

@@ -21,6 +21,20 @@
<PreferenceCategory
android:title="@string/qs_title">
<!-- QS footer text toggle -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_text_show"
android:title="@string/qs_footer_text_show_title"
android:defaultValue="false" />
<!-- QS footer text string -->
<com.cherish.settings.preferences.SystemSettingEditTextPreference
android:key="qs_footer_text_string"
android:title="@string/qs_footer_text_string_title"
android:summary="@string/qs_footer_text_string_summary"
android:dependency="qs_footer_text_show"
android:defaultValue="TheKeepLove" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_battery_estimate"
android:title="@string/qs_show_battery_estimate_title"