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 | --> |
| 31 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
| 32 | xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 33 | <!-- |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 34 | <PreferenceCategory |
| 35 | android:key="button_volume_keys" |
| 36 | android:title="@string/button_volume_keys_title" > |
| 37 | |
| 38 | <CheckBoxPreference |
| 39 | android:key="button_volume_wake_screen" |
| 40 | android:title="@string/button_volume_wake_title" |
| 41 | android:summary="@string/button_volume_wake_summary" |
maxwen | f61af95 | 2016-03-18 00:19:56 +0100 | [diff] [blame] | 42 | android:persistent="false" |
| 43 | android:disableDependentsState="true" /> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 44 | --> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 45 | <!--<ListPreference |
| 46 | android:key="button_volume_default_screen" |
| 47 | android:title="@string/button_volume_default_title" |
| 48 | android:summary="@string/button_volume_default_summary" |
| 49 | android:entries="@array/button_volume_default_entries" |
| 50 | android:entryValues="@array/button_volume_default_values" |
maxwen | f61af95 | 2016-03-18 00:19:56 +0100 | [diff] [blame] | 51 | android:persistent="false"/>--> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 52 | <!-- |
| 53 | <org.omnirom.omnigears.preference.SystemCheckBoxPreference |
maxwen | f61af95 | 2016-03-18 00:19:56 +0100 | [diff] [blame] | 54 | android:key="volume_button_music_control" |
| 55 | android:title="@string/volume_button_music_control_title" |
| 56 | android:summary="@string/volume_button_music_control_summary" |
| 57 | android:dependency="button_volume_wake_screen"/> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 58 | --> |
maxwen | f61af95 | 2016-03-18 00:19:56 +0100 | [diff] [blame] | 59 | <!-- <ListPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 60 | android:key="volume_key_cursor_control" |
| 61 | android:persistent="false" |
| 62 | android:dialogTitle="@string/volume_key_cursor_control_title" |
| 63 | android:title="@string/volume_key_cursor_control_title" |
| 64 | android:entries="@array/volume_key_cursor_control_entries" |
maxwen | c6258ba | 2015-01-16 21:08:25 +0100 | [diff] [blame] | 65 | android:entryValues="@array/volume_key_cursor_control_values" /> --> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 66 | <!-- |
maxwen | c6258ba | 2015-01-16 21:08:25 +0100 | [diff] [blame] | 67 | <CheckBoxPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 68 | android:key="swap_volume_buttons" |
| 69 | android:title="@string/swap_volume_buttons_title" |
maxwen | c6258ba | 2015-01-16 21:08:25 +0100 | [diff] [blame] | 70 | android:summary="@string/swap_volume_buttons_summary" |
| 71 | android:persistent="false"/> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 72 | |
| 73 | </PreferenceCategory> |
| 74 | |
| 75 | <PreferenceCategory |
| 76 | android:key="button_keys" |
| 77 | android:title="@string/button_keys_title" > |
| 78 | |
maxwen | fd1ffe0 | 2015-11-08 23:17:16 +0100 | [diff] [blame] | 79 | <SwitchPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 80 | android:key="navigation_bar_show" |
| 81 | android:title="@string/navigation_bar_show_title" |
maxwen | c0676fa | 2015-05-07 00:36:09 +0200 | [diff] [blame] | 82 | android:summary="@string/navigation_bar_show_summary" |
| 83 | android:persistent="false" /> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 84 | |
maxwen | c0676fa | 2015-05-07 00:36:09 +0200 | [diff] [blame] | 85 | <SwitchPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 86 | android:key="hardware_keys_disable" |
| 87 | android:title="@string/hardware_keys_disable_title" |
| 88 | android:summary="@string/hardware_keys_disable_summary" |
| 89 | android:persistent="false"/> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 90 | --> |
maxwen | fd1ffe0 | 2015-11-08 23:17:16 +0100 | [diff] [blame] | 91 | <!--<CheckBoxPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 92 | android:key="virtual_key_haptic_feedback" |
| 93 | android:title="@string/virtual_key_haptic_feedback_title" |
| 94 | android:summary="@string/virtual_key_haptic_feedback_summary" |
| 95 | android:persistent="false"/> |
| 96 | |
| 97 | <CheckBoxPreference |
| 98 | android:key="force_show_overflow_menu" |
| 99 | android:title="@string/force_show_overflow_menu_title" |
| 100 | android:summary="@string/force_show_overflow_menu_summary" |
Hernan Castanon Alvarez | 97f4df1 | 2015-12-10 09:38:49 -0800 | [diff] [blame] | 101 | android:persistent="false"/>--> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 102 | <!-- |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 103 | <PreferenceScreen |
| 104 | android:key="button_brightness" |
maxwen | 09c94dc | 2016-03-19 22:43:51 +0100 | [diff] [blame] | 105 | android:title="@string/button_backlight_title" |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 106 | android:fragment="org.omnirom.omnigears.brightness.ButtonBrightnessSettings" /> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 107 | --> |
maxwen | f31a226 | 2015-11-04 15:49:43 +0100 | [diff] [blame] | 108 | <!--<SwitchPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 109 | android:key="keys_enable_custom" |
| 110 | android:title="@string/keys_enable_custom_title" |
maxwen | f31a226 | 2015-11-04 15:49:43 +0100 | [diff] [blame] | 111 | android:persistent="false" />--> |
maxwen | fd1ffe0 | 2015-11-08 23:17:16 +0100 | [diff] [blame] | 112 | |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 113 | <!-- </PreferenceCategory> --> |
| 114 | <!-- |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 115 | <PreferenceCategory |
| 116 | android:key="button_keys_back" |
| 117 | android:title="@string/button_keys_back_title" > |
| 118 | |
| 119 | <ListPreference |
| 120 | android:key="keys_back_press" |
| 121 | android:dialogTitle="@string/keys_back_press_title" |
| 122 | android:title="@string/keys_action_normal" |
| 123 | android:entries="@array/keys_action_entries" |
| 124 | android:entryValues="@array/keys_action_values" |
| 125 | android:persistent="false" |
| 126 | android:dependency="keys_enable_custom" /> |
| 127 | |
| 128 | <ListPreference |
| 129 | android:key="keys_back_long_press" |
| 130 | android:dialogTitle="@string/keys_back_long_press_title" |
| 131 | android:title="@string/keys_action_long" |
| 132 | android:entries="@array/keys_action_entries" |
| 133 | android:entryValues="@array/keys_action_values" |
| 134 | android:persistent="false" |
| 135 | android:dependency="keys_enable_custom" /> |
| 136 | </PreferenceCategory> |
| 137 | |
| 138 | <PreferenceCategory |
| 139 | android:key="button_keys_home" |
| 140 | android:title="@string/button_keys_home_title"> |
| 141 | |
| 142 | <ListPreference |
| 143 | android:key="keys_home_press" |
| 144 | android:dialogTitle="@string/keys_home_press_title" |
| 145 | android:title="@string/keys_action_normal" |
| 146 | android:entries="@array/keys_action_entries" |
| 147 | android:entryValues="@array/keys_action_values" |
| 148 | android:persistent="false" |
| 149 | android:dependency="keys_enable_custom" /> |
| 150 | |
| 151 | <ListPreference |
| 152 | android:key="keys_home_long_press" |
| 153 | android:dialogTitle="@string/keys_home_long_press_title" |
| 154 | android:title="@string/keys_action_long" |
| 155 | android:entries="@array/keys_action_entries" |
| 156 | android:entryValues="@array/keys_action_values" |
| 157 | android:persistent="false" |
| 158 | android:dependency="keys_enable_custom" /> |
| 159 | |
| 160 | <ListPreference |
| 161 | android:key="keys_home_double_tap" |
| 162 | android:dialogTitle="@string/keys_home_double_tap_title" |
| 163 | android:title="@string/keys_action_double" |
| 164 | android:entries="@array/keys_action_entries" |
| 165 | android:entryValues="@array/keys_action_values" |
| 166 | android:persistent="false" |
| 167 | android:dependency="keys_enable_custom" /> |
| 168 | |
crondog | a1be6ec | 2015-02-01 15:10:55 +1100 | [diff] [blame] | 169 | <CheckBoxPreference |
| 170 | android:key="button_home_wake_screen" |
| 171 | android:title="@string/button_home_wake_title" |
| 172 | android:summary="@string/button_home_wake_summary" |
| 173 | android:persistent="false"/> |
| 174 | |
Oleksandr Byelkin | da325d4 | 2015-01-25 21:18:08 +0100 | [diff] [blame] | 175 | <CheckBoxPreference |
| 176 | android:key="button_home_answers_call" |
| 177 | android:title="@string/button_home_answers_call_title" |
| 178 | android:summary="@string/button_home_answers_call_summary" |
| 179 | android:persistent="false" /> |
| 180 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 181 | </PreferenceCategory> |
| 182 | |
| 183 | <PreferenceCategory |
| 184 | android:key="button_keys_menu" |
| 185 | android:title="@string/button_keys_menu_title"> |
| 186 | |
| 187 | <ListPreference |
| 188 | android:key="keys_menu_press" |
| 189 | android:dialogTitle="@string/keys_menu_press_title" |
| 190 | android:title="@string/keys_action_normal" |
| 191 | android:entries="@array/keys_action_entries" |
| 192 | android:entryValues="@array/keys_action_values" |
| 193 | android:persistent="false" |
| 194 | android:dependency="keys_enable_custom" /> |
| 195 | |
| 196 | <ListPreference |
| 197 | android:key="keys_menu_long_press" |
| 198 | android:dialogTitle="@string/keys_menu_long_press_title" |
| 199 | android:title="@string/keys_action_long" |
| 200 | android:entries="@array/keys_action_entries" |
| 201 | android:entryValues="@array/keys_action_values" |
| 202 | android:persistent="false" |
| 203 | android:dependency="keys_enable_custom" /> |
| 204 | </PreferenceCategory> |
| 205 | |
| 206 | <PreferenceCategory |
| 207 | android:key="button_keys_assist" |
| 208 | android:title="@string/button_keys_assist_title"> |
| 209 | |
| 210 | <ListPreference |
| 211 | android:key="keys_assist_press" |
| 212 | android:dialogTitle="@string/keys_assist_press_title" |
| 213 | android:title="@string/keys_action_normal" |
| 214 | android:entries="@array/keys_action_entries" |
| 215 | android:entryValues="@array/keys_action_values" |
| 216 | android:persistent="false" |
| 217 | android:dependency="keys_enable_custom" /> |
| 218 | |
| 219 | <ListPreference |
| 220 | android:key="keys_assist_long_press" |
| 221 | android:dialogTitle="@string/keys_assist_long_press_title" |
| 222 | android:title="@string/keys_action_long" |
| 223 | android:entries="@array/keys_action_entries" |
| 224 | android:entryValues="@array/keys_action_values" |
| 225 | android:persistent="false" |
| 226 | android:dependency="keys_enable_custom" /> |
| 227 | </PreferenceCategory> |
| 228 | |
| 229 | <PreferenceCategory |
| 230 | android:key="button_keys_appSwitch" |
| 231 | android:title="@string/button_keys_appSwitch_title"> |
| 232 | |
| 233 | <ListPreference |
| 234 | android:key="keys_app_switch_press" |
| 235 | android:dialogTitle="@string/keys_app_switch_press_title" |
| 236 | android:title="@string/keys_action_normal" |
| 237 | android:entries="@array/keys_action_entries" |
| 238 | android:entryValues="@array/keys_action_values" |
| 239 | android:persistent="false" |
| 240 | android:dependency="keys_enable_custom" /> |
| 241 | |
| 242 | <ListPreference |
| 243 | android:key="keys_app_switch_long_press" |
| 244 | android:dialogTitle="@string/keys_app_switch_long_press_title" |
| 245 | android:title="@string/keys_action_long" |
| 246 | android:entries="@array/keys_action_entries" |
| 247 | android:entryValues="@array/keys_action_values" |
| 248 | android:persistent="false" |
| 249 | android:dependency="keys_enable_custom" /> |
| 250 | </PreferenceCategory> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 251 | --> |
maxwen | 57f4546 | 2015-11-27 22:33:02 +0100 | [diff] [blame] | 252 | <PreferenceCategory |
| 253 | android:key="button_other" |
| 254 | android:title="@string/button_other_title" > |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 255 | <!-- <ListPreference |
maxwen | 57f4546 | 2015-11-27 22:33:02 +0100 | [diff] [blame] | 256 | android:key="navbar_recents_style" |
| 257 | android:title="@string/navbar_recents_style_title" |
| 258 | android:entries="@array/navbar_recents_style_entries" |
| 259 | android:entryValues="@array/navbar_recents_style_values" |
| 260 | android:persistent="false"/> |
maxwen | 2d1c181 | 2016-01-29 15:55:03 +0100 | [diff] [blame] | 261 | |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 262 | <org.omnirom.omnigears.preference.SystemCheckBoxPreference |
maxwen | 2d1c181 | 2016-01-29 15:55:03 +0100 | [diff] [blame] | 263 | android:key="button_back_kill_enable" |
| 264 | android:title="@string/button_back_kill_enable_title" |
| 265 | android:summary="@string/button_back_kill_enable_summary" |
| 266 | android:defaultValue="true"/> |
| 267 | |
| 268 | <ListPreference |
| 269 | android:key="button_back_kill_timeout" |
| 270 | android:title="@string/button_back_kill_timeout_title" |
| 271 | android:entries="@array/button_back_kill_timeout_entries" |
| 272 | android:entryValues="@array/button_back_kill_timeout_values" |
| 273 | android:persistent="false" |
| 274 | android:dependency="button_back_kill_enable"/> |
Marko Man | f441477 | 2016-09-21 21:45:46 +0200 | [diff] [blame^] | 275 | --> |
maxwen | 58b7b54 | 2016-06-03 17:52:10 +0200 | [diff] [blame] | 276 | <PreferenceScreen |
| 277 | android:key="global_actions" |
| 278 | android:title="@string/global_actions_title" |
| 279 | android:summary="@string/global_actions_summary" |
| 280 | android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" /> |
| 281 | |
maxwen | 57f4546 | 2015-11-27 22:33:02 +0100 | [diff] [blame] | 282 | </PreferenceCategory> |
| 283 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 284 | <!-- <PreferenceCategory |
| 285 | android:key="button_headsethook" |
| 286 | android:title="@string/button_headsethook_title" > |
| 287 | |
| 288 | <CheckBoxPreference |
| 289 | android:key="button_headsethook_launch_voice" |
| 290 | android:title="@string/button_headsethook_launch_voice_title" |
| 291 | android:summary="@string/button_headsethook_launch_voice_summary" |
| 292 | android:persistent="false" /> |
| 293 | |
| 294 | </PreferenceCategory> |
| 295 | --> |
| 296 | </PreferenceScreen> |