blob: ae76ffba861e32dbacb8e21c9703e854973bb276 [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
maxwenc6258ba2015-01-16 21:08:25 +010068 <CheckBoxPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050069 android:key="swap_volume_buttons"
70 android:title="@string/swap_volume_buttons_title"
maxwenc6258ba2015-01-16 21:08:25 +010071 android:summary="@string/swap_volume_buttons_summary"
72 android:persistent="false"/>
Benjamin Chenga5882a02014-12-28 13:48:36 -050073
74 </PreferenceCategory>
maxwen08d35252016-10-02 00:36:49 +020075
Benjamin Chenga5882a02014-12-28 13:48:36 -050076 <PreferenceCategory
77 android:key="button_keys"
78 android:title="@string/button_keys_title" >
79
Marko Man4cf34592016-10-05 21:31:27 +020080 <SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050081 android:key="navigation_bar_show"
82 android:title="@string/navigation_bar_show_title"
maxwenc0676fa2015-05-07 00:36:09 +020083 android:summary="@string/navigation_bar_show_summary"
84 android:persistent="false" />
maxwenc0676fa2015-05-07 00:36:09 +020085 <SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050086 android:key="hardware_keys_disable"
87 android:title="@string/hardware_keys_disable_title"
88 android:summary="@string/hardware_keys_disable_summary"
maxwen9f5d3722016-10-07 18:02:33 +020089 android:persistent="false"
90 android:dependency="navigation_bar_show"/>
91<!--
maxwen08d35252016-10-02 00:36:49 +020092 <CheckBoxPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050093 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 Alvarez97f4df12015-12-10 09:38:49 -0800102 android:persistent="false"/>-->
maxwen08d35252016-10-02 00:36:49 +0200103
Benjamin Chenga5882a02014-12-28 13:48:36 -0500104 <PreferenceScreen
105 android:key="button_brightness"
maxwen09c94dc2016-03-19 22:43:51 +0100106 android:title="@string/button_backlight_title"
maxwen08d35252016-10-02 00:36:49 +0200107 android:fragment="org.omnirom.omnigears.ButtonBrightnessSettings" />
108
maxwenf31a2262015-11-04 15:49:43 +0100109 <!--<SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -0500110 android:key="keys_enable_custom"
111 android:title="@string/keys_enable_custom_title"
maxwenf31a2262015-11-04 15:49:43 +0100112 android:persistent="false" />-->
maxwenfd1ffe02015-11-08 23:17:16 +0100113
maxwen08d35252016-10-02 00:36:49 +0200114 </PreferenceCategory>
Marko Manf4414772016-09-21 21:45:46 +0200115<!--
Benjamin Chenga5882a02014-12-28 13:48:36 -0500116 <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
crondoga1be6ec2015-02-01 15:10:55 +1100170 <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 Byelkinda325d42015-01-25 21:18:08 +0100176 <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 Chenga5882a02014-12-28 13:48:36 -0500182 </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 Manf4414772016-09-21 21:45:46 +0200252-->
maxwen57f45462015-11-27 22:33:02 +0100253 <PreferenceCategory
254 android:key="button_other"
255 android:title="@string/button_other_title" >
Marko Manf4414772016-09-21 21:45:46 +0200256<!-- <ListPreference
maxwen57f45462015-11-27 22:33:02 +0100257 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"/>
Marko Mandef81252016-10-21 12:49:53 +0200262-->
Marko Manf4414772016-09-21 21:45:46 +0200263 <org.omnirom.omnigears.preference.SystemCheckBoxPreference
maxwen2d1c1812016-01-29 15:55:03 +0100264 android:key="button_back_kill_enable"
265 android:title="@string/button_back_kill_enable_title"
266 android:summary="@string/button_back_kill_enable_summary"
Marko Mandef81252016-10-21 12:49:53 +0200267 android:defaultValue="false"/>
maxwen2d1c1812016-01-29 15:55:03 +0100268
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 Mandef81252016-10-21 12:49:53 +0200276
maxwen58b7b542016-06-03 17:52:10 +0200277 <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
maxwen57f45462015-11-27 22:33:02 +0100283 </PreferenceCategory>
284
Benjamin Chenga5882a02014-12-28 13:48:36 -0500285<!-- <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>