blob: 5a8d8e19917529b026eabb823e65ad3b63f99bd4 [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"
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"
maxwenc6258ba2015-01-16 21:08:25 +010064 android:entryValues="@array/volume_key_cursor_control_values" /> -->
Benjamin Chenga5882a02014-12-28 13:48:36 -050065
maxwenc6258ba2015-01-16 21:08:25 +010066 <CheckBoxPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050067 android:key="swap_volume_buttons"
68 android:title="@string/swap_volume_buttons_title"
maxwenc6258ba2015-01-16 21:08:25 +010069 android:summary="@string/swap_volume_buttons_summary"
70 android:persistent="false"/>
Benjamin Chenga5882a02014-12-28 13:48:36 -050071
72 </PreferenceCategory>
73
74 <PreferenceCategory
75 android:key="button_keys"
76 android:title="@string/button_keys_title" >
77
maxwenfd1ffe02015-11-08 23:17:16 +010078 <SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050079 android:key="navigation_bar_show"
80 android:title="@string/navigation_bar_show_title"
maxwenc0676fa2015-05-07 00:36:09 +020081 android:summary="@string/navigation_bar_show_summary"
82 android:persistent="false" />
Benjamin Chenga5882a02014-12-28 13:48:36 -050083
maxwenc0676fa2015-05-07 00:36:09 +020084 <SwitchPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050085 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
maxwenfd1ffe02015-11-08 23:17:16 +010090 <!--<CheckBoxPreference
Benjamin Chenga5882a02014-12-28 13:48:36 -050091 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"
maxwen176750a2015-04-27 23:00:52 +0200100 android:persistent="false"/>-->
Benjamin Chenga5882a02014-12-28 13:48:36 -0500101
102 <PreferenceScreen
103 android:key="button_brightness"
maxwen176750a2015-04-27 23:00:52 +0200104 android:title="@string/button_brightness_title"
Benjamin Chenga5882a02014-12-28 13:48:36 -0500105 android:summary="@string/button_brightness_summary"
106 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"/>
261 </PreferenceCategory>
262
Benjamin Chenga5882a02014-12-28 13:48:36 -0500263<!-- <PreferenceCategory
264 android:key="button_headsethook"
265 android:title="@string/button_headsethook_title" >
266
267 <CheckBoxPreference
268 android:key="button_headsethook_launch_voice"
269 android:title="@string/button_headsethook_launch_voice_title"
270 android:summary="@string/button_headsethook_launch_voice_summary"
271 android:persistent="false" />
272
273 </PreferenceCategory>
274-->
275</PreferenceScreen>