maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 The OmniROM Project |
| 3 | |
| 4 | This program is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by |
| 6 | the Free Software Foundation, either version 2 of the License, or |
| 7 | (at your option) any later version. |
| 8 | |
| 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | --> |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 17 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
maxwen | 0c7e4e2 | 2018-03-09 18:36:45 +0100 | [diff] [blame] | 18 | xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" |
| 19 | android:key="button_settings" |
| 20 | android:title="@string/button_settings_title" > |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 21 | |
| 22 | <PreferenceCategory |
maxwen | 58f7194 | 2017-08-31 14:37:41 +0200 | [diff] [blame] | 23 | android:key="button_volume_keys" |
| 24 | android:title="@string/button_volume_keys_title" > |
| 25 | |
Juan Ezquerro LLanes | efe2ebe | 2018-05-22 23:14:11 +0200 | [diff] [blame^] | 26 | <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
maxwen | 58f7194 | 2017-08-31 14:37:41 +0200 | [diff] [blame] | 27 | android:key="swap_volume_buttons" |
| 28 | android:title="@string/swap_volume_buttons_title" |
| 29 | android:summary="@string/swap_volume_buttons_summary" |
| 30 | android:defaultValue="false" /> |
maxwen | 2e295d0 | 2017-09-17 03:21:08 +0200 | [diff] [blame] | 31 | |
Juan Ezquerro LLanes | efe2ebe | 2018-05-22 23:14:11 +0200 | [diff] [blame^] | 32 | <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
maxwen | 2e295d0 | 2017-09-17 03:21:08 +0200 | [diff] [blame] | 33 | android:key="volume_button_force_media" |
| 34 | android:title="@string/volume_button_force_media_title" |
| 35 | android:summary="@string/volume_button_force_media_summary" |
| 36 | android:defaultValue="false" /> |
| 37 | |
Juan Ezquerro LLanes | efe2ebe | 2018-05-22 23:14:11 +0200 | [diff] [blame^] | 38 | <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
Marko Man | 148df28 | 2017-10-02 11:33:12 +0200 | [diff] [blame] | 39 | android:key="volume_button_wake" |
maxwen | 2e217ee | 2017-09-23 14:18:04 +0200 | [diff] [blame] | 40 | android:title="@string/button_volume_wake_title" |
| 41 | android:summary="@string/button_volume_wake_summary" |
Marko Man | 148df28 | 2017-10-02 11:33:12 +0200 | [diff] [blame] | 42 | android:disableDependentsState="true" |
maxwen | 2e217ee | 2017-09-23 14:18:04 +0200 | [diff] [blame] | 43 | android:defaultValue="false" /> |
Marko Man | 148df28 | 2017-10-02 11:33:12 +0200 | [diff] [blame] | 44 | |
Juan Ezquerro LLanes | efe2ebe | 2018-05-22 23:14:11 +0200 | [diff] [blame^] | 45 | <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
Marko Man | 148df28 | 2017-10-02 11:33:12 +0200 | [diff] [blame] | 46 | android:key="volume_button_music_control" |
| 47 | android:title="@string/volume_button_music_control_title" |
| 48 | android:summary="@string/volume_button_music_control_summary" |
maxwen | 2b7b82b | 2017-10-20 13:55:11 +0200 | [diff] [blame] | 49 | android:dependency="volume_button_wake" |
| 50 | android:defaultValue="false" /> |
maxwen | 58f7194 | 2017-08-31 14:37:41 +0200 | [diff] [blame] | 51 | </PreferenceCategory> |
| 52 | |
| 53 | <PreferenceCategory |
maxwen | c187b68 | 2017-09-22 01:12:32 +0200 | [diff] [blame] | 54 | android:key="button_keys" |
| 55 | android:title="@string/button_keys_title" > |
| 56 | |
| 57 | <SwitchPreference |
| 58 | android:key="navigation_bar_show" |
| 59 | android:title="@string/navigation_bar_show_title" |
| 60 | android:summary="@string/navigation_bar_show_summary" |
| 61 | android:persistent="false" /> |
| 62 | <SwitchPreference |
| 63 | android:key="hardware_keys_disable" |
| 64 | android:title="@string/hardware_keys_disable_title" |
| 65 | android:summary="@string/hardware_keys_disable_summary" |
maxwen | bf3020e | 2018-04-03 12:38:33 +0200 | [diff] [blame] | 66 | android:persistent="false" /> |
maxwen | 26ad3b0 | 2017-09-22 13:04:26 +0200 | [diff] [blame] | 67 | <Preference |
| 68 | android:key="button_brightness" |
| 69 | android:title="@string/button_backlight_title" |
| 70 | android:summary="@string/button_backlight_summary" |
| 71 | android:persistent="false" |
| 72 | android:fragment="org.omnirom.omnigears.ButtonBrightnessSettings" /> |
| 73 | |
maxwen | c187b68 | 2017-09-22 01:12:32 +0200 | [diff] [blame] | 74 | </PreferenceCategory> |
| 75 | |
| 76 | <PreferenceCategory |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 77 | android:key="button_power" |
| 78 | android:title="@string/global_actions_power_title" > |
maxwen | 2e295d0 | 2017-09-17 03:21:08 +0200 | [diff] [blame] | 79 | |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 80 | <Preference |
| 81 | android:key="global_actions" |
| 82 | android:title="@string/global_actions_title" |
| 83 | android:summary="@string/global_actions_summary" |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 84 | android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" /> |
maxwen | 197a908 | 2018-04-16 16:40:46 +0200 | [diff] [blame] | 85 | |
Juan Ezquerro LLanes | efe2ebe | 2018-05-22 23:14:11 +0200 | [diff] [blame^] | 86 | <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
maxwen | 197a908 | 2018-04-16 16:40:46 +0200 | [diff] [blame] | 87 | android:key="long_press_power_torch" |
| 88 | android:title="@string/long_press_power_torch_title" |
| 89 | android:summary="@string/long_press_power_torch_summary" |
| 90 | android:defaultValue="false" /> |
| 91 | |
Juan Ezquerro LLanes | efe2ebe | 2018-05-22 23:14:11 +0200 | [diff] [blame^] | 92 | <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
maxwen | 9b590b2 | 2018-05-04 23:32:00 +0200 | [diff] [blame] | 93 | android:key="system_proxi_check_enabled" |
| 94 | android:title="@string/system_proxi_check_enabled_title" |
| 95 | android:summary="@string/system_proxi_check_enabled_summary" |
| 96 | android:defaultValue="false"/> |
| 97 | |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 98 | </PreferenceCategory> |
| 99 | |
| 100 | <PreferenceCategory |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 101 | android:key="button_other" |
| 102 | android:title="@string/button_other_title" > |
maxwen | 58f7194 | 2017-08-31 14:37:41 +0200 | [diff] [blame] | 103 | |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 104 | <ListPreference |
| 105 | android:key="navbar_recents_style" |
| 106 | android:title="@string/navbar_recents_style_title" |
| 107 | android:entries="@array/navbar_recents_style_entries" |
| 108 | android:entryValues="@array/navbar_recents_style_values" |
| 109 | android:persistent="false"/> |
Marko Man | a539701 | 2016-10-21 12:49:53 +0200 | [diff] [blame] | 110 | |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 111 | <ListPreference |
| 112 | android:key="long_press_recents_action" |
| 113 | android:title="@string/long_press_recents_action_title" |
| 114 | android:entries="@array/long_press_recents_action_entries" |
| 115 | android:entryValues="@array/long_press_recents_action_values" |
| 116 | android:persistent="false"/> |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 117 | <ListPreference |
| 118 | android:key="long_press_home_action" |
| 119 | android:title="@string/long_press_home_action_title" |
| 120 | android:entries="@array/long_press_home_action_entries" |
| 121 | android:entryValues="@array/long_press_home_action_values" |
| 122 | android:persistent="false"/> |
maxwen | 914df5f | 2018-01-03 01:16:10 +0100 | [diff] [blame] | 123 | <ListPreference |
| 124 | android:key="double_press_home_action" |
| 125 | android:title="@string/double_press_home_action_title" |
| 126 | android:entries="@array/long_press_home_action_entries" |
| 127 | android:entryValues="@array/long_press_home_action_values" |
| 128 | android:persistent="false"/> |
Marko Man | a539701 | 2016-10-21 12:49:53 +0200 | [diff] [blame] | 129 | |
Juan Ezquerro LLanes | efe2ebe | 2018-05-22 23:14:11 +0200 | [diff] [blame^] | 130 | <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
Marko Man | a539701 | 2016-10-21 12:49:53 +0200 | [diff] [blame] | 131 | android:key="button_back_kill_enable" |
| 132 | android:title="@string/button_back_kill_enable_title" |
| 133 | android:summary="@string/button_back_kill_enable_summary" |
| 134 | android:defaultValue="false"/> |
| 135 | |
| 136 | <ListPreference |
| 137 | android:key="button_back_kill_timeout" |
| 138 | android:title="@string/button_back_kill_timeout_title" |
| 139 | android:entries="@array/button_back_kill_timeout_entries" |
| 140 | android:entryValues="@array/button_back_kill_timeout_values" |
| 141 | android:defaultValue="1500" |
| 142 | android:persistent="false" |
| 143 | android:dependency="button_back_kill_enable"/> |
| 144 | |
beanstown106 | 49f2646 | 2017-09-23 16:33:19 +0800 | [diff] [blame] | 145 | <SwitchPreference |
| 146 | android:key="fingerprint_success_vib" |
| 147 | android:title="@string/fprint_sucess_vib_title" |
| 148 | android:summary="@string/fprint_sucess_vib_summary" |
| 149 | android:persistent="false" /> |
| 150 | |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 151 | </PreferenceCategory> |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 152 | |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 153 | </PreferenceScreen> |