Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
199 lines
8.9 KiB
XML
199 lines
8.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2016 Nitrogen 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/notifications_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<PreferenceCategory
|
|
android:key="pulse_ambient_light_category"
|
|
android:title="@string/pulse_ambient_light_category" >
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="pulse_ambient_light"
|
|
android:title="@string/pulse_ambient_light_title"
|
|
android:summary="@string/pulse_ambient_light_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="ambient_light_pulse_for_all"
|
|
android:title="@string/pulse_ambient_light_show_always_title"
|
|
android:summary="@string/pulse_ambient_light_show_always_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="ambient_notification_light_enabled"
|
|
android:title="@string/ambient_notification_light_enabled_title"
|
|
android:summary="@string/ambient_notification_light_enabled_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="ambient_notification_light_hide_aod"
|
|
android:title="@string/ambient_notification_light_hide_aod_title"
|
|
android:summary="@string/ambient_notification_light_hide_aod_summary"
|
|
android:defaultValue="false"
|
|
android:dependency="ambient_notification_light_enabled" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="ambient_notification_color_mode"
|
|
android:title="@string/pulse_ambient_light_color_mode_title"
|
|
android:entries="@array/pulse_ambient_light_color_mode_entries"
|
|
android:entryValues="@array/pulse_ambient_light_color_mode_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0" />
|
|
|
|
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
|
android:key="ambient_notification_light_color"
|
|
android:title="@string/pulse_ambient_light_color_title"
|
|
android:defaultValue="0xFFFFFFFF" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="pulse_light_layout_style"
|
|
android:title="@string/pulse_light_layout_style_title"
|
|
android:entries="@array/pulse_light_layout_style_entries"
|
|
android:entryValues="@array/pulse_light_layout_style_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="ambient_light_layout"
|
|
android:title="@string/pulse_ambient_light_layout_title"
|
|
android:entries="@array/pulse_ambient_light_layout_entries"
|
|
android:entryValues="@array/pulse_ambient_light_layout_values"
|
|
android:summary="%s"
|
|
android:defaultValue="1" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="pulse_ambient_light_width"
|
|
android:title="@string/pulse_ambient_light_width_title"
|
|
android:max="150"
|
|
android:min="1"
|
|
settings:unitsLeft=""
|
|
settings:unitsRight="px"
|
|
android:defaultValue="125" />
|
|
|
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
|
android:key="ambient_notification_light_duration"
|
|
android:title="@string/pulse_ambient_light_duration_title"
|
|
android:max="5"
|
|
settings:min="1"
|
|
settings:defaultValue="2"
|
|
settings:units="sec" />
|
|
|
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
|
android:key="ambient_notification_light_repeats"
|
|
android:title="@string/pulse_ambient_light_repeat_count_title"
|
|
android:max="10"
|
|
settings:min="0"
|
|
settings:defaultValue="0" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="ambient_light_repeat_direction"
|
|
android:title="@string/pulse_ambient_light_repeat_direction_title"
|
|
android:entries="@array/pulse_ambient_light_repeat_direction_entries"
|
|
android:entryValues="@array/pulse_ambient_light_repeat_direction_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="ambient_notification_light_timeout"
|
|
android:title="@string/ambient_notification_light_timeout_title"
|
|
android:entries="@array/ambient_notification_light_timeout_entries"
|
|
android:entryValues="@array/ambient_notification_light_timeout_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<Preference
|
|
android:key="charging_light"
|
|
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
|
|
android:title="@string/battery_light_settings" />
|
|
|
|
<PreferenceCategory
|
|
android:key="notifications_category"
|
|
android:title="@string/notifications_category_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="less_boring_heads_up"
|
|
android:title="@string/less_boring_heads_up_title"
|
|
android:summary="@string/less_boring_heads_up_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="notification_sound_vib_screen_on"
|
|
android:title="@string/notification_sound_vib_screen_on_title"
|
|
android:summary="@string/notification_sound_vib_screen_on_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<!-- Alert Slider Notifications -->
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="alert_slider_notifications"
|
|
android:title="@string/alert_slider_notifications_title"
|
|
android:summary="@string/alert_slider_notifications_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="notification_guts_kill_app_button"
|
|
android:title="@string/notification_guts_kill_app_button_title"
|
|
android:summary="@string/notification_guts_kill_app_button_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="toast_icon"
|
|
android:order="24"
|
|
android:title="@string/toast_icon_title"
|
|
android:summary="@string/toast_icon_summary"
|
|
android:defaultValue="true"/>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="reticker_status"
|
|
android:title="@string/reticker_title"
|
|
android:summary="@string/reticker_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:dependency="reticker_status"
|
|
android:key="reticker_colored"
|
|
android:title="@string/reticker_colored_title"
|
|
android:summary="@string/reticker_colored_summary"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="incall_vib_options"
|
|
android:title="@string/incall_vibration_category" >
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="vibrate_on_connect"
|
|
android:title="@string/incall_vibrate_connect_title"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="vibrate_on_callwaiting"
|
|
android:title="@string/incall_vibrate_call_wait_title"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="vibrate_on_disconnect"
|
|
android:title="@string/incall_vibrate_disconnect_title"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|