Cherish:Add a toggle for QS footer text & Allow customizing footer text [2/2]

This commit is contained in:
idoybh
2019-12-01 17:34:58 +07:00
committed by Hung Phan
parent 4eb5bf8ab8
commit 8e71d192df
5 changed files with 64 additions and 0 deletions

View File

@@ -68,6 +68,21 @@
android:summary="@string/enable_oneui_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="footer_text_show"
android:icon="@drawable/ic_edit_show"
android:title="@string/qs_footer_text_title"
android:summary="@string/qs_footer_text_summary"
android:defaultValue="false"/>
<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="footer_text_show"
android:defaultValue="#KeeptheLove" />
</PreferenceCategory>
<PreferenceCategory