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
Hưng Phan 290220843d "Revert "TopLevelSettings: custom settings layout [3/3]"
This reverts commit 837e5f2d0c.

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

Revert "Revert "TopLevelSettings: custom settings layout [3/3]""

This reverts commit 2a3921c969.

Revert "TopLevelSettings: custom settings layout [3/3]"

This reverts commit 42d357e1a2.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-05-08 23:10:21 +07:00

107 lines
4.6 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">
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="system_black_theme"
android:title="@string/system_black_theme_title"
android:summary="@string/system_black_theme_summary"
android:defaultValue="false" />
<PreferenceCategory
android:title="@string/notification_material_dismiss_button_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_material_dismiss"
android:title="@string/notification_material_dismiss_button_title"
android:summary="@string/notification_material_dismiss_button_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="notification_material_dismiss_style"
android:title="@string/clearall_style_title"
android:dependency="notification_material_dismiss"
android:defaultValue="0"
android:max="9"
android:min="0" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="notification_material_dismiss_bgstyle"
android:title="@string/clearall_bgstyle_title"
android:dependency="notification_material_dismiss"
android:defaultValue="0"
android:max="4"
android:min="0" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/theme_customization_category">
<Preference
android:key="monet_engine"
android:title="@string/monet_engine_title"
android:summary="@string/monet_engine_summary"
android:fragment="com.cherish.settings.fragments.MonetEngine" />
<Preference
android:key="dark_ui_mode"
android:title="@string/dark_ui_mode"
android:summary="@string/dark_ui_mode_summary"
android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment"
settings:controller="com.android.settings.display.DarkUIPreferenceController" />
<!-- Font style -->
<Preference
android:key="android.theme.customization.font"
android:title="@string/theme_customization_font_title"
android:summary="@string/theme_customization_font_summary"
android:fragment="com.cherish.settings.fragments.ui.FontsPicker"/>
<!-- Icon pack -->
<Preference
android:key="android.theme.customization.icon_pack"
android:title="@string/theme_customization_icon_pack_title"
android:summary="@string/theme_customization_icon_pack_summary"
android:fragment="com.cherish.settings.fragments.ui.StatusbarIcons"/>
<!-- Adaptive icon shape -->
<Preference
android:key="android.theme.customization.adaptive_icon_shape"
android:title="@string/theme_customization_icon_shape_title"
android:summary="@string/theme_customization_icon_shape_summary"
android:fragment="com.cherish.settings.fragments.ui.IconShapes"/>
<!-- Signal icon style -->
<Preference
android:key="android.theme.customization.signal_icon"
android:title="@string/theme_customization_signal_icon_title"
android:summary="@string/theme_customization_signal_icon_summary"
android:fragment="com.cherish.settings.fragments.ui.SignalIcons"/>
<!-- Wifi icon style -->
<Preference
android:key="android.theme.customization.wifi_icon"
android:title="@string/theme_customization_wifi_icon_title"
android:summary="@string/theme_customization_wifi_icon_summary"
android:fragment="com.cherish.settings.fragments.ui.WifiIcons"/>
</PreferenceCategory>
</PreferenceScreen>