98 lines
3.8 KiB
XML
98 lines
3.8 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="monel_category"
|
|
android:title="Monet">
|
|
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="monet_engine_custom_color"
|
|
android:title="@string/monet_engine_custom_color_title"
|
|
android:summary="@string/monet_engine_custom_color_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
|
android:key="monet_engine_color_override"
|
|
android:title="@string/monet_engine_color_override_title"
|
|
android:dependency="monet_engine_custom_color"
|
|
android:defaultValue="0xffffff" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
|
|
android:key="monet_engine_white_luminance_user"
|
|
android:title="@string/monet_engine_white_luminance_user_title"
|
|
android:defaultValue="425"
|
|
android:max="1000"
|
|
settings:min="200"
|
|
settings:interval="25"/>
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="monet_engine_accurate_shades"
|
|
android:title="@string/monet_engine_accurate_shades_title"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
|
|
android:key="monet_engine_chroma_factor"
|
|
android:title="@string/monet_engine_chroma_factor_title"
|
|
android:defaultValue="100"
|
|
android:max="400"
|
|
settings:min="50"
|
|
settings:interval="25"/>
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="monet_engine_linear_lightness"
|
|
android:title="@string/monet_engine_linear_lightness_title"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/theme_customization_category">
|
|
|
|
<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" />
|
|
|
|
<ListPreference
|
|
android:key="android.theme.customization.font"
|
|
android:title="@string/theme_customization_font_title"/>
|
|
|
|
<ListPreference
|
|
android:key="android.theme.customization.adaptive_icon_shape"
|
|
android:title="@string/theme_customization_icon_shape_title"/>
|
|
|
|
<ListPreference
|
|
android:key="android.theme.customization.icon_pack"
|
|
android:title="@string/theme_customization_sysui_icon_title"/>
|
|
|
|
<ListPreference
|
|
android:key="android.theme.customization.signal_icon"
|
|
android:title="@string/custom_signal_bar_title" />
|
|
|
|
<ListPreference
|
|
android:key="android.theme.customization.wifi_icon"
|
|
android:title="@string/custom_wifi_bar_title" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|