Cherish:QS footer visibilities [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
eyosen
2021-07-28 08:17:02 +07:00
committed by Hưng Phan
parent 8eb84fcc79
commit f87604f129
2 changed files with 40 additions and 0 deletions

View File

@@ -1311,4 +1311,16 @@
<string name="left_clock">Left</string> <string name="left_clock">Left</string>
<string name="center_clock">Center</string> <string name="center_clock">Center</string>
<string name="right_clock">Right</string> <string name="right_clock">Right</string>
<string name="qs_edit_title">Edit icon</string>
<string name="qs_edit_summary">Display the tile edit icon in the QS footer</string>
<string name="qs_user_title">User icon</string>
<string name="qs_user_summary">Display the tile user icon in the QS footer</string>
<string name="qs_settings_title">Settings icon</string>
<string name="qs_settings_summary">Display the tile settings icon in the QS footer</string>
<string name="qs_running_service_title">Running service icon</string>
<string name="qs_running_service_summary">Enable or disable running service icon</string>
</resources> </resources>

View File

@@ -53,6 +53,34 @@
android:title="@string/qs_footer_datausage_title" android:title="@string/qs_footer_datausage_title"
android:summary="@string/qs_footer_datausage_summary" android:summary="@string/qs_footer_datausage_summary"
android:defaultValue="true" /> android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_edit"
android:icon="@drawable/ic_edit1"
android:title="@string/qs_edit_title"
android:summary="@string/qs_edit_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_settings"
android:icon="@drawable/ic_edit"
android:title="@string/qs_settings_title"
android:summary="@string/qs_settings_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_services"
android:icon="@drawable/ic_run"
android:title="@string/qs_running_service_title"
android:summary="@string/qs_running_service_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_user"
android:icon="@drawable/ic_users"
android:title="@string/qs_user_title"
android:summary="@string/qs_user_summary"
android:defaultValue="true" />
</PreferenceCategory> </PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference <com.cherish.settings.preferences.SystemSettingSwitchPreference