57 lines
2.6 KiB
XML
57 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2023 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/notifications_edge_light_title">
|
|
|
|
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="edge_light_enabled"
|
|
android:title="@string/notifications_edge_light_enable_ttile"
|
|
android:defaultValue="false" />
|
|
|
|
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="edge_light_always_trigger_on_pulse"
|
|
android:title="@string/notifications_edge_light_always_trigger_on_pulse_title"
|
|
android:summary="@string/notifications_edge_light_always_trigger_on_pulse_summary"
|
|
android:defaultValue="false"
|
|
android:dependency="edge_light_enabled" />
|
|
|
|
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="edge_light_repeat_animation"
|
|
android:title="@string/notifications_edge_light_repeat_animation_title"
|
|
android:summaryOn="@string/notifications_edge_light_repeat_animation_summary_on"
|
|
android:summaryOff="@string/notifications_edge_light_repeat_animation_summary_off"
|
|
android:defaultValue="false"
|
|
android:dependency="edge_light_enabled" />
|
|
|
|
<org.evolution.settings.preferences.SystemSettingListPreference
|
|
android:key="edge_light_color_mode"
|
|
android:title="@string/notifications_edge_light_color_mode_title"
|
|
android:entries="@array/notifications_edge_light_color_mode_entries"
|
|
android:entryValues="@array/notifications_edge_light_color_mode_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0"
|
|
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>
|