Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2013 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 | --> |
| 17 | <!-- Copyright (C) 2012 The CyanogenMod Project |
| 18 | |
| 19 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 20 | you may not use this file except in compliance with the License. |
| 21 | You may obtain a copy of the License at |
| 22 | |
| 23 | http://www.apache.org/licenses/LICENSE-2.0 |
| 24 | |
| 25 | Unless required by applicable law or agreed to in writing, software |
| 26 | distributed under the License is distributed on an "AS IS" BASIS, |
| 27 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 28 | See the License for the specific language governing permissions and |
| 29 | limitations under the License. |
| 30 | --> |
Marko Man | 40603b2 | 2016-09-26 11:15:53 +0200 | [diff] [blame] | 31 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 32 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
| 33 | xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> |
Marko Man | 7013809 | 2016-09-25 02:03:08 +0200 | [diff] [blame] | 34 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 35 | <PreferenceCategory |
| 36 | android:key="button_volume_keys" |
| 37 | android:title="@string/button_volume_keys_title" > |
| 38 | |
| 39 | <CheckBoxPreference |
| 40 | android:key="button_volume_wake_screen" |
| 41 | android:title="@string/button_volume_wake_title" |
| 42 | android:summary="@string/button_volume_wake_summary" |
maxwen | f61af95 | 2016-03-18 00:19:56 +0100 | [diff] [blame] | 43 | android:persistent="false" |
| 44 | android:disableDependentsState="true" /> |
Marko Man | 40603b2 | 2016-09-26 11:15:53 +0200 | [diff] [blame] | 45 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 46 | <!--<ListPreference |
| 47 | android:key="button_volume_default_screen" |
| 48 | android:title="@string/button_volume_default_title" |
| 49 | android:summary="@string/button_volume_default_summary" |
| 50 | android:entries="@array/button_volume_default_entries" |
| 51 | android:entryValues="@array/button_volume_default_values" |
maxwen | f61af95 | 2016-03-18 00:19:56 +0100 | [diff] [blame] | 52 | android:persistent="false"/>--> |
Marko Man | dea1b96 | 2016-10-03 15:26:04 +0200 | [diff] [blame] | 53 | |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame] | 54 | <org.omnirom.omnigears.preference.SystemCheckBoxPreference |
maxwen | f61af95 | 2016-03-18 00:19:56 +0100 | [diff] [blame] | 55 | android:key="volume_button_music_control" |
| 56 | android:title="@string/volume_button_music_control_title" |
| 57 | android:summary="@string/volume_button_music_control_summary" |
| 58 | android:dependency="button_volume_wake_screen"/> |
Marko Man | dea1b96 | 2016-10-03 15:26:04 +0200 | [diff] [blame] | 59 | |
maxwen | f61af95 | 2016-03-18 00:19:56 +0100 | [diff] [blame] | 60 | <!-- <ListPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 61 | android:key="volume_key_cursor_control" |
| 62 | android:persistent="false" |
| 63 | android:dialogTitle="@string/volume_key_cursor_control_title" |
| 64 | android:title="@string/volume_key_cursor_control_title" |
| 65 | android:entries="@array/volume_key_cursor_control_entries" |
maxwen | c6258ba | 2015-01-16 21:08:25 +0100 | [diff] [blame] | 66 | android:entryValues="@array/volume_key_cursor_control_values" /> --> |
Marko Man | 7013809 | 2016-09-25 02:03:08 +0200 | [diff] [blame] | 67 | |
maxwen | d5ff593 | 2017-02-23 02:45:27 +0100 | [diff] [blame] | 68 | <org.omnirom.omnigears.preference.SystemCheckBoxPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 69 | android:key="swap_volume_buttons" |
| 70 | android:title="@string/swap_volume_buttons_title" |
maxwen | d5ff593 | 2017-02-23 02:45:27 +0100 | [diff] [blame] | 71 | android:summary="@string/swap_volume_buttons_summary" /> |
| 72 | |
| 73 | <org.omnirom.omnigears.preference.SystemCheckBoxPreference |
| 74 | android:key="volume_button_force_media" |
| 75 | android:title="@string/volume_button_force_media_title" |
| 76 | android:summary="@string/volume_button_force_media_summary" /> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 77 | |
| 78 | </PreferenceCategory> |
maxwen | 08d3525 | 2016-10-02 00:36:49 +0200 | [diff] [blame] | 79 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 80 | <PreferenceCategory |
| 81 | android:key="button_keys" |
| 82 | android:title="@string/button_keys_title" > |
| 83 | |
Marko Man | 4cf3459 | 2016-10-05 21:31:27 +0200 | [diff] [blame] | 84 | <SwitchPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 85 | android:key="navigation_bar_show" |
| 86 | android:title="@string/navigation_bar_show_title" |
maxwen | c0676fa | 2015-05-07 00:36:09 +0200 | [diff] [blame] | 87 | android:summary="@string/navigation_bar_show_summary" |
| 88 | android:persistent="false" /> |
maxwen | c0676fa | 2015-05-07 00:36:09 +0200 | [diff] [blame] | 89 | <SwitchPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 90 | android:key="hardware_keys_disable" |
| 91 | android:title="@string/hardware_keys_disable_title" |
| 92 | android:summary="@string/hardware_keys_disable_summary" |
maxwen | 9f5d372 | 2016-10-07 18:02:33 +0200 | [diff] [blame] | 93 | android:persistent="false" |
| 94 | android:dependency="navigation_bar_show"/> |
| 95 | <!-- |
maxwen | 08d3525 | 2016-10-02 00:36:49 +0200 | [diff] [blame] | 96 | <CheckBoxPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 97 | android:key="virtual_key_haptic_feedback" |
| 98 | android:title="@string/virtual_key_haptic_feedback_title" |
| 99 | android:summary="@string/virtual_key_haptic_feedback_summary" |
| 100 | android:persistent="false"/> |
| 101 | |
| 102 | <CheckBoxPreference |
| 103 | android:key="force_show_overflow_menu" |
| 104 | android:title="@string/force_show_overflow_menu_title" |
| 105 | android:summary="@string/force_show_overflow_menu_summary" |
Hernan Castanon Alvarez | 97f4df1 | 2015-12-10 09:38:49 -0800 | [diff] [blame] | 106 | android:persistent="false"/>--> |
maxwen | 08d3525 | 2016-10-02 00:36:49 +0200 | [diff] [blame] | 107 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 108 | <PreferenceScreen |
| 109 | android:key="button_brightness" |
maxwen | 09c94dc | 2016-03-19 22:43:51 +0100 | [diff] [blame] | 110 | android:title="@string/button_backlight_title" |
maxwen | 08d3525 | 2016-10-02 00:36:49 +0200 | [diff] [blame] | 111 | android:fragment="org.omnirom.omnigears.ButtonBrightnessSettings" /> |
| 112 | |
maxwen | f31a226 | 2015-11-04 15:49:43 +0100 | [diff] [blame] | 113 | <!--<SwitchPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 114 | android:key="keys_enable_custom" |
| 115 | android:title="@string/keys_enable_custom_title" |
maxwen | f31a226 | 2015-11-04 15:49:43 +0100 | [diff] [blame] | 116 | android:persistent="false" />--> |
maxwen | fd1ffe0 | 2015-11-08 23:17:16 +0100 | [diff] [blame] | 117 | |
maxwen | 08d3525 | 2016-10-02 00:36:49 +0200 | [diff] [blame] | 118 | </PreferenceCategory> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame] | 119 | <!-- |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 120 | <PreferenceCategory |
| 121 | android:key="button_keys_back" |
| 122 | android:title="@string/button_keys_back_title" > |
| 123 | |
| 124 | <ListPreference |
| 125 | android:key="keys_back_press" |
| 126 | android:dialogTitle="@string/keys_back_press_title" |
| 127 | android:title="@string/keys_action_normal" |
| 128 | android:entries="@array/keys_action_entries" |
| 129 | android:entryValues="@array/keys_action_values" |
| 130 | android:persistent="false" |
| 131 | android:dependency="keys_enable_custom" /> |
| 132 | |
| 133 | <ListPreference |
| 134 | android:key="keys_back_long_press" |
| 135 | android:dialogTitle="@string/keys_back_long_press_title" |
| 136 | android:title="@string/keys_action_long" |
| 137 | android:entries="@array/keys_action_entries" |
| 138 | android:entryValues="@array/keys_action_values" |
| 139 | android:persistent="false" |
| 140 | android:dependency="keys_enable_custom" /> |
| 141 | </PreferenceCategory> |
| 142 | |
| 143 | <PreferenceCategory |
| 144 | android:key="button_keys_home" |
| 145 | android:title="@string/button_keys_home_title"> |
| 146 | |
| 147 | <ListPreference |
| 148 | android:key="keys_home_press" |
| 149 | android:dialogTitle="@string/keys_home_press_title" |
| 150 | android:title="@string/keys_action_normal" |
| 151 | android:entries="@array/keys_action_entries" |
| 152 | android:entryValues="@array/keys_action_values" |
| 153 | android:persistent="false" |
| 154 | android:dependency="keys_enable_custom" /> |
| 155 | |
| 156 | <ListPreference |
| 157 | android:key="keys_home_long_press" |
| 158 | android:dialogTitle="@string/keys_home_long_press_title" |
| 159 | android:title="@string/keys_action_long" |
| 160 | android:entries="@array/keys_action_entries" |
| 161 | android:entryValues="@array/keys_action_values" |
| 162 | android:persistent="false" |
| 163 | android:dependency="keys_enable_custom" /> |
| 164 | |
| 165 | <ListPreference |
| 166 | android:key="keys_home_double_tap" |
| 167 | android:dialogTitle="@string/keys_home_double_tap_title" |
| 168 | android:title="@string/keys_action_double" |
| 169 | android:entries="@array/keys_action_entries" |
| 170 | android:entryValues="@array/keys_action_values" |
| 171 | android:persistent="false" |
| 172 | android:dependency="keys_enable_custom" /> |
| 173 | |
crondog | a1be6ec | 2015-02-01 15:10:55 +1100 | [diff] [blame] | 174 | <CheckBoxPreference |
| 175 | android:key="button_home_wake_screen" |
| 176 | android:title="@string/button_home_wake_title" |
| 177 | android:summary="@string/button_home_wake_summary" |
| 178 | android:persistent="false"/> |
| 179 | |
Oleksandr Byelkin | da325d4 | 2015-01-25 21:18:08 +0100 | [diff] [blame] | 180 | <CheckBoxPreference |
| 181 | android:key="button_home_answers_call" |
| 182 | android:title="@string/button_home_answers_call_title" |
| 183 | android:summary="@string/button_home_answers_call_summary" |
| 184 | android:persistent="false" /> |
| 185 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 186 | </PreferenceCategory> |
| 187 | |
| 188 | <PreferenceCategory |
| 189 | android:key="button_keys_menu" |
| 190 | android:title="@string/button_keys_menu_title"> |
| 191 | |
| 192 | <ListPreference |
| 193 | android:key="keys_menu_press" |
| 194 | android:dialogTitle="@string/keys_menu_press_title" |
| 195 | android:title="@string/keys_action_normal" |
| 196 | android:entries="@array/keys_action_entries" |
| 197 | android:entryValues="@array/keys_action_values" |
| 198 | android:persistent="false" |
| 199 | android:dependency="keys_enable_custom" /> |
| 200 | |
| 201 | <ListPreference |
| 202 | android:key="keys_menu_long_press" |
| 203 | android:dialogTitle="@string/keys_menu_long_press_title" |
| 204 | android:title="@string/keys_action_long" |
| 205 | android:entries="@array/keys_action_entries" |
| 206 | android:entryValues="@array/keys_action_values" |
| 207 | android:persistent="false" |
| 208 | android:dependency="keys_enable_custom" /> |
| 209 | </PreferenceCategory> |
| 210 | |
| 211 | <PreferenceCategory |
| 212 | android:key="button_keys_assist" |
| 213 | android:title="@string/button_keys_assist_title"> |
| 214 | |
| 215 | <ListPreference |
| 216 | android:key="keys_assist_press" |
| 217 | android:dialogTitle="@string/keys_assist_press_title" |
| 218 | android:title="@string/keys_action_normal" |
| 219 | android:entries="@array/keys_action_entries" |
| 220 | android:entryValues="@array/keys_action_values" |
| 221 | android:persistent="false" |
| 222 | android:dependency="keys_enable_custom" /> |
| 223 | |
| 224 | <ListPreference |
| 225 | android:key="keys_assist_long_press" |
| 226 | android:dialogTitle="@string/keys_assist_long_press_title" |
| 227 | android:title="@string/keys_action_long" |
| 228 | android:entries="@array/keys_action_entries" |
| 229 | android:entryValues="@array/keys_action_values" |
| 230 | android:persistent="false" |
| 231 | android:dependency="keys_enable_custom" /> |
| 232 | </PreferenceCategory> |
| 233 | |
| 234 | <PreferenceCategory |
| 235 | android:key="button_keys_appSwitch" |
| 236 | android:title="@string/button_keys_appSwitch_title"> |
| 237 | |
| 238 | <ListPreference |
| 239 | android:key="keys_app_switch_press" |
| 240 | android:dialogTitle="@string/keys_app_switch_press_title" |
| 241 | android:title="@string/keys_action_normal" |
| 242 | android:entries="@array/keys_action_entries" |
| 243 | android:entryValues="@array/keys_action_values" |
| 244 | android:persistent="false" |
| 245 | android:dependency="keys_enable_custom" /> |
| 246 | |
| 247 | <ListPreference |
| 248 | android:key="keys_app_switch_long_press" |
| 249 | android:dialogTitle="@string/keys_app_switch_long_press_title" |
| 250 | android:title="@string/keys_action_long" |
| 251 | android:entries="@array/keys_action_entries" |
| 252 | android:entryValues="@array/keys_action_values" |
| 253 | android:persistent="false" |
| 254 | android:dependency="keys_enable_custom" /> |
| 255 | </PreferenceCategory> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame] | 256 | --> |
maxwen | 57f4546 | 2015-11-27 22:33:02 +0100 | [diff] [blame] | 257 | <PreferenceCategory |
| 258 | android:key="button_other" |
| 259 | android:title="@string/button_other_title" > |
Marko Man | fae7403 | 2016-11-24 23:20:26 +0100 | [diff] [blame] | 260 | <ListPreference |
maxwen | 57f4546 | 2015-11-27 22:33:02 +0100 | [diff] [blame] | 261 | android:key="navbar_recents_style" |
| 262 | android:title="@string/navbar_recents_style_title" |
| 263 | android:entries="@array/navbar_recents_style_entries" |
| 264 | android:entryValues="@array/navbar_recents_style_values" |
| 265 | android:persistent="false"/> |
Marko Man | fae7403 | 2016-11-24 23:20:26 +0100 | [diff] [blame] | 266 | |
maxwen | 30fbdc2 | 2017-07-03 17:37:01 +0200 | [diff] [blame^] | 267 | <ListPreference |
| 268 | android:key="long_press_recents_action" |
| 269 | android:title="@string/long_press_recents_action_title" |
| 270 | android:entries="@array/long_press_recents_action_entries" |
| 271 | android:entryValues="@array/long_press_recents_action_values" |
| 272 | android:persistent="false"/> |
| 273 | |
maxwen | 1b91db5 | 2017-06-14 22:52:34 +0200 | [diff] [blame] | 274 | <org.omnirom.omnigears.preference.SystemSettingSwitchPreference |
maxwen | 2d1c181 | 2016-01-29 15:55:03 +0100 | [diff] [blame] | 275 | android:key="button_back_kill_enable" |
| 276 | android:title="@string/button_back_kill_enable_title" |
| 277 | android:summary="@string/button_back_kill_enable_summary" |
Marko Man | def8125 | 2016-10-21 12:49:53 +0200 | [diff] [blame] | 278 | android:defaultValue="false"/> |
maxwen | 2d1c181 | 2016-01-29 15:55:03 +0100 | [diff] [blame] | 279 | |
| 280 | <ListPreference |
| 281 | android:key="button_back_kill_timeout" |
| 282 | android:title="@string/button_back_kill_timeout_title" |
| 283 | android:entries="@array/button_back_kill_timeout_entries" |
| 284 | android:entryValues="@array/button_back_kill_timeout_values" |
| 285 | android:persistent="false" |
| 286 | android:dependency="button_back_kill_enable"/> |
Marko Man | def8125 | 2016-10-21 12:49:53 +0200 | [diff] [blame] | 287 | |
maxwen | 58b7b54 | 2016-06-03 17:52:10 +0200 | [diff] [blame] | 288 | <PreferenceScreen |
| 289 | android:key="global_actions" |
| 290 | android:title="@string/global_actions_title" |
| 291 | android:summary="@string/global_actions_summary" |
| 292 | android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" /> |
| 293 | |
maxwen | 57f4546 | 2015-11-27 22:33:02 +0100 | [diff] [blame] | 294 | </PreferenceCategory> |
| 295 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 296 | <!-- <PreferenceCategory |
| 297 | android:key="button_headsethook" |
| 298 | android:title="@string/button_headsethook_title" > |
| 299 | |
| 300 | <CheckBoxPreference |
| 301 | android:key="button_headsethook_launch_voice" |
| 302 | android:title="@string/button_headsethook_launch_voice_title" |
| 303 | android:summary="@string/button_headsethook_launch_voice_summary" |
| 304 | android:persistent="false" /> |
| 305 | |
| 306 | </PreferenceCategory> |
| 307 | --> |
| 308 | </PreferenceScreen> |