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