This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
android_packages_apps_Cherish/res/xml/cherish_settings_quicksettings.xml
Hưng Phan a40ab20879 Cleanup some commits:
Revert "[SQUASHED] Custom Carrier Label & Carrier Label Placement [1/2]"

This reverts commit 69d6ea5f4a.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Revert "Cherish: Explain to the user why LS Blur is disabled"

This reverts commit 7d79cc9d06.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Revert "Cherish: Hide LS blur option if homescreen and LS wallpaper are different"

This reverts commit 8b8a6de242.

Revert "Cherish: Add lockscreen background blur [2/2]"

This reverts commit d979103998.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Revert "Cherish:Notifications background opacity [2/2]"

This reverts commit d05ae2705d.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-19 17:30:25 +07:00

163 lines
6.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 CherishOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/quicksettings_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:title="@string/qs_category">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_panel_bg_use_new_tint"
android:icon="@drawable/ic_color"
android:title="@string/qs_bg_use_new_tint"
android:dialogTitle="@string/qs_bg_use_new_tint"
android:entries="@array/qs_tint_entries"
android:entryValues="@array/qs_tint_values"
android:summary="@string/qs_bg_use_new_tint_summary"
android:defaultValue="2" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_media_player"
android:icon="@drawable/ic_music"
android:title="@string/qs_media_player_title"
android:summaryOn="@string/qs_media_player_summary_on"
android:summaryOff="@string/qs_media_player_summary_off"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="status_bar_custom_header"
android:icon="@drawable/ic_header"
android:fragment="com.cherish.settings.fragments.QsHeader"
android:title="@string/status_bar_custom_header_title"
android:summary="@string/status_bar_custom_header_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_edit_toggle"
android:icon="@drawable/ic_edit"
android:title="@string/qs_edit_title"
android:summary="@string/qs_edit_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="oos_qsclock"
android:icon="@drawable/ic_clock"
android:title="@string/oos_qsclock"
android:summary="@string/oos_qsclock_summary"
android:defaultValue="true" />
<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" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_material_dismiss"
android:icon="@drawable/ic_notification_clear_all"
android:title="@string/enable_clear_all_button"
android:summary="@string/enable_clear_all_button_summary"
android:defaultValue="false" />
<PreferenceCategory
android:title="@string/qs_show_brightness_slider_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_brightness_control"
android:icon="@drawable/ic_brightness"
android:title="@string/status_bar_toggle_brightness"
android:summary="@string/status_bar_toggle_brightness_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="qs_columns_rows_category"
android:title="@string/qs_columns_rows_category_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_tile_title_visibility"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_title_visibility_title"
android:defaultValue="true" />
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_rows_portrait"
android:icon="@drawable/ic_qs_row"
android:title="@string/qs_rows_portrait_title"
android:max="5"
android:min="1"
android:defaultValue="3"
settings:units="" />
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_rows_landscape"
android:icon="@drawable/ic_qs_land"
android:title="@string/qs_rows_landscape_title"
android:max="5"
android:min="1"
android:defaultValue="1"
settings:units="" />
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_columns_portrait"
android:icon="@drawable/ic_qs_column"
android:title="@string/qs_columns_portrait_title"
android:max="7"
android:min="1"
android:defaultValue="4"
settings:units="" />
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_columns_landscape"
android:icon="@drawable/ic_qs_column_landscape"
android:title="@string/qs_columns_landscape_title"
android:max="9"
android:min="1"
android:defaultValue="4"
settings:units="" />
</PreferenceCategory>
<!-- QS Quick Pull Down -->
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="status_bar_quick_qs_pulldown"
android:icon="@drawable/ic_pulldown"
android:title="@string/quick_settings_quick_pull_down_title"
android:summary="@string/quick_settings_quick_pull_down_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_locked_on_secure_keyguard"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_qs_disabled_title"
android:summary="@string/lockscreen_qs_disabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="quick_settings_vibrate"
android:icon="@drawable/ic_vibrate"
android:title="@string/quick_settings_vibrate_title"
android:summary="@string/quick_settings_vibrate_summary"
android:defaultValue="false"/>
</PreferenceScreen>