Cherish: QS footer customizations

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Pranav Vashi
2022-09-22 06:46:06 +08:00
committed by Hưng Phan
parent b2fe86fb80
commit ed313aedba
2 changed files with 55 additions and 0 deletions

View File

@@ -898,4 +898,16 @@
<string name="weather_icon_pack_info_title">Tips\u003a \n\n1. Users can install new icon packs from play store by searching for \"Chronus icons\".\n\n2. Condition icon pack is used for weather icons on quick settings and sushi launcher at a glance.\n\n3. Long press the QuickSettings weather view/logo/temperature to access weather settings with ease.</string>
<string name="qsweather_settings_title">QuickSettings Weather</string>
<string name="qsweather_settings_summary">Setup quicksettings weather views</string>
<!-- QS footer warnings -->
<string name="qs_footer_warnings_title">Footer alerts</string>
<string name="qs_footer_warnings_summary">Display an alert at bottom of QS panel when network is monitored by external apps or VPN</string>
<!-- QS footer icons -->
<string name="qs_footer_users_icon_title">User account icon</string>
<string name="qs_footer_users_icon_summary">Display multiuser accessibility icon when available</string>
<string name="qs_footer_edit_icon_title">Edit tiles icon</string>
<string name="qs_footer_show_power_menu_title">Power menu shortcut</string>
<string name="qs_footer_services_icon_title">Running services shortcut</string>
<string name="qs_footer_settings_icon_title">Settings shortcut</string>
</resources>

View File

@@ -135,5 +135,48 @@
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/qs_footer_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_warnings"
android:title="@string/qs_footer_warnings_title"
android:summary="@string/qs_footer_warnings_summary"
android:defaultValue="true"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_user"
android:title="@string/qs_footer_users_icon_title"
android:summary="@string/qs_footer_users_icon_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_data_usage"
android:title="@string/qs_footer_datausage_title"
android:summary="@string/qs_footer_datausage_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_edit"
android:title="@string/qs_footer_edit_icon_title"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_power_menu"
android:title="@string/qs_footer_show_power_menu_title"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_services"
android:title="@string/qs_footer_services_icon_title" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_settings"
android:title="@string/qs_footer_settings_icon_title"
android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>