blob: dd945811f8b2ebebc07920e3e8029964c2caa535 [file] [log] [blame]
Benjamin Chenga5882a02014-12-28 13:48:36 -05001<?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 Man40603b22016-09-26 11:15:53 +020031
Benjamin Chenga5882a02014-12-28 13:48:36 -050032<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
33 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
Marko Man70138092016-09-25 02:03:08 +020034
Benjamin Chenga5882a02014-12-28 13:48:36 -050035 <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"
maxwenf61af952016-03-18 00:19:56 +010043 android:persistent="false"
44 android:disableDependentsState="true" />
Marko Man40603b22016-09-26 11:15:53 +020045
Benjamin Chenga5882a02014-12-28 13:48:36 -050046 <!--<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"
maxwenf61af952016-03-18 00:19:56 +010052 android:persistent="false"/>-->
Marko Mandea1b962016-10-03 15:26:04 +020053
Marko Manf4414772016-09-21 21:45:46 +020054 <org.omnirom.omnigears.preference.SystemCheckBoxPreference
maxwenf61af952016-03-18 00:19:56 +010055 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 Mandea1b962016-10-03 15:26:04 +020059
maxwenf61af952016-03-18 00:19:56 +010060 <!-- <ListPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050061 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"
maxwenc6258ba2015-01-16 21:08:25 +010066 android:entryValues="@array/volume_key_cursor_control_values" /> -->
Marko Man70138092016-09-25 02:03:08 +020067
maxwend5ff5932017-02-23 02:45:27 +010068 <org.omnirom.omnigears.preference.SystemCheckBoxPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050069 android:key="swap_volume_buttons"
70 android:title="@string/swap_volume_buttons_title"
maxwend5ff5932017-02-23 02:45:27 +010071 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 Chenga5882a02014-12-28 13:48:36 -050077
78 </PreferenceCategory>
maxwen08d35252016-10-02 00:36:49 +020079
Benjamin Chenga5882a02014-12-28 13:48:36 -050080 <PreferenceCategory
81 android:key="button_keys"
82 android:title="@string/button_keys_title" >
83
Marko Man4cf34592016-10-05 21:31:27 +020084 <SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050085 android:key="navigation_bar_show"
86 android:title="@string/navigation_bar_show_title"
maxwenc0676fa2015-05-07 00:36:09 +020087 android:summary="@string/navigation_bar_show_summary"
88 android:persistent="false" />
maxwenc0676fa2015-05-07 00:36:09 +020089 <SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050090 android:key="hardware_keys_disable"
91 android:title="@string/hardware_keys_disable_title"
92 android:summary="@string/hardware_keys_disable_summary"
maxwen9f5d3722016-10-07 18:02:33 +020093 android:persistent="false"
94 android:dependency="navigation_bar_show"/>
95<!--
maxwen08d35252016-10-02 00:36:49 +020096 <CheckBoxPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050097 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 Alvarez97f4df12015-12-10 09:38:49 -0800106 android:persistent="false"/>-->
maxwen08d35252016-10-02 00:36:49 +0200107
Benjamin Chenga5882a02014-12-28 13:48:36 -0500108 <PreferenceScreen
109 android:key="button_brightness"
maxwen09c94dc2016-03-19 22:43:51 +0100110 android:title="@string/button_backlight_title"
maxwen08d35252016-10-02 00:36:49 +0200111 android:fragment="org.omnirom.omnigears.ButtonBrightnessSettings" />
112
maxwenf31a2262015-11-04 15:49:43 +0100113 <!--<SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -0500114 android:key="keys_enable_custom"
115 android:title="@string/keys_enable_custom_title"
maxwenf31a2262015-11-04 15:49:43 +0100116 android:persistent="false" />-->
maxwenfd1ffe02015-11-08 23:17:16 +0100117
maxwenef49caa2017-07-18 00:14:42 +0200118 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
119 android:key="button_back_kill_enable"
120 android:title="@string/button_back_kill_enable_title"
121 android:summary="@string/button_back_kill_enable_summary"
122 android:defaultValue="false"/>
123
124 <ListPreference
125 android:key="button_back_kill_timeout"
126 android:title="@string/button_back_kill_timeout_title"
127 android:entries="@array/button_back_kill_timeout_entries"
128 android:entryValues="@array/button_back_kill_timeout_values"
129 android:persistent="false"
130 android:dependency="button_back_kill_enable"/>
131
maxwen08d35252016-10-02 00:36:49 +0200132 </PreferenceCategory>
Marko Manf4414772016-09-21 21:45:46 +0200133<!--
Benjamin Chenga5882a02014-12-28 13:48:36 -0500134 <PreferenceCategory
135 android:key="button_keys_back"
136 android:title="@string/button_keys_back_title" >
137
138 <ListPreference
139 android:key="keys_back_press"
140 android:dialogTitle="@string/keys_back_press_title"
141 android:title="@string/keys_action_normal"
142 android:entries="@array/keys_action_entries"
143 android:entryValues="@array/keys_action_values"
144 android:persistent="false"
145 android:dependency="keys_enable_custom" />
146
147 <ListPreference
148 android:key="keys_back_long_press"
149 android:dialogTitle="@string/keys_back_long_press_title"
150 android:title="@string/keys_action_long"
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 </PreferenceCategory>
156
157 <PreferenceCategory
158 android:key="button_keys_home"
159 android:title="@string/button_keys_home_title">
160
161 <ListPreference
162 android:key="keys_home_press"
163 android:dialogTitle="@string/keys_home_press_title"
164 android:title="@string/keys_action_normal"
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
170 <ListPreference
171 android:key="keys_home_long_press"
172 android:dialogTitle="@string/keys_home_long_press_title"
173 android:title="@string/keys_action_long"
174 android:entries="@array/keys_action_entries"
175 android:entryValues="@array/keys_action_values"
176 android:persistent="false"
177 android:dependency="keys_enable_custom" />
178
179 <ListPreference
180 android:key="keys_home_double_tap"
181 android:dialogTitle="@string/keys_home_double_tap_title"
182 android:title="@string/keys_action_double"
183 android:entries="@array/keys_action_entries"
184 android:entryValues="@array/keys_action_values"
185 android:persistent="false"
186 android:dependency="keys_enable_custom" />
187
crondoga1be6ec2015-02-01 15:10:55 +1100188 <CheckBoxPreference
189 android:key="button_home_wake_screen"
190 android:title="@string/button_home_wake_title"
191 android:summary="@string/button_home_wake_summary"
192 android:persistent="false"/>
193
Oleksandr Byelkinda325d42015-01-25 21:18:08 +0100194 <CheckBoxPreference
195 android:key="button_home_answers_call"
196 android:title="@string/button_home_answers_call_title"
197 android:summary="@string/button_home_answers_call_summary"
198 android:persistent="false" />
199
Benjamin Chenga5882a02014-12-28 13:48:36 -0500200 </PreferenceCategory>
201
202 <PreferenceCategory
203 android:key="button_keys_menu"
204 android:title="@string/button_keys_menu_title">
205
206 <ListPreference
207 android:key="keys_menu_press"
208 android:dialogTitle="@string/keys_menu_press_title"
209 android:title="@string/keys_action_normal"
210 android:entries="@array/keys_action_entries"
211 android:entryValues="@array/keys_action_values"
212 android:persistent="false"
213 android:dependency="keys_enable_custom" />
214
215 <ListPreference
216 android:key="keys_menu_long_press"
217 android:dialogTitle="@string/keys_menu_long_press_title"
218 android:title="@string/keys_action_long"
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 </PreferenceCategory>
224
225 <PreferenceCategory
226 android:key="button_keys_assist"
227 android:title="@string/button_keys_assist_title">
228
229 <ListPreference
230 android:key="keys_assist_press"
231 android:dialogTitle="@string/keys_assist_press_title"
232 android:title="@string/keys_action_normal"
233 android:entries="@array/keys_action_entries"
234 android:entryValues="@array/keys_action_values"
235 android:persistent="false"
236 android:dependency="keys_enable_custom" />
237
238 <ListPreference
239 android:key="keys_assist_long_press"
240 android:dialogTitle="@string/keys_assist_long_press_title"
241 android:title="@string/keys_action_long"
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 </PreferenceCategory>
247
248 <PreferenceCategory
249 android:key="button_keys_appSwitch"
250 android:title="@string/button_keys_appSwitch_title">
251
252 <ListPreference
253 android:key="keys_app_switch_press"
254 android:dialogTitle="@string/keys_app_switch_press_title"
255 android:title="@string/keys_action_normal"
256 android:entries="@array/keys_action_entries"
257 android:entryValues="@array/keys_action_values"
258 android:persistent="false"
259 android:dependency="keys_enable_custom" />
260
261 <ListPreference
262 android:key="keys_app_switch_long_press"
263 android:dialogTitle="@string/keys_app_switch_long_press_title"
264 android:title="@string/keys_action_long"
265 android:entries="@array/keys_action_entries"
266 android:entryValues="@array/keys_action_values"
267 android:persistent="false"
268 android:dependency="keys_enable_custom" />
269 </PreferenceCategory>
Marko Manf4414772016-09-21 21:45:46 +0200270-->
maxwen57f45462015-11-27 22:33:02 +0100271 <PreferenceCategory
272 android:key="button_other"
273 android:title="@string/button_other_title" >
Marko Manfae74032016-11-24 23:20:26 +0100274 <ListPreference
maxwen57f45462015-11-27 22:33:02 +0100275 android:key="navbar_recents_style"
276 android:title="@string/navbar_recents_style_title"
277 android:entries="@array/navbar_recents_style_entries"
278 android:entryValues="@array/navbar_recents_style_values"
279 android:persistent="false"/>
Marko Manfae74032016-11-24 23:20:26 +0100280
maxwen30fbdc22017-07-03 17:37:01 +0200281 <ListPreference
282 android:key="long_press_recents_action"
283 android:title="@string/long_press_recents_action_title"
284 android:entries="@array/long_press_recents_action_entries"
285 android:entryValues="@array/long_press_recents_action_values"
286 android:persistent="false"/>
287
maxwen2d1c1812016-01-29 15:55:03 +0100288 <ListPreference
maxwenef49caa2017-07-18 00:14:42 +0200289 android:key="long_press_home_action"
290 android:title="@string/long_press_home_action_title"
291 android:entries="@array/long_press_home_action_entries"
292 android:entryValues="@array/long_press_home_action_values"
293 android:persistent="false"/>
Marko Mandef81252016-10-21 12:49:53 +0200294
maxwen58b7b542016-06-03 17:52:10 +0200295 <PreferenceScreen
296 android:key="global_actions"
297 android:title="@string/global_actions_title"
298 android:summary="@string/global_actions_summary"
299 android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" />
300
maxwen57f45462015-11-27 22:33:02 +0100301 </PreferenceCategory>
302
Benjamin Chenga5882a02014-12-28 13:48:36 -0500303<!-- <PreferenceCategory
304 android:key="button_headsethook"
305 android:title="@string/button_headsethook_title" >
306
307 <CheckBoxPreference
308 android:key="button_headsethook_launch_voice"
309 android:title="@string/button_headsethook_launch_voice_title"
310 android:summary="@string/button_headsethook_launch_voice_summary"
311 android:persistent="false" />
312
313 </PreferenceCategory>
314-->
315</PreferenceScreen>