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-12-01 00:25:01 +05:30
committed by Hưng Phan
parent d4f0414cf6
commit fe88dd2014
3 changed files with 36 additions and 0 deletions

View File

@@ -859,5 +859,7 @@
<!-- QS Footer Text -->
<string name="qs_footer_text_title">QS footer text</string>
<string name="qs_footer_text_summary">Display text at bottom of QS panel</string>
<string name="qs_footer_text_string_title">Customize footer text</string>
<string name="qs_footer_text_string_summary">Set to empty for default #KeepTheLove</string>
</resources>

View File

@@ -31,6 +31,15 @@
android:title="@string/qs_footer_text_title"
android:summary="@string/qs_footer_text_summary"
android:defaultValue="false"/>
<!-- QS footer text string -->
<com.cherish.settings.preferences.SystemSettingEditTextPreference
android:key="footer_text_string"
android:icon="@drawable/ic_edit"
android:title="@string/qs_footer_text_string_title"
android:summary="@string/qs_footer_text_string_summary"
android:dependency="omni_footer_text_show"
android:defaultValue="#KeeptheLove" />
<!-- QS brightness slider -->
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference