blob: 71a6f9c460d7bec2ef70663bf2af2d5763fccdcc [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"
64 android:entryValues="@array/volume_key_cursor_control_values" />
65
66 <org.omnirom.omnigears.preference.SystemCheckBoxPreference
67 android:key="swap_volume_buttons"
68 android:title="@string/swap_volume_buttons_title"
69 android:summary="@string/swap_volume_buttons_summary" />-->
70
71 </PreferenceCategory>
72
73 <PreferenceCategory
74 android:key="button_keys"
75 android:title="@string/button_keys_title" >
76
77<!-- <org.omnirom.omnigears.preference.SystemCheckBoxPreference
78 android:key="navigation_bar_show"
79 android:title="@string/navigation_bar_show_title"
80 android:summary="@string/navigation_bar_show_summary" />
81
82 <CheckBoxPreference
83 android:key="hardware_keys_disable"
84 android:title="@string/hardware_keys_disable_title"
85 android:summary="@string/hardware_keys_disable_summary"
86 android:persistent="false"/>
87
88 <CheckBoxPreference
89 android:key="virtual_key_haptic_feedback"
90 android:title="@string/virtual_key_haptic_feedback_title"
91 android:summary="@string/virtual_key_haptic_feedback_summary"
92 android:persistent="false"/>
93
94 <CheckBoxPreference
95 android:key="force_show_overflow_menu"
96 android:title="@string/force_show_overflow_menu_title"
97 android:summary="@string/force_show_overflow_menu_summary"
98 android:persistent="false"/>
99
100 <PreferenceScreen
101 android:key="button_brightness"
102 android:title="@string/brightness"
103 android:summary="@string/button_brightness_summary"
104 android:fragment="org.omnirom.omnigears.brightness.ButtonBrightnessSettings" />
105-->
106
107 <SwitchPreference
108 android:key="keys_enable_custom"
109 android:title="@string/keys_enable_custom_title"
110 android:persistent="false" />
111 </PreferenceCategory>
112
113 <PreferenceCategory
114 android:key="button_keys_back"
115 android:title="@string/button_keys_back_title" >
116
117 <ListPreference
118 android:key="keys_back_press"
119 android:dialogTitle="@string/keys_back_press_title"
120 android:title="@string/keys_action_normal"
121 android:entries="@array/keys_action_entries"
122 android:entryValues="@array/keys_action_values"
123 android:persistent="false"
124 android:dependency="keys_enable_custom" />
125
126 <ListPreference
127 android:key="keys_back_long_press"
128 android:dialogTitle="@string/keys_back_long_press_title"
129 android:title="@string/keys_action_long"
130 android:entries="@array/keys_action_entries"
131 android:entryValues="@array/keys_action_values"
132 android:persistent="false"
133 android:dependency="keys_enable_custom" />
134 </PreferenceCategory>
135
136 <PreferenceCategory
137 android:key="button_keys_home"
138 android:title="@string/button_keys_home_title">
139
140 <ListPreference
141 android:key="keys_home_press"
142 android:dialogTitle="@string/keys_home_press_title"
143 android:title="@string/keys_action_normal"
144 android:entries="@array/keys_action_entries"
145 android:entryValues="@array/keys_action_values"
146 android:persistent="false"
147 android:dependency="keys_enable_custom" />
148
149 <ListPreference
150 android:key="keys_home_long_press"
151 android:dialogTitle="@string/keys_home_long_press_title"
152 android:title="@string/keys_action_long"
153 android:entries="@array/keys_action_entries"
154 android:entryValues="@array/keys_action_values"
155 android:persistent="false"
156 android:dependency="keys_enable_custom" />
157
158 <ListPreference
159 android:key="keys_home_double_tap"
160 android:dialogTitle="@string/keys_home_double_tap_title"
161 android:title="@string/keys_action_double"
162 android:entries="@array/keys_action_entries"
163 android:entryValues="@array/keys_action_values"
164 android:persistent="false"
165 android:dependency="keys_enable_custom" />
166
167 </PreferenceCategory>
168
169 <PreferenceCategory
170 android:key="button_keys_menu"
171 android:title="@string/button_keys_menu_title">
172
173 <ListPreference
174 android:key="keys_menu_press"
175 android:dialogTitle="@string/keys_menu_press_title"
176 android:title="@string/keys_action_normal"
177 android:entries="@array/keys_action_entries"
178 android:entryValues="@array/keys_action_values"
179 android:persistent="false"
180 android:dependency="keys_enable_custom" />
181
182 <ListPreference
183 android:key="keys_menu_long_press"
184 android:dialogTitle="@string/keys_menu_long_press_title"
185 android:title="@string/keys_action_long"
186 android:entries="@array/keys_action_entries"
187 android:entryValues="@array/keys_action_values"
188 android:persistent="false"
189 android:dependency="keys_enable_custom" />
190 </PreferenceCategory>
191
192 <PreferenceCategory
193 android:key="button_keys_assist"
194 android:title="@string/button_keys_assist_title">
195
196 <ListPreference
197 android:key="keys_assist_press"
198 android:dialogTitle="@string/keys_assist_press_title"
199 android:title="@string/keys_action_normal"
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
205 <ListPreference
206 android:key="keys_assist_long_press"
207 android:dialogTitle="@string/keys_assist_long_press_title"
208 android:title="@string/keys_action_long"
209 android:entries="@array/keys_action_entries"
210 android:entryValues="@array/keys_action_values"
211 android:persistent="false"
212 android:dependency="keys_enable_custom" />
213 </PreferenceCategory>
214
215 <PreferenceCategory
216 android:key="button_keys_appSwitch"
217 android:title="@string/button_keys_appSwitch_title">
218
219 <ListPreference
220 android:key="keys_app_switch_press"
221 android:dialogTitle="@string/keys_app_switch_press_title"
222 android:title="@string/keys_action_normal"
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
228 <ListPreference
229 android:key="keys_app_switch_long_press"
230 android:dialogTitle="@string/keys_app_switch_long_press_title"
231 android:title="@string/keys_action_long"
232 android:entries="@array/keys_action_entries"
233 android:entryValues="@array/keys_action_values"
234 android:persistent="false"
235 android:dependency="keys_enable_custom" />
236 </PreferenceCategory>
237
238<!-- <PreferenceCategory
239 android:key="button_headsethook"
240 android:title="@string/button_headsethook_title" >
241
242 <CheckBoxPreference
243 android:key="button_headsethook_launch_voice"
244 android:title="@string/button_headsethook_launch_voice_title"
245 android:summary="@string/button_headsethook_launch_voice_summary"
246 android:persistent="false" />
247
248 </PreferenceCategory>
249-->
250</PreferenceScreen>