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
Tejasvp25 ba1cbe8331 Cherish: POSP Vol panel styles
Change-Id: Ibeb558ffe1141088110d41f6767782ea37197042
2020-08-17 21:01:07 +07:00

107 lines
4.0 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">
<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="switch_style"
android:icon="@drawable/ic_switch_theme"
android:title="@string/switch_style_title"
android:persistent="false"
android:entries="@array/switch_style_entries"
android:entryValues="@array/switch_style_values" />
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="theming_settings_dashboard_icons"
android:icon="@drawable/ic_dashboard"
android:title="@string/theming_settings_dashboard_icons_title"
android:entries="@array/theming_settings_dashboard_icons_entries"
android:entryValues="@array/theming_settings_dashboard_icons_values"
android:defaultValue="0" />
</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_aosp_val" />
</PreferenceCategory>
<PreferenceCategory
android:key="rounded_corners_category"
android:title="@string/corners_category_title" >
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sysui_rounded_fwvals"
android:title="@string/corner_fwvals"
android:icon="@drawable/ic_round"
android:defaultValue="true"
android:disableDependentsState="true" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_rounded_size"
android:title="@string/corner_radius"
android:max="60"
settings:min="0"
settings:units="dp"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_rounded_content_padding"
android:title="@string/content_padding"
android:max="30"
settings:min="0"
settings:units="dp"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_status_bar_padding"
android:title="@string/status_bar_padding"
android:max="30"
settings:min="0"
settings:units="dp"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" />
</PreferenceCategory>
</PreferenceScreen>