Cherish:Intitial for Android 11

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2020-09-26 12:29:26 +07:00
parent e1061bf1a5
commit e6308bab52
59 changed files with 20 additions and 9500 deletions

View File

@@ -1,57 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 gzosp
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-auto"
android:key="button_settings"
android:title="@string/audio_panel_view">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_media"
android:icon="@drawable/ic_music"
android:title="@string/audio_panel_view_media_title"
android:defaultValue="true"
android:enabled="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_ringer"
android:icon="@drawable/ic_ring"
android:title="@string/audio_panel_view_ringer_title"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_notification"
android:icon="@drawable/ic_notification"
android:title="@string/audio_panel_view_notification_title"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_alarm"
android:icon="@drawable/ic_alarm"
android:title="@string/audio_panel_view_alarm_title"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_voice"
android:icon="@drawable/ic_voice"
android:title="@string/audio_panel_view_voice_title"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_bt_sco"
android:icon="@drawable/ic_bluetooth"
android:title="@string/audio_panel_view_bt_sco_title"
android:defaultValue="false"/>
</PreferenceScreen>

View File

@@ -1,75 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2018 AospExtended ROM 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
android:title="@string/battery_bar_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<ListPreference
android:key="battery_bar_list"
android:title="@string/sb_battery_bar_location"
android:entries="@array/battery_bar_entries"
android:entryValues="@array/battery_bar_values" />
<ListPreference
android:key="battery_bar_style"
android:title="@string/sb_battery_bar_style_title"
android:entries="@array/battery_bar_style_entries"
android:entryValues="@array/battery_bar_style_values" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="battery_bar_thickness"
android:title="@string/sb_battery_bar_thickness_title"
android:max="4"
settings:min="1"
settings:units="dp"
android:persistent="false" />
<SwitchPreference
android:key="battery_bar_animate"
android:title="@string/sb_battery_bar_animate_title"
android:summary="@string/sb_battery_bar_animate_summary" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_bar_color"
android:title="@string/sb_battery_bar_color"
android:defaultValue="0xffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_bar_charging_color"
android:title="@string/sb_battery_bar_charging_color"
android:defaultValue="0xff00ff00" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_bar_battery_low_color_warning"
android:title="@string/sb_battery_bar_battery_low_color"
android:defaultValue="0xffff6600" />
<SwitchPreference
android:key="battery_bar_use_gradient_color"
android:title="@string/sb_battery_bar_use_gradient_color"
android:summary="@string/sb_battery_bar_gradient_color_summary" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_bar_low_color"
android:title="@string/sb_battery_bar_low_color"
android:dependency="battery_bar_use_gradient_color"
android:defaultValue="0xffff4400" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_bar_high_color"
android:title="@string/sb_battery_bar_high_color"
android:dependency="battery_bar_use_gradient_color"
android:defaultValue="0xff99cc00" />
</PreferenceScreen>

View File

@@ -17,54 +17,4 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="battery_light_enabled"
android:icon="@drawable/ic_battery_full"
android:title="@string/battery_light_enable"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="battery_light_allow_on_dnd"
android:icon="@drawable/ic_dnd"
android:title="@string/battery_light_allow_on_dnd_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="battery_light_low_blinking"
android:icon="@drawable/ic_blinking"
android:title="@string/battery_light_low_blinking_title"
android:defaultValue="false" />
<PreferenceCategory
android:key="battery_light_cat"
android:title="@string/battery_light_cat">
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_low_color"
android:icon="@drawable/ic_battery_low"
android:title="@string/battery_light_low_color"
ledPreview="true"
settings:defaultColorValue="0xFFFF0000" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_medium_color"
android:icon="@drawable/ic_battery_medium"
android:title="@string/battery_light_medium_color"
ledPreview="true"
settings:defaultColorValue="0xFFFFFF00" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_full_color"
android:icon="@drawable/ic_battery_almostfull"
android:title="@string/battery_light_full_color"
ledPreview="true"
settings:defaultColorValue="0xFFFFFF00" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_reallyfull_color"
android:icon="@drawable/ic_battery_full"
android:title="@string/battery_light_reallyfull_color"
ledPreview="true"
settings:defaultColorValue="0xFF00FF00" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 Nitrogen Project
<!-- Copyright (C) 2020 CherishOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@
android:title="@string/button_title"
android:summary="@string/button_summary"
android:icon="@drawable/ic_cherish_button_settings_background"
android:fragment="com.android.settings.custom.buttons.ButtonSettings"/>
android:fragment="com.cherish.settings.fragments.ButtonSettings"/>
<!-- Animations -->
<Preference

View File

@@ -19,89 +19,4 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/animations_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" >
<PreferenceCategory
android:title="@string/system_animation_title">
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="animation_controls_duration"
android:title="@string/animation_duration_title"
android:max="400"
settings:min="0"
settings:interval="10"
android:defaultValue="0"
android:persistent="false" />
<ListPreference
android:key="activity_open"
android:icon="@drawable/ic_qs_animation"
android:title="@string/activity_open_title" />
<ListPreference
android:key="activity_close"
android:icon="@drawable/ic_qs_animation"
android:title="@string/activity_close_title" />
<ListPreference
android:key="task_open"
android:icon="@drawable/ic_qs_animation"
android:title="@string/task_open_title" />
<ListPreference
android:key="task_open_behind"
android:icon="@drawable/ic_qs_animation"
android:title="@string/task_open_behind_title" />
<ListPreference
android:key="task_close"
android:icon="@drawable/ic_qs_animation"
android:title="@string/task_close_title" />
<ListPreference
android:key="task_move_to_front"
android:icon="@drawable/ic_qs_animation"
android:title="@string/task_move_to_front_title" />
<ListPreference
android:key="task_move_to_back"
android:icon="@drawable/ic_qs_animation"
android:title="@string/task_move_to_back_title" />
<ListPreference
android:key="wallpaper_open"
android:icon="@drawable/ic_qs_animation"
android:title="@string/wallpaper_open_title" />
<ListPreference
android:key="wallpaper_close"
android:icon="@drawable/ic_qs_animation"
android:title="@string/wallpaper_close_title" />
<ListPreference
android:key="wallpaper_intra_open"
android:icon="@drawable/ic_qs_animation"
android:title="@string/wallpaper_intra_open_title" />
<ListPreference
android:key="wallpaper_intra_close"
android:icon="@drawable/ic_qs_animation"
android:title="@string/wallpaper_intra_close_title" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/power_menu_animation">
<ListPreference
android:key="power_menu_animations"
android:icon="@drawable/ic_power"
android:title="@string/power_menu_animation_title"
android:dialogTitle="@string/power_menu_animation_dialog_title"
android:entries="@array/power_menu_animations_entries"
android:entryValues="@array/power_menu_animations_values"
android:summary="@string/power_menu_animation_summary"
android:persistent="false" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 cherish Project
<!-- Copyright (C) 2020 CherishOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -18,12 +18,6 @@
android:title="@string/button_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen
android:key="button_settings"
android:title="@string/button_pref_title"
android:icon="@drawable/ic_button_settings"
android:fragment="com.android.settings.custom.buttons.ButtonSettings"/>
<PreferenceScreen
android:key="volume_key"
android:fragment="com.cherish.settings.fragments.VolumeRockerSettings"

View File

@@ -1,106 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017-2018 The Dirty Unicorns 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/status_bar_clock_title" >
<PreferenceCategory
android:key="clock_category"
android:title="@string/clock_category_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_clock_auto_hide"
android:icon="@drawable/ic_clock"
android:title="@string/status_bar_clock_auto_hide_title"
android:summary="@string/status_bar_clock_auto_hide_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="status_bar_clock_auto_hide_hduration"
android:title="@string/status_bar_clock_auto_hide_hdur_title"
android:max="300"
settings:min="5"
settings:interval="5"
settings:units="sec"
android:dependency="status_bar_clock_auto_hide"
android:defaultValue="60" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="status_bar_clock_auto_hide_sduration"
android:title="@string/status_bar_clock_auto_hide_sdur_title"
android:max="300"
settings:min="5"
settings:interval="5"
settings:units="sec"
android:dependency="status_bar_clock_auto_hide"
android:defaultValue="5" />
<ListPreference
android:key="statusbar_clock_style"
android:title="@string/status_bar_clock_style_title"
android:entries="@array/status_bar_clock_style_entries"
android:entryValues="@array/status_bar_clock_style_values" />
<ListPreference
android:key="status_bar_am_pm"
android:icon="@drawable/ic_24h"
android:title="@string/status_bar_am_pm_title"
android:entries="@array/status_bar_am_pm_entries"
android:entryValues="@array/status_bar_am_pm_values" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_clock_seconds"
android:icon="@drawable/ic_seconds"
android:title="@string/clock_seconds_display"
android:summary="@string/clock_seconds_display_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="date_category"
android:title="@string/date_category_title">
<ListPreference
android:key="clock_date_display"
android:icon="@drawable/ic_calendar"
android:title="@string/clock_date_display"
android:entries="@array/clock_date_display_entries"
android:entryValues="@array/clock_date_display_values" />
<ListPreference
android:key="statusbar_clock_date_position"
android:title="@string/clock_date_position"
android:icon="@drawable/ic_qs"
android:entries="@array/clock_date_position_entries"
android:entryValues="@array/clock_date_position_values"
android:dependency="clock_date_display" />
<ListPreference
android:key="clock_date_style"
android:icon="@drawable/ic_font"
android:title="@string/clock_date_style"
android:entries="@array/clock_date_style_entries"
android:entryValues="@array/clock_date_style_values"
android:dependency="clock_date_display" />
<ListPreference
android:key="clock_date_format"
android:icon="@drawable/ic_qs"
android:title="@string/clock_date_format"
android:summary="@string/clock_date_format_summary"
android:entries="@array/clock_date_format_entries_values"
android:entryValues="@array/clock_date_format_entries_values"
android:dependency="clock_date_display" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 CherishOS 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/fod_icon_picker_title">
<!-- Preview -->
<com.cherish.settings.preferences.FODIconPicker
android:key="fod_icon"
android:layout="@layout/fod_picker_preference"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -1,73 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016-2019 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/gaming_mode_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_headsup_toggle"
android:title="@string/gaming_mode_headsup_title"
android:summary="@string/gaming_mode_headsup_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_hw_keys_toggle"
android:title="@string/gaming_mode_hardware_keys_title"
android:summary="@string/gaming_mode_hardware_keys_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_manual_brightness_toggle"
android:title="@string/gaming_mode_brightness_title"
android:summary="@string/gaming_mode_brightness_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="gaming_mode_ringer_mode"
android:title="@string/gaming_mode_ringer_title"
android:entries="@array/gaming_mode_ringer_entries"
android:entryValues="@array/gaming_mode_ringer_values"
android:defaultValue="0"
android:summary="%s" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="gaming_mode_notifications"
android:title="@string/gaming_mode_notifications_title"
android:entries="@array/gaming_mode_notifications_entries"
android:entryValues="@array/gaming_mode_notifications_values"
android:defaultValue="3"
android:summary="%s" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_dynamic_state"
android:title="@string/gaming_mode_dynamic_title"
android:summary="@string/gaming_mode_dynamic_summary"
android:defaultValue="false" />
<PreferenceCategory
android:title="@string/gaming_mode_app_picker_title"
android:key="gamingmode_applications">
<Preference
android:key="add_gamingmode_packages"
android:icon="@drawable/ic_menu_add_white"
android:title="@string/add_gaming_mode_package_title" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -23,108 +23,12 @@
android:key="lockscreen_category"
android:title="@string/lockscreen_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_battery_info"
android:icon="@drawable/ic_batteryenergy"
android:title="@string/lockscreen_battery_info_title"
android:summary="@string/lockscreen_battery_info_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="lockscreen_charging_animation_style"
android:icon="@drawable/ic_charging"
android:dialogTitle="@string/lockscreen_charging_animation_title"
android:title="@string/lockscreen_charging_animation_title"
android:entries="@array/lockscreen_charging_animation_entries"
android:entryValues="@array/lockscreen_charging_animation_values"
android:summary="%s"
android:defaultValue="1" />
<Preference
android:title="@string/lockscreen_tuner_title"
android:icon="@drawable/ic_shortcut"
android:summary="@string/lockscreen_tuner_summary" >
<intent android:action="android.intent.action.MAIN"
android:targetPackage="com.android.systemui"
android:targetClass="com.android.systemui.tuner.LockscreenActivity" />
</Preference>
</PreferenceCategory>
<!-- Lockscreen Clock -->
<PreferenceCategory
android:key="lockscreen_clock"
android:title="@string/lockscreen_clock_title">
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_clock_selection"
android:icon="@drawable/ic_lockscreen_clock_selection"
android:title="@string/lockscreen_clock_title"
android:dialogTitle="@string/lockscreen_clock_dialog_title"
android:entries="@array/lockscreen_clock_titles"
android:entryValues="@array/lockscreen_clock_values"
android:defaultValue="2" />
</PreferenceCategory>
<!-- Lockscreen Date Styles-->
<PreferenceCategory
android:key="lockscreen_date"
android:title="@string/lockscreen_date_title">
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_date_selection"
android:icon="@drawable/ic_calendar"
android:title="@string/lockscreen_date_selection_title"
android:dialogTitle="@string/lockscreen_date_dialog_title"
android:entries="@array/lockscreen_date_selection_entries"
android:entryValues="@array/lockscreen_date_selection_values"
android:defaultValue="0" />
</PreferenceCategory>
<!-- Lockscreen Visualizer-->
<PreferenceCategory
android:key="visualizer"
android:title="@string/visualizer_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_media_metadata"
android:title="@string/lockscreen_media_art_title"
android:icon="@drawable/ic_media"
android:defaultValue="true" />
<Preference
android:key="pulse"
android:title="@string/pulse_settings"
android:icon="@drawable/ic_visualizer"
android:summary="@string/pulse_settings_summary"
android:fragment="com.cherish.settings.fragments.PulseSettings" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="lockscreen_media_blur"
android:title="@string/lockscreen_media_blur_title"
android:dependency="lockscreen_media_metadata"
android:max="100"
settings:min="5"
settings:units="%"
settings:interval="5"
android:defaultValue="100"/>
</PreferenceCategory>
<SwitchPreference
android:key="fingerprint_success_vib"
android:icon="@drawable/ic_fingerprint"
android:title="@string/fprint_sucess_vib_title"
android:summary="@string/fprint_sucess_vib_summary"
android:persistent="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fp_unlock_keystore"
android:icon="@drawable/ic_unlock"
android:title="@string/fp_unlock_keystore_title"
android:summary="@string/fp_unlock_keystore_summary"
android:defaultValue="false" />
</PreferenceScreen>

View File

@@ -18,76 +18,4 @@
android:title="@string/misc_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="gaming_mode_enabled"
android:icon="@drawable/ic_gaming_mode"
android:fragment="com.cherish.settings.fragments.GamingMode"
android:title="@string/gaming_mode_title"
android:summary="@string/gaming_mode_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="settings_show_conditions"
android:icon="@drawable/ic_dashboard"
android:title="@string/settings_show_conditions_title"
android:summary="@string/settings_show_conditions_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="settings_show_suggestions"
android:icon="@drawable/ic_dashboard"
android:title="@string/settings_show_suggestions_title"
android:summary="@string/settings_show_suggestions_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="wake_when_plugged_or_unplugged"
android:icon="@drawable/ic_plug"
android:title="@string/wake_when_plugged_or_unplugged_title"
android:summary="@string/wake_when_plugged_or_unplugged_summary"
android:defaultValue="@*android:bool/config_unplugTurnsOnScreen" />
<PreferenceCategory
android:key="media"
android:title="@string/media_title">
<com.cherish.settings.preferences.GlobalSettingListPreference
android:icon="@drawable/ic_ring"
android:key="ringtone_focus_mode"
android:title="@string/ringtone_focus_mode_title"
android:entries="@array/ringtone_focus_mode_entries"
android:entryValues="@array/ringtone_focus_mode_values"
android:defaultValue="1" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="adaptive_playback_enabled"
android:icon="@drawable/ic_headset"
android:title="@string/adaptive_playback_title"
android:summary="@string/adaptive_playback_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="adaptive_playback_timeout"
android:icon="@drawable/ic_play"
android:title="@string/adaptive_playback_timeout_title"
android:entries="@array/adaptive_playback_timeout_entries"
android:entryValues="@array/adaptive_playback_timeout_values"
android:defaultValue="30000"
android:dependency="adaptive_playback_enabled" />
</PreferenceCategory>
<!-- In-call feedback -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="incall_feeedback_vibrate"
android:icon="@drawable/ic_vibrate"
android:title="@string/incall_feeedback_vibrate_title"
android:defaultValue="false"
settings:controller="com.cherish.settings.fragments.IncallFeedbackPreferenceController" />
<Preference
android:key="audio_panel"
android:icon="@drawable/ic_music"
android:fragment="com.cherish.settings.fragments.AudioPanelSettings"
android:title="@string/audio_panel_view" />
</PreferenceScreen>

View File

@@ -18,80 +18,4 @@
android:title="@string/notifications_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_headers"
android:icon="@drawable/ic_notification_center"
android:title="@string/notification_headers_title"
android:summary="@string/notification_headers_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="center_notification_headers"
android:title="@string/center_notification_headers_title"
android:summary="@string/center_notification_headers_summary"
android:dependency="notification_headers"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="force_expanded_notifications"
android:icon="@drawable/ic_notification"
android:title="@string/force_expanded_notifications_title"
android:summary="@string/force_expanded_notifications_summary"
android:defaultValue="false" />
<Preference
android:key="charging_light"
android:icon="@drawable/ic_battery_almostfull"
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
android:title="@string/battery_light_settings" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="charging_animation"
android:icon="@drawable/ic_charging"
android:title="@string/charging_animation_title"
android:summary="@string/charging_animation_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="notification_screen"
android:title="@string/notification_screen_title" >
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="pulse_ambient_light"
android:icon="@drawable/ic_pulse"
android:title="@string/pulse_ambient_light_title"
android:summary="@string/pulse_ambient_light_summary"
android:fragment="com.cherish.settings.fragments.EdgePulse"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/flashlight_category">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="flashlight_on_call"
android:icon="@drawable/ic_flashlight"
android:title="@string/flashlight_on_call_title"
android:entries="@array/flashlight_on_call_entries"
android:entryValues="@array/flashlight_on_call_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="flashlight_on_call_ignore_dnd"
android:icon="@drawable/ic_call_dnd"
android:title="@string/flashlight_on_call_ignore_dnd_title"
android:summary="@string/flashlight_on_call_ignore_dnd_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="flashlight_on_call_rate"
android:icon="@drawable/ic_call"
android:title="@string/flashlight_on_call_rate_title"
android:summary="@string/flashlight_on_call_rate_summary"
android:max="5"
settings:min="1"
settings:defaultValue="1"
settings:units="Hz" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -18,65 +18,4 @@
android:title="@string/powermenu_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:title="@string/panel_porn_title">
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="transparent_power_menu"
android:title="@string/power_menu_transparency"
android:max="100"
android:min="0"
settings:unitsLeft=""
settings:unitsRight="%"
android:defaultValue="100" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="transparent_power_dialog_dim"
android:title="@string/power_menu_dialog_dim"
android:max="100"
android:min="0"
settings:unitsLeft=""
settings:unitsRight="%"
android:defaultValue="50" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:icon="@drawable/ic_recovery"
android:key="advanced_reboot"
android:title="@string/advanced_reboot_title"
android:summary="@string/advanced_reboot_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="power_menu_emergency_affordance"
android:icon="@drawable/ic_emergency"
android:title="@string/power_menu_emergency_title"
android:defaultValue="true" />
<PreferenceCategory
android:title="@string/lockscreen_secure_power_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_disable_power_menu"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_power_menu_disabled_title"
android:summary="@string/lockscreen_power_menu_disabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="lockscreen_enable_power_menu"
android:icon="@drawable/ic_power"
android:title="@string/lockscreen_enable_power_menu_title"
android:summary="@string/lockscreen_enable_power_menu_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="lockscreen_powermenu_secure"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_secure_power_menu_title"
android:summary="@string/lockscreen_secure_power_menu_summary"
android:dependency="lockscreen_enable_power_menu"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,145 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012-2014 The TeamEos 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/pulse_settings" >
<SwitchPreference
android:key="navbar_pulse_enabled"
android:title="@string/show_navbar_pulse_title"
android:summary="@string/show_navbar_pulse_summary"/>
<SwitchPreference
android:key="lockscreen_pulse_enabled"
android:title="@string/show_lockscreen_pulse_title"
android:summary="@string/show_lockscreen_pulse_summary"/>
<SwitchPreference
android:key="ambient_pulse_enabled"
android:title="@string/show_ambient_pulse_title"
android:summary="@string/show_ambient_pulse_summary"/>
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="pulse_render_style"
android:title="@string/pulse_render_mode_title"
android:entries="@array/pulse_render_mode_entries"
android:entryValues="@array/pulse_render_mode_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="pulse_smoothing_enabled"
android:title="@string/smoothing_enabled_title"
android:summary="@string/smoothing_enabled_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="pulse_color_category"
android:title="@string/pulse_color">
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="pulse_color_mode"
android:title="@string/pulse_color_mode"
android:entries="@array/pulse_color_mode_entries"
android:entryValues="@array/pulse_color_mode_values"
android:defaultValue="1"/>
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="pulse_color_user"
android:title="@string/pulse_color_chooser"
android:persistent="false" />
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_lavalamp_speed"
android:title="@string/lavamp_speed_title"
android:max="30000"
android:defaultValue="10000"
android:min="200"
settings:interval="200"
settings:units="ms"/>
</PreferenceCategory>
<PreferenceCategory
android:key="pulse_fading_bars_category"
android:title="@string/pulse_legacy_mode_advanced_category">
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_custom_dimen"
android:title="@string/pulse_custom_dimen"
android:max="30"
android:defaultValue="14"
android:min="1"
settings:units="dp"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_custom_div"
android:title="@string/pulse_custom_div"
android:max="44"
android:defaultValue="16"
android:min="2"
settings:interval="2"
settings:units="dp"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_filled_block_size"
android:title="@string/pulse_filled_block_size"
android:max="8"
android:defaultValue="4"
android:min="4"
settings:units="dp"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_empty_block_size"
android:title="@string/pulse_empty_block_size"
android:max="4"
android:defaultValue="1"
android:min="0"
settings:units="dp"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_custom_fudge_factor"
android:title="@string/pulse_custom_fudge_factor"
android:max="6"
android:defaultValue="4"
android:min="2"/>
</PreferenceCategory>
<PreferenceCategory
android:key="pulse_2"
android:title="@string/pulse_solid_dimen_category">
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_solid_units_opacity"
android:title="@string/pulse_solid_units_opacity"
android:max="255"
android:defaultValue="200"
android:min="0"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_solid_units_count"
android:title="@string/pulse_solid_units_count"
android:max="128"
android:defaultValue="64"
settings:interval="16"
android:min="32"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_solid_fudge_factor"
android:title="@string/pulse_custom_fudge_factor"
android:max="7"
android:defaultValue="5"
android:min="2"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 Nitrogen Project
<!-- Copyright (C) 2020 CherishOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -17,227 +17,5 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/quicksettings_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:title="@string/qs_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_panel_bg_use_new_tint"
android:icon="@drawable/ic_accent_picker"
android:title="@string/qs_bg_use_new_tint"
android:summary="@string/qs_bg_use_new_tint_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_blur"
android:icon="@drawable/ic_blur"
android:title="@string/blur_quicksettings"
android:summary="@string/blur_quicksettings_subtitle"
android:defaultValue="true" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="qs_blur_intensity"
android:title="@string/qs_blur_intensity_title"
android:summary="@string/qs_blur_intensity_summary"
android:max="100"
settings:min="1"
settings:unitsRight="@string/unit_percent"
android:persistent="false"
android:dependency="qs_blur" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="qs_blur_alpha"
android:title="@string/qs_blur_alpha_title"
android:summary="@string/qs_blur_alpha_summary"
android:max="100"
settings:min="1"
settings:unitsRight="@string/unit_percent"
android:persistent="false"
android:dependency="qs_blur" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="dismiss_all_button"
android:icon="@drawable/ic_notification_clear_all"
android:title="@string/enable_clear_all_button"
android:summary="@string/enable_clear_all_button_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="settings_spacer"
android:icon="@drawable/ic_settings"
android:title="@string/enable_oneui"
android:summary="@string/enable_oneui_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_datausage"
android:icon="@drawable/ic_data"
android:title="@string/qs_datausage_title"
android:entries="@array/qs_datausage_entries"
android:entryValues="@array/qs_datausage_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="status_bar_custom_header"
android:icon="@drawable/ic_header"
android:fragment="com.cherish.settings.fragments.QsHeader"
android:title="@string/status_bar_custom_header_title"
android:summary="@string/status_bar_custom_header_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="footer_text_show"
android:icon="@drawable/ic_edit_show"
android:title="@string/qs_footer_text_title"
android:summary="@string/qs_footer_text_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingEditTextPreference
android:key="footer_text_string"
android:icon="@drawable/ic_edit"
android:title="@string/qs_footer_text_string_title"
android:summary="@string/qs_footer_text_string_summary"
android:dependency="footer_text_show"
android:defaultValue="#KeeptheLove" />
</PreferenceCategory>
<PreferenceCategory
android:key="notification_stat"
android:title="@string/notification_stat">
<com.cherish.settings.preferences.GlobalSettingMasterSwitchPreference
android:key="heads_up_notifications_enabled"
android:icon="@drawable/ic_blacklist"
android:fragment="com.cherish.settings.fragments.HeadsUp"
android:title="@string/heads_up_notifications"
android:summary="@string/heads_up_notifications_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="less_boring_heads_up"
android:icon="@drawable/ic_less_notification"
android:title="@string/less_boring_heads_up_title"
android:summary="@string/less_boring_heads_up_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/qs_title">
<ListPreference
android:key="quick_pulldown"
android:icon="@drawable/ic_pulldown"
android:title="@string/quick_pulldown_title"
android:entries="@array/quick_pulldown_entries"
android:entryValues="@array/quick_pulldown_values"
android:persistent="false" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="status_bar_locked_on_secure_keyguard"
android:icon="@drawable/ic_lock_qs"
android:title="@string/lockscreen_qs_disabled_title"
android:summary="@string/lockscreen_qs_disabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="brightness_slider_qs_unexpanded"
android:icon="@drawable/ic_brightness_qs"
android:title="@string/brightness_slider_qs_unexpanded"
android:summary="@string/brightness_slider_qs_unexpanded_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_bottom_brightness"
android:icon="@drawable/ic_brightness"
android:title="@string/qs_brightness_position_bottom_title"
android:summary="@string/qs_brightness_position_bottom_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_brightness_control"
android:icon="@drawable/ic_brightness_control"
android:title="@string/status_bar_toggle_brightness"
android:summary="@string/status_bar_toggle_brightness_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_tile_title_visibility"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_title_visibility_title"
android:summary="@string/qs_tile_title_visibility_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="quick_settings_vibrate"
android:icon="@drawable/ic_vibrate"
android:title="@string/qs_vibrate_title"
android:summary="@string/qs_vibrate_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_rows_portrait"
android:icon="@drawable/ic_qs_tile"
android:dialogTitle="@string/qs_rows_portrait_title"
android:title="@string/qs_rows_portrait_title"
android:summary="%s"
android:entries="@array/qs_rows_portrait_values"
android:entryValues="@array/qs_rows_portrait_values"
android:defaultValue="3" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_rows_landscape"
android:icon="@drawable/ic_qs_tile"
android:dialogTitle="@string/qs_rows_landscape_title"
android:title="@string/qs_rows_landscape_title"
android:summary="%s"
android:entries="@array/qs_rows_landscape_values"
android:entryValues="@array/qs_rows_landscape_values"
android:defaultValue="1" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_columns_portrait"
android:icon="@drawable/ic_qs_tile"
android:dialogTitle="@string/qs_columns_portrait_title"
android:title="@string/qs_columns_portrait_title"
android:summary="%s"
android:entries="@array/qs_columns_portrait_values"
android:entryValues="@array/qs_columns_portrait_values"
android:defaultValue="3" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_columns_landscape"
android:icon="@drawable/ic_qs_tile"
android:dialogTitle="@string/qs_columns_landscape_title"
android:title="@string/qs_columns_landscape_title"
android:summary="%s"
android:entries="@array/qs_columns_landscape_values"
android:entryValues="@array/qs_columns_landscape_values"
android:defaultValue="4" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/battery_title">
<!-- Battery hide -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_hide_battery"
android:icon="@drawable/ic_battery_outline"
android:title="@string/qs_hide_battery_title"
android:summary="@string/qs_hide_battery_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_battery_mode"
android:icon="@drawable/ic_battery_percent"
android:title="@string/battery_percentage_title"
android:entries="@array/qs_battery_mode_entries"
android:entryValues="@array/qs_battery_mode_values"
android:defaultValue="1" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 Nitrogen Project
<!-- Copyright (C) 2020 CherishOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -18,22 +18,4 @@
android:title="@string/recents_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="alternative_recents_category"
android:title="@string/alternative_recents_category">
<Preference
android:key="swipe_up_enabled_warning"
android:selectable="false"
android:summary="@string/alternative_recents_swipe_up_enabled_warning_summary" />
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="use_slim_recents"
android:icon="@drawable/ic_baseline_recent"
android:fragment="com.cherish.settings.fragments.SlimRecents"
android:title="@string/slim_recents_fragment_title"
android:summary="@string/slim_recents_fragment_summary"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 Nitrogen Project
<!-- Copyright (C) 2020 CherishOS 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
@@ -14,156 +14,4 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/statusbar_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="label"
android:title="@string/label_title">
<Preference
android:key="carrier_label"
android:icon="@drawable/ic_carrierlabel"
android:title="@string/carrier_label_settings_title"
android:summary="@string/carrier_label_settings_summary"
android:fragment="com.cherish.settings.fragments.CustomCarrierLabel" />
</PreferenceCategory>
<PreferenceCategory
android:key="status_bar_icons"
android:title="@string/status_bar_system_icons_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="show_fourg_icon"
android:icon="@drawable/ic_4g"
android:title="@string/show_fourg_icon_title"
android:summary="@string/show_fourg_icon_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="use_old_mobiletype"
android:icon="@drawable/ic_4g_old"
android:title="@string/use_old_mobiletype_title"
android:summary="@string/use_old_mobiletype_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="volte_icon"
android:icon="@drawable/ic_volte"
android:title="@string/volte_icon_title"
android:summary="@string/volte_icon_summary"
android:defaultValue="true"/>
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="volte_icon_style"
android:icon="@drawable/ic_4g_volte"
android:title="@string/volte_icon_style_title"
android:entries="@array/volte_icon_type_entries"
android:entryValues="@array/volte_icon_type_values"
android:dependency="volte_icon"
android:summary="%s"
android:defaultValue="0"/>
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="vowifi_icon"
android:icon="@drawable/ic_vowifi"
android:title="@string/vowifi_icon_title"
android:entries="@array/vowifi_icon_entries"
android:entryValues="@array/vowifi_icon_values"
android:summary="%s"
android:defaultValue="0"/>
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="vowifi_icon_style"
android:icon="@drawable/ic_vowifi"
android:title="@string/vowifi_icon_style_title"
android:entries="@array/vowifi_icon_style_entries"
android:entryValues="@array/vowifi_icon_style_values"
android:summary="%s"
android:defaultValue="0"/>
<Preference
android:title="@string/statusbar_items_title"
android:icon="@drawable/ic_shortcuts">
<intent android:action="android.intent.action.MAIN"
android:targetPackage="com.android.systemui"
android:targetClass="com.android.systemui.tuner.StatusbarItemsActivity" />
</Preference>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="network_traffic_state"
android:icon="@drawable/ic_network_traffic"
android:title="@string/network_traffic_state_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="network_traffic_autohide_threshold"
android:icon="@drawable/ic_network_traffic"
android:title="@string/network_traffic_autohide_threshold_title"
android:max="10"
settings:min="0"
settings:units="" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="network_traffic_hidearrow"
android:title="@string/network_traffic_hidearrow"
android:icon="@drawable/ic_arrow"
android:summary="@string/network_traffic_hidearrow_summary"
android:dependency="network_traffic_state"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="status_bar_clock"
android:icon="@drawable/ic_clock"
android:fragment="com.cherish.settings.fragments.ClockSettings"
android:title="@string/status_bar_clock_title"
android:summary="@string/status_bar_clock_summary"
android:defaultValue="true" />
</PreferenceCategory>
<PreferenceCategory
android:key="battery_style_category"
android:title="@string/battery_style_category_title" >
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="battery_bar_settings"
android:icon="@drawable/ic_battery_bar"
android:title="@string/sb_battery_bar_title"
android:fragment="com.cherish.settings.fragments.BatteryBar" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_battery_style"
android:icon="@drawable/ic_battery_styles"
android:title="@string/status_bar_battery_style_title"
android:summary="%s"
android:dialogTitle="@string/status_bar_battery_style_title"
android:entries="@array/status_bar_battery_style_entries"
android:entryValues="@array/status_bar_battery_style_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_show_battery_percent"
android:icon="@drawable/ic_battery_percent"
android:title="@string/battery_percent_title"
android:dialogTitle="@string/battery_percent_title"
android:entries="@array/battery_percent_entries"
android:entryValues="@array/battery_percent_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:icon="@drawable/ic_battery_charging"
android:key="status_bar_battery_text_charging"
android:title="@string/status_bar_battery_text_charging_title"
android:summary="@string/status_bar_battery_text_charging_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_battery_charging_bolt"
android:icon="@drawable/ic_lighting_bolt"
android:title="@string/status_bar_battery_charging_bolt_title"
android:summary="@string/status_bar_battery_charging_bolt_summary"
android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -17,133 +17,4 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/theme_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="system_theme_category"
android:title="@string/theme_type_title">
<ListPreference
android:key="theme_switch"
android:icon="@drawable/ic_system_theme"
android:title="@string/theme_type_title"
android:summary="%s"
android:dialogTitle="@string/theme_type_summary"
android:entries="@array/theme_type_titles"
android:entryValues="@array/theme_type_values"
android:defaultValue="1"/>
<ListPreference
android:key="switch_style"
android:icon="@drawable/ic_switch_theme"
android:title="@string/switch_style_title"
android:persistent="false"
android:entries="@array/switch_style_entries"
android:entryValues="@array/switch_style_values" />
<ListPreference
android:key="ui_style"
android:icon="@drawable/ic_ui"
android:title="@string/ui_style_title"
android:entries="@array/ui_style_selector_entries"
android:entryValues="@array/ui_style_selector_values"
android:persistent="false" />
<ListPreference
android:key="qs_tile_style"
android:icon="@drawable/ic_shape2_icon"
android:title="@string/qs_tile_style_title"
android:persistent="false"
android:entries="@array/qs_selector_entries"
android:entryValues="@array/qs_selector_values" />
<ListPreference
android:key="qs_header_style"
android:icon="@drawable/ic_header"
android:title="@string/qs_header_style_title"
android:persistent="false"
android:entries="@array/qs_header_style_entries"
android:entryValues="@array/qs_header_style_values" />
<ListPreference
android:key="brightness_slider_style"
android:icon="@drawable/ic_brightness"
android:title="@string/brightness_slider_style_title"
android:entries="@array/brightness_slider_style_selector_entries"
android:entryValues="@array/brightness_slider_style_selector_values"
android:persistent="false" />
<!-- Navbar Style -->
<ListPreference
android:key="navbar_style"
android:title="@string/navbar_style_title"
android:icon="@drawable/ic_nav"
android:dialogTitle="@string/navbar_style_title"
android:entries="@array/navbar_style_entries"
android:entryValues="@array/navbar_style_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="theming_settings_dashboard_icons"
android:icon="@drawable/ic_dashboard"
android:title="@string/theming_settings_dashboard_icons_title"
android:entries="@array/theming_settings_dashboard_icons_entries"
android:entryValues="@array/theming_settings_dashboard_icons_values"
android:defaultValue="0" />
</PreferenceCategory>
<PreferenceCategory
android:key="volume_panel_stuff"
android:title="@string/volume_panel">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="systemui_plugin_volume"
android:title="@string/volume_panel"
android:icon="@drawable/ic_volume"
android:entries="@array/volume_panel_entries"
android:entryValues="@array/volume_panel_values"
android:defaultValue="@string/volume_panel_default_val" />
</PreferenceCategory>
<PreferenceCategory
android:key="rounded_corners_category"
android:title="@string/corners_category_title" >
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sysui_rounded_fwvals"
android:title="@string/corner_fwvals"
android:icon="@drawable/ic_round"
android:defaultValue="true"
android:disableDependentsState="true" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_rounded_size"
android:title="@string/corner_radius"
android:max="60"
settings:min="0"
settings:units="dp"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_rounded_content_padding"
android:title="@string/content_padding"
android:max="30"
settings:min="0"
settings:units="dp"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_status_bar_padding"
android:title="@string/status_bar_padding"
android:max="30"
settings:min="0"
settings:units="dp"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 Nitrogen OS
<!-- Copyright (C) 2020 CherishOS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@@ -1,31 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 CherishOS
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/carrier_label_settings_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_show_carrier"
android:title="@string/show_carrier_title"
android:defaultValue="1" />
<PreferenceScreen
android:key="custom_carrier_label"
android:title="@string/custom_carrier_label_title" />
</PreferenceScreen>

View File

@@ -1,137 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 CherishOS
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/pulse_ambient_light_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="pulse_ambient_light_pulse_for_all"
android:title="@string/pulse_ambient_light_pulse_for_all_title"
android:summary="@string/pulse_ambient_light_pulse_for_all_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="pulse_ambient_light_pulse_for_all_repeat"
android:title="@string/pulse_ambient_light_pulse_for_all_repeat_title"
android:summary="@string/pulse_ambient_light_pulse_for_all_repeat_summary"
android:dependency="pulse_ambient_light_pulse_for_all"
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_sumary"
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_sumary"
android:dependency="ambient_notification_light_enabled"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="pulse_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:defaultValue="0" />
<PreferenceCategory
android:title="@string/edgelight_left" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="ambient_notification_light_accent_left"
android:title="@string/ambient_notification_light_accent_title"
android:summary="@string/ambient_notification_light_accent_summary"
android:defaultValue="true"
android:disableDependentsState="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="pulse_ambient_light_auto_color_left"
android:title="@string/pulse_ambient_light_auto_color_title"
android:summary="@string/pulse_ambient_light_auto_color_summary"
android:defaultValue="false"
android:dependency="ambient_notification_light_accent_left"
android:disableDependentsState="true" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="pulse_ambient_light_color_left"
android:title="@string/pulse_ambient_light_color_title"
android:persistent="false"
android:dependency="pulse_ambient_light_auto_color_left"
settings:defaultColorValue="0xFF3980FF" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="pulse_ambient_light_repeat_mode_left"
android:title="@string/pulse_ambient_light_repeat_mode_title"
android:entries="@array/pulse_ambient_light_anim_entries"
android:entryValues="@array/pulse_ambient_light_anim_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="pulse_ambient_light_left_duration"
android:title="@string/pulse_ambient_light_duration"
android:defaultValue="2000"
android:max="10000"
settings:min="500"
settings:interval="250"
settings:units="ms" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/edgelight_right" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="ambient_notification_light_accent_right"
android:title="@string/ambient_notification_light_accent_title"
android:summary="@string/ambient_notification_light_accent_summary"
android:defaultValue="true"
android:disableDependentsState="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="pulse_ambient_light_auto_color_right"
android:title="@string/pulse_ambient_light_auto_color_title"
android:summary="@string/pulse_ambient_light_auto_color_summary"
android:defaultValue="false"
android:dependency="ambient_notification_light_accent_right"
android:disableDependentsState="true" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="pulse_ambient_light_color_right"
android:title="@string/pulse_ambient_light_color_title"
android:persistent="false"
android:dependency="pulse_ambient_light_auto_color_right"
settings:defaultColorValue="0xFF3980FF" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="pulse_ambient_light_repeat_mode_right"
android:title="@string/pulse_ambient_light_repeat_mode_title"
android:entries="@array/pulse_ambient_light_anim_entries"
android:entryValues="@array/pulse_ambient_light_anim_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="pulse_ambient_light_right_duration"
android:title="@string/pulse_ambient_light_duration"
android:defaultValue="2000"
android:max="10000"
settings:min="500"
settings:interval="250"
settings:units="ms" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,53 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The CyanogenMod 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/heads_up_notifications">
<ListPreference
android:key="heads_up_time_out"
android:title="@string/heads_up_time_out_title"
android:entries="@array/heads_up_time_out_entries"
android:entryValues="@array/heads_up_time_out_values"
android:persistent="false" />
<ListPreference
android:key="heads_up_snooze_time"
android:title="@string/heads_up_snooze_title"
android:entries="@array/heads_up_snooze_entries"
android:entryValues="@array/heads_up_snooze_values"
android:persistent="false" />
<PreferenceCategory
android:title="@string/heads_up_stoplist_title"
android:key="stoplist_applications" >
<Preference
android:key="add_stoplist_packages"
android:icon="@drawable/ic_menu_add_activated_tint"
android:title="@string/add_heads_up_package"
android:summary="@string/add_heads_up_stoplist_summary" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/heads_up_blacklist_title"
android:key="blacklist_applications" >
<Preference
android:key="add_blacklist_packages"
android:icon="@drawable/ic_menu_add_activated_tint"
android:title="@string/add_heads_up_package"
android:summary="@string/add_heads_up_blacklist_summary" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,66 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 ion-OS
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
android:title="@string/status_bar_custom_header_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<ListPreference
android:key="custom_header_provider"
android:title="@string/custom_header_provider_title"
android:persistent="false"
android:entries="@array/custom_header_provider_entries"
android:entryValues="@array/custom_header_provider_values" />
<ListPreference
android:key="daylight_header_pack"
android:title="@string/daylight_header_pack_title"
android:persistent="false" />
<Preference
android:key="custom_header_browse"
android:title="@string/custom_header_pick_title"
android:summary="@string/custom_header_pick_summary"
android:persistent="false" >
<intent android:action="android.intent.action.MAIN"
android:targetPackage="org.omnirom.omnistyle"
android:targetClass="org.omnirom.omnistyle.PickHeaderActivity" />
</Preference>
<Preference
android:key="file_header_select"
android:title="@string/file_header_select_title"
android:summary="@string/file_header_select_summary"
android:persistent="false" >
</Preference>
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="status_bar_custom_header_shadow"
android:title="@string/status_bar_custom_header_shadow_title"
android:max="100"
settings:min="0"
android:defaultValue="0"
settings:units="%" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="status_bar_custom_header_height"
android:title="@string/status_bar_custom_header_height_title"
android:max="100"
settings:min="0"
android:defaultValue="25"
settings:units="dp" />
</PreferenceScreen>

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (C) 2017 AICP
*
* 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/recent_app_sidebar_picker_title">
</PreferenceScreen>

View File

@@ -1,58 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (C) 2017 AICP
*
* 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/recent_app_sidebar_style_title">
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="recent_app_sidebar_scale_factor"
android:title="@string/recent_app_sidebar_scale_title"
android:defaultValue="100"
android:max="160"
settings:min="60"
settings:interval="5"
settings:units="%" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="recent_app_sidebar_disable_labels"
android:title="@string/recent_app_sidebar_hide_labels_title"
android:disableDependentsState="true"
android:defaultValue="false" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="recent_app_sidebar_text_color"
android:title="@string/recent_app_sidebar_label_color_title"
settings:defaultColorValue="0xffffffff"
alphaSlider="false"
android:dependency="recent_app_sidebar_disable_labels" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="recent_app_sidebar_bg_color"
android:title="@string/recent_app_sidebar_bg_color_title"
settings:defaultColorValue="0x00ffffff"
alphaSlider="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="recent_app_sidebar_open_simultaneously"
android:title="@string/recent_app_sidebar_open_simultaneously_title"
android:summary="@string/recent_app_sidebar_open_simultaneously_summary"
android:defaultValue="true" />
</PreferenceScreen>

View File

@@ -1,150 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (C) 2017 AICP
*
* 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/slim_recents_title">
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="recent_panel_scale_factor"
android:title="@string/recent_panel_scale_title"
settings:min="60"
settings:interval="5"
android:max="160"
android:defaultValue="100"
settings:units="%" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="recent_panel_bg_color"
android:title="@string/recent_panel_bg_color_title"
settings:defaultColorValue="0x00ffffff"
alphaSlider="true" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="recent_card_bg_color"
android:title="@string/recent_card_bg_color_title"
settings:defaultColorValue="0x00ffffff"
alphaSlider="true" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="recents_max_apps"
android:title="@string/recents_max_apps_title"
android:defaultValue="15"
settings:min="5"
android:max="105" />
<SwitchPreference
android:key="recent_panel_lefty_mode"
android:title="@string/recent_panel_lefty_mode_title"
android:summary="@string/recent_panel_lefty_mode_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="slim_recent_enter_exit_animation"
android:title="@string/slim_recents_enter_exit_animation_title"
android:entries="@array/slim_recents_enter_exit_animation_entries"
android:entryValues="@array/slim_recents_enter_exit_animation_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="slim_recents_corner_radius"
android:title="@string/slim_recents_corner_radius_title"
settings:min="0"
android:max="20"
android:defaultValue="8"
settings:units="dp" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="recent_panel_expanded_mode"
android:entries="@array/recent_panel_expanded_mode_entries"
android:entryValues="@array/recent_panel_expanded_mode_values"
android:title="@string/recent_panel_expanded_mode_title"
android:summary="@string/recent_panel_expanded_mode_summary"
android:defaultValue="0" />
<Preference
android:key="slim_icon_pack"
android:title="@string/slim_icon_pack_title"
android:summary="@string/slim_icon_pack_summary" />
<PreferenceScreen
android:key="blacklist_fragment"
android:fragment="com.cherish.settings.fragments.SlimRecentsBlacklist"
android:title="@string/slim_blacklist_apps_title"
android:summary="@string/slim_blacklist_apps_summary" />
<PreferenceCategory
android:title="@string/recent_app_sidebar_cat_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="use_recent_app_sidebar"
android:title="@string/recent_app_sidebar_title"
android:summary="@string/recent_app_sidebar_summary"
android:defaultValue="true" />
<PreferenceScreen
android:key="recent_app_sidebar"
android:title="@string/recent_app_sidebar_picker_title"
android:summary="@string/recent_app_sidebar_picker_summary"
android:fragment="com.cherish.settings.preferences.dslv.ActionListViewSettings"
android:dependency="use_recent_app_sidebar" >
<extra android:name="actionMode" android:value="7" />
<extra android:name="maxAllowedActions" android:value="-1" />
<extra android:name="useAppPickerOnly" android:value="true" />
<extra android:name="fragment" android:value="com.cherish.settings.fragments.SlimRecentAppSidebar" />
</PreferenceScreen>
<PreferenceScreen
android:key="recent_app_sidebar_fragment"
android:fragment="com.cherish.settings.fragments.SlimRecentAppSidebarStyle"
android:title="@string/recent_app_sidebar_style_title"
android:summary="@string/recent_app_sidebar_style_summary"
android:dependency="use_recent_app_sidebar" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/slim_recents_mem_display_category_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="slim_recents_mem_display"
android:title="@string/slim_recents_mem_display_title"
android:summary="@string/slim_recents_mem_display_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="slim_recents_mem_display_long_click_clear"
android:title="@string/slim_recents_mem_display_long_click_clear_title"
android:summary="@string/slim_recents_mem_display_long_click_clear_summary"
android:defaultValue="false"
android:dependency="slim_recents_mem_display" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="slim_mem_bar_color"
android:title="@string/slim_recents_mem_display_color"
settings:defaultColorValue="0xffffffff"
android:dependency="slim_recents_mem_display"/>
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="slim_mem_text_color"
android:title="@string/slim_recents_mem_display_text_color"
settings:defaultColorValue="0xffffffff"
android:dependency="slim_recents_mem_display"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The ABC rom
Copyright (C) 2017 AICP
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/slim_blacklist_apps_title">
<Preference
android:key="add_blacklist_packages"
android:title="@string/slim_blacklist_add_apps_title"
android:summary="@string/slim_blacklist_add_apps_summary" />
</PreferenceScreen>