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"> |
| 33 | |
| 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" |
| 42 | android:persistent="false"/> |
| 43 | |
| 44 | <!--<ListPreference |
| 45 | android:key="button_volume_default_screen" |
| 46 | android:title="@string/button_volume_default_title" |
| 47 | android:summary="@string/button_volume_default_summary" |
| 48 | android:entries="@array/button_volume_default_entries" |
| 49 | android:entryValues="@array/button_volume_default_values" |
| 50 | android:persistent="false"/> |
| 51 | |
| 52 | <CheckBoxPreference |
| 53 | android:key="button_volume_music_control" |
| 54 | android:title="@string/button_volume_music_control_title" |
| 55 | android:summary="@string/button_volume_music_control_summary" |
| 56 | android:persistent="false"/> |
| 57 | |
| 58 | <ListPreference |
| 59 | android:key="volume_key_cursor_control" |
| 60 | android:persistent="false" |
| 61 | android:dialogTitle="@string/volume_key_cursor_control_title" |
| 62 | android:title="@string/volume_key_cursor_control_title" |
| 63 | android:entries="@array/volume_key_cursor_control_entries" |
maxwen | c6258ba | 2015-01-16 21:08:25 +0100 | [diff] [blame] | 64 | android:entryValues="@array/volume_key_cursor_control_values" /> --> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 65 | |
maxwen | c6258ba | 2015-01-16 21:08:25 +0100 | [diff] [blame] | 66 | <CheckBoxPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 67 | android:key="swap_volume_buttons" |
| 68 | android:title="@string/swap_volume_buttons_title" |
maxwen | c6258ba | 2015-01-16 21:08:25 +0100 | [diff] [blame] | 69 | android:summary="@string/swap_volume_buttons_summary" |
| 70 | android:persistent="false"/> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 71 | |
| 72 | </PreferenceCategory> |
| 73 | |
| 74 | <PreferenceCategory |
| 75 | android:key="button_keys" |
| 76 | android:title="@string/button_keys_title" > |
| 77 | |
maxwen | f31a226 | 2015-11-04 15:49:43 +0100 | [diff] [blame^] | 78 | <!--<SwitchPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 79 | android:key="navigation_bar_show" |
| 80 | android:title="@string/navigation_bar_show_title" |
maxwen | c0676fa | 2015-05-07 00:36:09 +0200 | [diff] [blame] | 81 | android:summary="@string/navigation_bar_show_summary" |
| 82 | android:persistent="false" /> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 83 | |
maxwen | c0676fa | 2015-05-07 00:36:09 +0200 | [diff] [blame] | 84 | <SwitchPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 85 | android:key="hardware_keys_disable" |
| 86 | android:title="@string/hardware_keys_disable_title" |
| 87 | android:summary="@string/hardware_keys_disable_summary" |
| 88 | android:persistent="false"/> |
| 89 | |
maxwen | f31a226 | 2015-11-04 15:49:43 +0100 | [diff] [blame^] | 90 | <CheckBoxPreference |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 91 | android:key="virtual_key_haptic_feedback" |
| 92 | android:title="@string/virtual_key_haptic_feedback_title" |
| 93 | android:summary="@string/virtual_key_haptic_feedback_summary" |
| 94 | android:persistent="false"/> |
| 95 | |
| 96 | <CheckBoxPreference |
| 97 | android:key="force_show_overflow_menu" |
| 98 | android:title="@string/force_show_overflow_menu_title" |
| 99 | android:summary="@string/force_show_overflow_menu_summary" |
maxwen | 176750a | 2015-04-27 23:00:52 +0200 | [diff] [blame] | 100 | android:persistent="false"/>--> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 101 | |
| 102 | <PreferenceScreen |
| 103 | android:key="button_brightness" |
maxwen | 176750a | 2015-04-27 23:00:52 +0200 | [diff] [blame] | 104 | android:title="@string/button_brightness_title" |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 105 | android:summary="@string/button_brightness_summary" |
| 106 | android:fragment="org.omnirom.omnigears.brightness.ButtonBrightnessSettings" /> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [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" />--> |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 112 | </PreferenceCategory> |
| 113 | |
| 114 | <PreferenceCategory |
| 115 | android:key="button_keys_back" |
| 116 | android:title="@string/button_keys_back_title" > |
| 117 | |
| 118 | <ListPreference |
| 119 | android:key="keys_back_press" |
| 120 | android:dialogTitle="@string/keys_back_press_title" |
| 121 | android:title="@string/keys_action_normal" |
| 122 | android:entries="@array/keys_action_entries" |
| 123 | android:entryValues="@array/keys_action_values" |
| 124 | android:persistent="false" |
| 125 | android:dependency="keys_enable_custom" /> |
| 126 | |
| 127 | <ListPreference |
| 128 | android:key="keys_back_long_press" |
| 129 | android:dialogTitle="@string/keys_back_long_press_title" |
| 130 | android:title="@string/keys_action_long" |
| 131 | android:entries="@array/keys_action_entries" |
| 132 | android:entryValues="@array/keys_action_values" |
| 133 | android:persistent="false" |
| 134 | android:dependency="keys_enable_custom" /> |
| 135 | </PreferenceCategory> |
| 136 | |
| 137 | <PreferenceCategory |
| 138 | android:key="button_keys_home" |
| 139 | android:title="@string/button_keys_home_title"> |
| 140 | |
| 141 | <ListPreference |
| 142 | android:key="keys_home_press" |
| 143 | android:dialogTitle="@string/keys_home_press_title" |
| 144 | android:title="@string/keys_action_normal" |
| 145 | android:entries="@array/keys_action_entries" |
| 146 | android:entryValues="@array/keys_action_values" |
| 147 | android:persistent="false" |
| 148 | android:dependency="keys_enable_custom" /> |
| 149 | |
| 150 | <ListPreference |
| 151 | android:key="keys_home_long_press" |
| 152 | android:dialogTitle="@string/keys_home_long_press_title" |
| 153 | android:title="@string/keys_action_long" |
| 154 | android:entries="@array/keys_action_entries" |
| 155 | android:entryValues="@array/keys_action_values" |
| 156 | android:persistent="false" |
| 157 | android:dependency="keys_enable_custom" /> |
| 158 | |
| 159 | <ListPreference |
| 160 | android:key="keys_home_double_tap" |
| 161 | android:dialogTitle="@string/keys_home_double_tap_title" |
| 162 | android:title="@string/keys_action_double" |
| 163 | android:entries="@array/keys_action_entries" |
| 164 | android:entryValues="@array/keys_action_values" |
| 165 | android:persistent="false" |
| 166 | android:dependency="keys_enable_custom" /> |
| 167 | |
crondog | a1be6ec | 2015-02-01 15:10:55 +1100 | [diff] [blame] | 168 | <CheckBoxPreference |
| 169 | android:key="button_home_wake_screen" |
| 170 | android:title="@string/button_home_wake_title" |
| 171 | android:summary="@string/button_home_wake_summary" |
| 172 | android:persistent="false"/> |
| 173 | |
Oleksandr Byelkin | da325d4 | 2015-01-25 21:18:08 +0100 | [diff] [blame] | 174 | <CheckBoxPreference |
| 175 | android:key="button_home_answers_call" |
| 176 | android:title="@string/button_home_answers_call_title" |
| 177 | android:summary="@string/button_home_answers_call_summary" |
| 178 | android:persistent="false" /> |
| 179 | |
Benjamin Cheng | a5882a0 | 2014-12-28 13:48:36 -0500 | [diff] [blame] | 180 | </PreferenceCategory> |
| 181 | |
| 182 | <PreferenceCategory |
| 183 | android:key="button_keys_menu" |
| 184 | android:title="@string/button_keys_menu_title"> |
| 185 | |
| 186 | <ListPreference |
| 187 | android:key="keys_menu_press" |
| 188 | android:dialogTitle="@string/keys_menu_press_title" |
| 189 | android:title="@string/keys_action_normal" |
| 190 | android:entries="@array/keys_action_entries" |
| 191 | android:entryValues="@array/keys_action_values" |
| 192 | android:persistent="false" |
| 193 | android:dependency="keys_enable_custom" /> |
| 194 | |
| 195 | <ListPreference |
| 196 | android:key="keys_menu_long_press" |
| 197 | android:dialogTitle="@string/keys_menu_long_press_title" |
| 198 | android:title="@string/keys_action_long" |
| 199 | android:entries="@array/keys_action_entries" |
| 200 | android:entryValues="@array/keys_action_values" |
| 201 | android:persistent="false" |
| 202 | android:dependency="keys_enable_custom" /> |
| 203 | </PreferenceCategory> |
| 204 | |
| 205 | <PreferenceCategory |
| 206 | android:key="button_keys_assist" |
| 207 | android:title="@string/button_keys_assist_title"> |
| 208 | |
| 209 | <ListPreference |
| 210 | android:key="keys_assist_press" |
| 211 | android:dialogTitle="@string/keys_assist_press_title" |
| 212 | android:title="@string/keys_action_normal" |
| 213 | android:entries="@array/keys_action_entries" |
| 214 | android:entryValues="@array/keys_action_values" |
| 215 | android:persistent="false" |
| 216 | android:dependency="keys_enable_custom" /> |
| 217 | |
| 218 | <ListPreference |
| 219 | android:key="keys_assist_long_press" |
| 220 | android:dialogTitle="@string/keys_assist_long_press_title" |
| 221 | android:title="@string/keys_action_long" |
| 222 | android:entries="@array/keys_action_entries" |
| 223 | android:entryValues="@array/keys_action_values" |
| 224 | android:persistent="false" |
| 225 | android:dependency="keys_enable_custom" /> |
| 226 | </PreferenceCategory> |
| 227 | |
| 228 | <PreferenceCategory |
| 229 | android:key="button_keys_appSwitch" |
| 230 | android:title="@string/button_keys_appSwitch_title"> |
| 231 | |
| 232 | <ListPreference |
| 233 | android:key="keys_app_switch_press" |
| 234 | android:dialogTitle="@string/keys_app_switch_press_title" |
| 235 | android:title="@string/keys_action_normal" |
| 236 | android:entries="@array/keys_action_entries" |
| 237 | android:entryValues="@array/keys_action_values" |
| 238 | android:persistent="false" |
| 239 | android:dependency="keys_enable_custom" /> |
| 240 | |
| 241 | <ListPreference |
| 242 | android:key="keys_app_switch_long_press" |
| 243 | android:dialogTitle="@string/keys_app_switch_long_press_title" |
| 244 | android:title="@string/keys_action_long" |
| 245 | android:entries="@array/keys_action_entries" |
| 246 | android:entryValues="@array/keys_action_values" |
| 247 | android:persistent="false" |
| 248 | android:dependency="keys_enable_custom" /> |
| 249 | </PreferenceCategory> |
| 250 | |
| 251 | <!-- <PreferenceCategory |
| 252 | android:key="button_headsethook" |
| 253 | android:title="@string/button_headsethook_title" > |
| 254 | |
| 255 | <CheckBoxPreference |
| 256 | android:key="button_headsethook_launch_voice" |
| 257 | android:title="@string/button_headsethook_launch_voice_title" |
| 258 | android:summary="@string/button_headsethook_launch_voice_summary" |
| 259 | android:persistent="false" /> |
| 260 | |
| 261 | </PreferenceCategory> |
| 262 | --> |
| 263 | </PreferenceScreen> |