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_theme.xml
Hung Phan 56f93a0377 Revert "Cherish: QS panel opacity [2/2]"
This reverts commit 46224fdb62.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-02-08 00:07:22 +07:00

115 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 CherishOS
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/theme_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="system_theme_category"
android:title="@string/theme_type_title">
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="accent_color"
android:icon="@drawable/ic_accent_picker"
android:title="@string/accent_color"
android:summary="@string/accent_summary"
android:defaultValue="0xffffff"
android:persistent="false" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="gradient_color"
android:icon="@drawable/ic_accent_picker"
android:title="@string/gradient_color"
android:summary="@string/gradient_summary"
android:defaultValue="0xffffff"
android:persistent="false" />
<ListPreference
android:key="theme_switch"
android:icon="@drawable/ic_system_theme"
android:title="@string/theme_type_title"
android:summary="%s"
android:dialogTitle="@string/theme_type_summary"
android:entries="@array/theme_type_titles"
android:entryValues="@array/theme_type_values"
android:defaultValue="1"/>
<ListPreference
android:key="ui_style"
android:title="@string/ui_style_title"
android:icon="@drawable/ic_ui"
android:entries="@array/ui_style_selector_entries"
android:entryValues="@array/ui_style_selector_values"
android:persistent="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="switch_style"
android:icon="@drawable/ic_switch_theme"
android:title="@string/switch_style_title"
android:dialogTitle="@string/switch_style_title"
android:entries="@array/switch_style_entries"
android:entryValues="@array/switch_style_values"
android:summary="%s"
android:defaultValue="0" />
<ListPreference
android:key="qs_tile_style"
android:icon="@drawable/ic_shape2_icon"
android:title="@string/qs_tile_style_title"
android:persistent="false"
android:entries="@array/qs_selector_entries"
android:entryValues="@array/qs_selector_values" />
<ListPreference
android:key="qs_header_style"
android:icon="@drawable/ic_header"
android:title="@string/qs_header_style_title"
android:persistent="false"
android:entries="@array/qs_header_style_entries"
android:entryValues="@array/qs_header_style_values" />
<ListPreference
android:key="brightness_slider_style"
android:icon="@drawable/ic_brightness"
android:title="@string/brightness_slider_style_title"
android:entries="@array/brightness_slider_style_selector_entries"
android:entryValues="@array/brightness_slider_style_selector_values"
android:persistent="false" />
<ListPreference
android:key="panel_bg"
android:icon="@drawable/ic_header"
android:title="@string/panel_bg_title"
android:dialogTitle="@string/panel_bg_dialog_title"
android:entries="@array/panel_bg_titles"
android:entryValues="@array/panel_bg_values" />
</PreferenceCategory>
<PreferenceCategory
android:key="volume_panel_stuff"
android:title="@string/volume_panel">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="systemui_plugin_volume"
android:title="@string/volume_panel"
android:icon="@drawable/ic_volume"
android:entries="@array/volume_panel_entries"
android:entryValues="@array/volume_panel_values"
android:defaultValue="@string/volume_panel_stock_val" />
</PreferenceCategory>
</PreferenceScreen>