Goal is to let users control monet engine more granularly Generally all we can set solely by changing Settings.Secure.THEME_CUSTOMIZATION_OVERLAY_PACKAGES Adds the ability to choose the accent color source, a custom accent color and the theme style Theme styles are generally available with a preview on ThemePicker but not with custom sources nor color Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
41 lines
1.6 KiB
XML
41 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2022 Yet Another AOSP 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/monet_settings_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<ListPreference
|
|
android:key="theme_style"
|
|
android:title="@string/theme_style_title"
|
|
android:entries="@array/theme_style_entries"
|
|
android:entryValues="@array/theme_style_values"
|
|
android:defaultValue="0" />
|
|
|
|
<ListPreference
|
|
android:key="color_source"
|
|
android:title="@string/color_source_title"
|
|
android:entries="@array/color_source_entries"
|
|
android:entryValues="@array/color_source_values"
|
|
android:defaultValue="0" />
|
|
|
|
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
|
android:key="accent_color"
|
|
android:title="@string/accent_color_title"
|
|
android:summary="@string/accent_color_summary" />
|
|
|
|
</PreferenceScreen>
|