Files
packages_apps_Evolver/res/xml/edge_light_settings.xml
Ghosuto be9a67c506 Evolver: Edge light animation style
@/neobuddy89: Add strings for translations.

Change-Id: Ia2a0c7ae48e7951237bcc108f3a1599cfd622dd6
Signed-off-by: Ghosuto <clash.raja10@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-11-09 23:27:18 +09:00

81 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023-2025 crDroid Android 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"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/edge_light_title">
<lineageos.preference.SystemSettingMainSwitchPreference
android:key="edge_light_enabled"
android:title="@string/enable"
android:defaultValue="false" />
<org.evolution.settings.preferences.SystemSettingSeekBarPreference
android:key="edge_light_pulse_count"
android:title="@string/edge_light_pulse_count_title"
android:summary="@string/edge_light_pulse_count_summary"
android:defaultValue="3"
android:max="5"
settings:min="1"
settings:interval="1"
settings:units=""
android:dependency="edge_light_enabled" />
<org.evolution.settings.preferences.SystemSettingSeekBarPreference
android:key="edge_light_stroke_width"
android:title="@string/edge_light_stroke_width_title"
android:summary="@string/edge_light_stroke_width_summary"
android:defaultValue="8"
android:max="32"
settings:min="2"
settings:interval="2"
settings:units="dp"
android:dependency="edge_light_enabled" />
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="edge_light_color_mode"
android:title="@string/edge_light_color_mode_title"
android:entries="@array/edge_light_color_mode_entries"
android:entryValues="@array/edge_light_color_mode_values"
android:summary="%s"
android:defaultValue="accent"
android:dependency="edge_light_enabled" />
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="edge_light_style"
android:title="@string/edge_light_style_title"
android:entries="@array/edge_light_style_entries"
android:entryValues="@array/edge_light_style_values"
android:summary="%s"
android:defaultValue="default"
android:dependency="edge_light_enabled" />
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="edge_light_animation_effect"
android:title="@string/edge_light_animation_effect_title"
android:entries="@array/edge_light_animation_entries"
android:entryValues="@array/edge_light_animation_values"
android:defaultValue="none"
android:dependency="edge_light_enabled" />
<org.evolution.settings.preferences.colorpicker.SystemSettingColorPickerPreference
android:key="edge_light_custom_color"
android:title="@string/custom_color"
android:defaultValue="#FFFFFF"
android:dependency="edge_light_enabled" />
</PreferenceScreen>