blob: c6f5eb986594ff426e72a5f2c87ec3126e89c765 [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
maxwen08d35252016-10-02 00:36:49 +0200118 </PreferenceCategory>
Marko Manf4414772016-09-21 21:45:46 +0200119<!--
Benjamin Chenga5882a02014-12-28 13:48:36 -0500120 <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
crondoga1be6ec2015-02-01 15:10:55 +1100174 <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 Byelkinda325d42015-01-25 21:18:08 +0100180 <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 Chenga5882a02014-12-28 13:48:36 -0500186 </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 Manf4414772016-09-21 21:45:46 +0200256-->
maxwen57f45462015-11-27 22:33:02 +0100257 <PreferenceCategory
258 android:key="button_other"
259 android:title="@string/button_other_title" >
Marko Manfae74032016-11-24 23:20:26 +0100260 <ListPreference
maxwen57f45462015-11-27 22:33:02 +0100261 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 Manfae74032016-11-24 23:20:26 +0100266
maxwen30fbdc22017-07-03 17:37:01 +0200267 <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
maxwen1b91db52017-06-14 22:52:34 +0200274 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
maxwen2d1c1812016-01-29 15:55:03 +0100275 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 Mandef81252016-10-21 12:49:53 +0200278 android:defaultValue="false"/>
maxwen2d1c1812016-01-29 15:55:03 +0100279
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 Mandef81252016-10-21 12:49:53 +0200287
maxwen58b7b542016-06-03 17:52:10 +0200288 <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
maxwen57f45462015-11-27 22:33:02 +0100294 </PreferenceCategory>
295
Benjamin Chenga5882a02014-12-28 13:48:36 -0500296<!-- <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>