Files
packages_apps_Evolver/res/xml/evolution_settings_themes.xml

210 lines
9.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/themes_title">
<PreferenceCategory
android:key="themes_monet_category"
android:title="@string/themes_monet_category">
<!-- Monet engine -->
<Preference
android:key="monet_engine"
android:title="@string/themes_monet_title"
android:summary="@string/themes_monet_summary"
android:fragment="org.evolution.settings.fragments.themes.MonetSettings" />
</PreferenceCategory>
<PreferenceCategory
android:key="themes_general_category"
android:title="@string/themes_general_category">
<!-- Wallpaper Settings -->
<Preference
android:key="wallpaper_settings"
android:title="@string/wallpaper_settings_title"
android:summary="@string/wallpaper_settings_summary"
android:fragment="org.evolution.settings.fragments.themes.Wallpaper" />
<!-- Brightness slider -->
<Preference
android:key="android.theme.customization.brightness_slider"
android:title="@string/themes_brightness_slider_title"
android:summary="@string/themes_brightness_slider_summary"
android:fragment="org.evolution.settings.fragments.themes.BrightnessSlider" />
<!-- Notification styles -->
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="notification_style"
android:title="@string/notif_style_title"
android:entries="@array/notif_style_entries"
android:entryValues="@array/notif_style_values"
android:summary="%s"
android:defaultValue="0" />
<!-- Power menu styles -->
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="powermenu_style"
android:title="@string/powermenu_style_title"
android:entries="@array/powermenu_style_entries"
android:entryValues="@array/powermenu_style_values"
android:summary="%s"
android:defaultValue="0" />
<!-- Progress bar styles -->
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="progress_bar_style"
android:title="@string/progress_bar_style_title"
android:entries="@array/progress_bar_style_entries"
android:entryValues="@array/progress_bar_style_values"
android:summary="%s"
android:defaultValue="0" />
<!-- Volume Styles -->
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="custom_volume_styles"
android:title="@string/volume_style_title"
android:entries="@array/volume_styles_entries"
android:entryValues="@array/volume_styles_values"
android:summary="%s"
android:defaultValue="0" />
</PreferenceCategory>
<PreferenceCategory
android:key="themes_audio_category"
android:title="@string/themes_audio_category">
<!-- Lock sound -->
<org.evolution.settings.preferences.GlobalSettingListPreference
android:key="lock_sound"
android:title="@string/themes_lock_sound_title"
android:entries="@array/themes_lock_unlock_sounds_entries"
android:entryValues="@array/themes_lock_sounds_values"
android:defaultValue="/product/media/audio/ui/Lock.ogg" />
<!-- Unlock sound -->
<org.evolution.settings.preferences.GlobalSettingListPreference
android:key="unlock_sound"
android:title="@string/themes_unlock_sound_title"
android:entries="@array/themes_lock_unlock_sounds_entries"
android:entryValues="@array/themes_unlock_sounds_values"
android:defaultValue="/product/media/audio/ui/Unlock.ogg" />
</PreferenceCategory>
<PreferenceCategory
android:key="themes_fonts_category"
android:title="@string/themes_fonts_category">
<!-- System font -->
<Preference
android:key="android.theme.customization.fonts"
android:title="@string/themes_system_font_title"
android:summary="@string/themes_system_font_summary"
android:fragment="org.evolution.settings.fragments.themes.fonts.FontPickerPreview"/>
</PreferenceCategory>
<PreferenceCategory
android:key="themes_launcher_category"
android:title="@string/themes_launcher_category">
<org.evolution.settings.preferences.OverlaySwitchPreference
android:key="com.google.android.apps.nexuslauncher.blur.overlay"
android:title="@string/themes_launcher_background_blur_title"
android:summary="@string/themes_launcher_background_blur_summary"
android:defaultValue="true" />
<org.evolution.settings.preferences.OverlaySwitchPreference
android:key="com.google.android.apps.nexuslauncher.icons.overlay"
android:title="@string/themes_launcher_more_themed_icons_title"
android:summary="@string/themes_launcher_more_themed_icons_summary"
android:defaultValue="true" />
</PreferenceCategory>
<PreferenceCategory
android:key="themes_icons_category"
android:title="@string/themes_icons_category">
<!-- System icons -->
<Preference
android:key="android.theme.customization.icon_pack"
android:title="@string/themes_system_icons_title"
android:summary="@string/themes_system_icons_summary"
android:fragment="org.evolution.settings.fragments.themes.SystemIcons"/>
<!-- Icon shape -->
<Preference
android:key="android.theme.customization.adaptive_icon_shape"
android:title="@string/themes_icon_shape_title"
android:summary="@string/themes_icon_shape_summary"
android:fragment="org.evolution.settings.fragments.themes.IconShapes"/>
<!-- Signal icon -->
<Preference
android:key="android.theme.customization.signal_icon"
android:title="@string/themes_signal_icon_title"
android:summary="@string/themes_signal_icon_summary"
android:fragment="org.evolution.settings.fragments.themes.SignalIcons"/>
<!-- Wifi icon -->
<Preference
android:key="android.theme.customization.wifi_icon"
android:title="@string/themes_wifi_icon_title"
android:summary="@string/themes_wifi_icon_summary"
android:fragment="org.evolution.settings.fragments.themes.WifiIcons"/>
<!-- Navigation bar icons -->
<Preference
android:key="android.theme.customization.navbar"
android:title="@string/themes_navigation_bar_icons_title"
android:summary="@string/themes_navigation_bar_icons_summary"
android:fragment="org.evolution.settings.fragments.themes.NavigationBarIcons"/>
<!-- Udfps icon -->
<Preference
android:key="udfps_icon"
android:title="@string/themes_udfps_icon_title"
android:summary="@string/themes_udfps_icon_summary"
android:fragment="org.evolution.settings.fragments.themes.UdfpsIcons" />
</PreferenceCategory>
<PreferenceCategory
android:key="themes_animations_category"
android:title="@string/themes_animations_category">
<!-- Boot animation -->
<Preference
android:key="boot_animation"
android:title="@string/themes_boot_animation_title"
android:summary="@string/themes_boot_animation_summary"
android:fragment="org.evolution.settings.fragments.themes.BootAnimation" />
<!-- Charging animation -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="charging_animation"
android:title="@string/themes_charging_animation_title"
android:summary="@string/themes_charging_animation_summary"
android:defaultValue="true" />
<!-- Screen Off animation -->
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="screen_off_animation"
android:title="@string/themes_screen_off_animation_title"
android:entries="@array/themes_screen_off_animation_entries"
android:entryValues="@array/themes_screen_off_animation_values"
android:defaultValue="0" />
<!-- Udfps animation -->
<Preference
android:key="udfps_animation"
android:title="@string/themes_udfps_animation_title"
android:summary="@string/themes_udfps_animation_summary"
android:fragment="org.evolution.settings.fragments.themes.UdfpsAnimations" />
</PreferenceCategory>
</PreferenceScreen>