Cherish:add ability to show daily/monthly data usage [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
AnkitGourav
2020-10-16 10:41:14 +00:00
committed by Hưng Phan
parent d2a164f6a6
commit 14f4cf3c36
4 changed files with 30 additions and 12 deletions

View File

@@ -40,6 +40,14 @@
android:summary="@string/qs_footer_text_string_summary"
android:dependency="omni_footer_text_show"
android:defaultValue="#KeeptheLove" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_datausage"
android:icon="@drawable/ic_data"
android:title="@string/qs_datausage_title"
android:entries="@array/qs_datausage_entries"
android:entryValues="@array/qs_datausage_values"
android:defaultValue="0" />
<!-- QS brightness slider -->
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
@@ -50,12 +58,6 @@
android:fragment="com.cherish.settings.fragments.BrightnessSliderSettings"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_datausage"
android:icon="@drawable/ic_data"
android:title="@string/qs_datausage_title"
android:summary="@string/qs_datausage_subtitle"
android:defaultValue="false" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="quick_settings_vibrate"