blob: 9aec1fb0f5b4179fa9c674feb93d44071feb82a7 [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-->
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"
maxwenf61af952016-03-18 00:19:56 +010042 android:persistent="false"
43 android:disableDependentsState="true" />
Benjamin Chenga5882a02014-12-28 13:48:36 -050044
45 <!--<ListPreference
46 android:key="button_volume_default_screen"
47 android:title="@string/button_volume_default_title"
48 android:summary="@string/button_volume_default_summary"
49 android:entries="@array/button_volume_default_entries"
50 android:entryValues="@array/button_volume_default_values"
maxwenf61af952016-03-18 00:19:56 +010051 android:persistent="false"/>-->
Benjamin Chenga5882a02014-12-28 13:48:36 -050052
maxwenf61af952016-03-18 00:19:56 +010053 <com.android.settings.preference.SystemCheckBoxPreference
54 android:key="volume_button_music_control"
55 android:title="@string/volume_button_music_control_title"
56 android:summary="@string/volume_button_music_control_summary"
57 android:dependency="button_volume_wake_screen"/>
Benjamin Chenga5882a02014-12-28 13:48:36 -050058
maxwenf61af952016-03-18 00:19:56 +010059 <!-- <ListPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050060 android:key="volume_key_cursor_control"
61 android:persistent="false"
62 android:dialogTitle="@string/volume_key_cursor_control_title"
63 android:title="@string/volume_key_cursor_control_title"
64 android:entries="@array/volume_key_cursor_control_entries"
maxwenc6258ba2015-01-16 21:08:25 +010065 android:entryValues="@array/volume_key_cursor_control_values" /> -->
Benjamin Chenga5882a02014-12-28 13:48:36 -050066
maxwenc6258ba2015-01-16 21:08:25 +010067 <CheckBoxPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050068 android:key="swap_volume_buttons"
69 android:title="@string/swap_volume_buttons_title"
maxwenc6258ba2015-01-16 21:08:25 +010070 android:summary="@string/swap_volume_buttons_summary"
71 android:persistent="false"/>
Benjamin Chenga5882a02014-12-28 13:48:36 -050072
73 </PreferenceCategory>
74
75 <PreferenceCategory
76 android:key="button_keys"
77 android:title="@string/button_keys_title" >
78
maxwenfd1ffe02015-11-08 23:17:16 +010079 <SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050080 android:key="navigation_bar_show"
81 android:title="@string/navigation_bar_show_title"
maxwenc0676fa2015-05-07 00:36:09 +020082 android:summary="@string/navigation_bar_show_summary"
83 android:persistent="false" />
Benjamin Chenga5882a02014-12-28 13:48:36 -050084
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"
89 android:persistent="false"/>
90
maxwenfd1ffe02015-11-08 23:17:16 +010091 <!--<CheckBoxPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050092 android:key="virtual_key_haptic_feedback"
93 android:title="@string/virtual_key_haptic_feedback_title"
94 android:summary="@string/virtual_key_haptic_feedback_summary"
95 android:persistent="false"/>
96
97 <CheckBoxPreference
98 android:key="force_show_overflow_menu"
99 android:title="@string/force_show_overflow_menu_title"
100 android:summary="@string/force_show_overflow_menu_summary"
Hernan Castanon Alvarez97f4df12015-12-10 09:38:49 -0800101 android:persistent="false"/>-->
Benjamin Chenga5882a02014-12-28 13:48:36 -0500102
103 <PreferenceScreen
104 android:key="button_brightness"
maxwen09c94dc2016-03-19 22:43:51 +0100105 android:title="@string/button_backlight_title"
Benjamin Chenga5882a02014-12-28 13:48:36 -0500106 android:fragment="org.omnirom.omnigears.brightness.ButtonBrightnessSettings" />
Benjamin Chenga5882a02014-12-28 13:48:36 -0500107
maxwenf31a2262015-11-04 15:49:43 +0100108 <!--<SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -0500109 android:key="keys_enable_custom"
110 android:title="@string/keys_enable_custom_title"
maxwenf31a2262015-11-04 15:49:43 +0100111 android:persistent="false" />-->
maxwenfd1ffe02015-11-08 23:17:16 +0100112
Benjamin Chenga5882a02014-12-28 13:48:36 -0500113 </PreferenceCategory>
114
115 <PreferenceCategory
116 android:key="button_keys_back"
117 android:title="@string/button_keys_back_title" >
118
119 <ListPreference
120 android:key="keys_back_press"
121 android:dialogTitle="@string/keys_back_press_title"
122 android:title="@string/keys_action_normal"
123 android:entries="@array/keys_action_entries"
124 android:entryValues="@array/keys_action_values"
125 android:persistent="false"
126 android:dependency="keys_enable_custom" />
127
128 <ListPreference
129 android:key="keys_back_long_press"
130 android:dialogTitle="@string/keys_back_long_press_title"
131 android:title="@string/keys_action_long"
132 android:entries="@array/keys_action_entries"
133 android:entryValues="@array/keys_action_values"
134 android:persistent="false"
135 android:dependency="keys_enable_custom" />
136 </PreferenceCategory>
137
138 <PreferenceCategory
139 android:key="button_keys_home"
140 android:title="@string/button_keys_home_title">
141
142 <ListPreference
143 android:key="keys_home_press"
144 android:dialogTitle="@string/keys_home_press_title"
145 android:title="@string/keys_action_normal"
146 android:entries="@array/keys_action_entries"
147 android:entryValues="@array/keys_action_values"
148 android:persistent="false"
149 android:dependency="keys_enable_custom" />
150
151 <ListPreference
152 android:key="keys_home_long_press"
153 android:dialogTitle="@string/keys_home_long_press_title"
154 android:title="@string/keys_action_long"
155 android:entries="@array/keys_action_entries"
156 android:entryValues="@array/keys_action_values"
157 android:persistent="false"
158 android:dependency="keys_enable_custom" />
159
160 <ListPreference
161 android:key="keys_home_double_tap"
162 android:dialogTitle="@string/keys_home_double_tap_title"
163 android:title="@string/keys_action_double"
164 android:entries="@array/keys_action_entries"
165 android:entryValues="@array/keys_action_values"
166 android:persistent="false"
167 android:dependency="keys_enable_custom" />
168
crondoga1be6ec2015-02-01 15:10:55 +1100169 <CheckBoxPreference
170 android:key="button_home_wake_screen"
171 android:title="@string/button_home_wake_title"
172 android:summary="@string/button_home_wake_summary"
173 android:persistent="false"/>
174
Oleksandr Byelkinda325d42015-01-25 21:18:08 +0100175 <CheckBoxPreference
176 android:key="button_home_answers_call"
177 android:title="@string/button_home_answers_call_title"
178 android:summary="@string/button_home_answers_call_summary"
179 android:persistent="false" />
180
Benjamin Chenga5882a02014-12-28 13:48:36 -0500181 </PreferenceCategory>
182
183 <PreferenceCategory
184 android:key="button_keys_menu"
185 android:title="@string/button_keys_menu_title">
186
187 <ListPreference
188 android:key="keys_menu_press"
189 android:dialogTitle="@string/keys_menu_press_title"
190 android:title="@string/keys_action_normal"
191 android:entries="@array/keys_action_entries"
192 android:entryValues="@array/keys_action_values"
193 android:persistent="false"
194 android:dependency="keys_enable_custom" />
195
196 <ListPreference
197 android:key="keys_menu_long_press"
198 android:dialogTitle="@string/keys_menu_long_press_title"
199 android:title="@string/keys_action_long"
200 android:entries="@array/keys_action_entries"
201 android:entryValues="@array/keys_action_values"
202 android:persistent="false"
203 android:dependency="keys_enable_custom" />
204 </PreferenceCategory>
205
206 <PreferenceCategory
207 android:key="button_keys_assist"
208 android:title="@string/button_keys_assist_title">
209
210 <ListPreference
211 android:key="keys_assist_press"
212 android:dialogTitle="@string/keys_assist_press_title"
213 android:title="@string/keys_action_normal"
214 android:entries="@array/keys_action_entries"
215 android:entryValues="@array/keys_action_values"
216 android:persistent="false"
217 android:dependency="keys_enable_custom" />
218
219 <ListPreference
220 android:key="keys_assist_long_press"
221 android:dialogTitle="@string/keys_assist_long_press_title"
222 android:title="@string/keys_action_long"
223 android:entries="@array/keys_action_entries"
224 android:entryValues="@array/keys_action_values"
225 android:persistent="false"
226 android:dependency="keys_enable_custom" />
227 </PreferenceCategory>
228
229 <PreferenceCategory
230 android:key="button_keys_appSwitch"
231 android:title="@string/button_keys_appSwitch_title">
232
233 <ListPreference
234 android:key="keys_app_switch_press"
235 android:dialogTitle="@string/keys_app_switch_press_title"
236 android:title="@string/keys_action_normal"
237 android:entries="@array/keys_action_entries"
238 android:entryValues="@array/keys_action_values"
239 android:persistent="false"
240 android:dependency="keys_enable_custom" />
241
242 <ListPreference
243 android:key="keys_app_switch_long_press"
244 android:dialogTitle="@string/keys_app_switch_long_press_title"
245 android:title="@string/keys_action_long"
246 android:entries="@array/keys_action_entries"
247 android:entryValues="@array/keys_action_values"
248 android:persistent="false"
249 android:dependency="keys_enable_custom" />
250 </PreferenceCategory>
251
maxwen57f45462015-11-27 22:33:02 +0100252 <PreferenceCategory
253 android:key="button_other"
254 android:title="@string/button_other_title" >
255 <ListPreference
256 android:key="navbar_recents_style"
257 android:title="@string/navbar_recents_style_title"
258 android:entries="@array/navbar_recents_style_entries"
259 android:entryValues="@array/navbar_recents_style_values"
260 android:persistent="false"/>
maxwen2d1c1812016-01-29 15:55:03 +0100261
262 <com.android.settings.preference.SystemCheckBoxPreference
263 android:key="button_back_kill_enable"
264 android:title="@string/button_back_kill_enable_title"
265 android:summary="@string/button_back_kill_enable_summary"
266 android:defaultValue="true"/>
267
268 <ListPreference
269 android:key="button_back_kill_timeout"
270 android:title="@string/button_back_kill_timeout_title"
271 android:entries="@array/button_back_kill_timeout_entries"
272 android:entryValues="@array/button_back_kill_timeout_values"
273 android:persistent="false"
274 android:dependency="button_back_kill_enable"/>
maxwen57f45462015-11-27 22:33:02 +0100275 </PreferenceCategory>
276
Benjamin Chenga5882a02014-12-28 13:48:36 -0500277<!-- <PreferenceCategory
278 android:key="button_headsethook"
279 android:title="@string/button_headsethook_title" >
280
281 <CheckBoxPreference
282 android:key="button_headsethook_launch_voice"
283 android:title="@string/button_headsethook_launch_voice_title"
284 android:summary="@string/button_headsethook_launch_voice_summary"
285 android:persistent="false" />
286
287 </PreferenceCategory>
288-->
289</PreferenceScreen>