1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
21 android:key="disable_nav_keys"
22 android:title="@string/disable_navkeys_title"
23 android:summary="@string/disable_navkeys_summary"
24 android:defaultValue="false" />
26 <com.android.settings.cyanogenmod.ButtonBacklightBrightness
27 android:key="button_backlight"
28 android:title="@string/button_backlight_title"
29 android:dialogTitle="@string/button_backlight_title"
30 android:persistent="false" />
32 <!-- Device Specific Bluetooth Input settings -->
34 android:key="bluetooth_input_settings">
36 android:action="com.cyanogenmod.action.LAUNCH_BLUETOOTH_INPUT_SETTINGS"
37 android:targetPackage="com.cyanogenmod.settings.device"
38 android:targetClass="com.cyanogenmod.settings.device.BluetoothInputSettings" />
42 android:key="navigation_bar"
43 android:title="@string/navigation_bar_category" >
45 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
46 android:key="navigation_bar_left"
47 android:title="@string/navigation_bar_left_title"
48 android:summary="@string/navigation_bar_left_summary"
49 android:defaultValue="false" />
54 android:key="power_key"
55 android:title="@string/hardware_keys_power_key_title" >
58 android:key="power_menu"
59 android:title="@string/power_menu_title"
60 android:fragment="com.android.settings.cyanogenmod.PowerMenuActions" />
63 android:key="power_end_call"
64 android:title="@string/power_end_call_title"
65 android:summary="@string/power_end_call_summary"
66 android:persistent="false"/>
71 android:key="home_key"
72 android:title="@string/hardware_keys_home_key_title" >
74 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
75 android:key="home_wake_screen"
76 android:title="@string/button_wake_title"
77 android:defaultValue="true" />
80 android:key="home_answer_call"
81 android:title="@string/home_answer_call_title"
82 android:summary="@string/home_answer_call_summary"
83 android:persistent="false"/>
86 android:key="hardware_keys_home_long_press"
87 android:dialogTitle="@string/hardware_keys_long_press_title"
88 android:title="@string/hardware_keys_long_press_title"
89 android:entries="@array/hardware_keys_action_entries"
90 android:entryValues="@array/hardware_keys_action_values"
91 android:persistent="false" />
94 android:key="hardware_keys_home_double_tap"
95 android:dialogTitle="@string/hardware_keys_double_tap_title"
96 android:title="@string/hardware_keys_double_tap_title"
97 android:entries="@array/hardware_keys_action_entries"
98 android:entryValues="@array/hardware_keys_action_values"
99 android:persistent="false" />
101 </PreferenceCategory>
104 android:key="back_key"
105 android:title="@string/hardware_keys_back_key_title" >
107 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
108 android:key="back_wake_screen"
109 android:title="@string/button_wake_title"
110 android:defaultValue="false" />
112 </PreferenceCategory>
115 android:key="menu_key"
116 android:title="@string/hardware_keys_menu_key_title" >
118 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
119 android:key="menu_wake_screen"
120 android:title="@string/button_wake_title"
121 android:defaultValue="false" />
124 android:key="hardware_keys_menu_press"
125 android:dialogTitle="@string/hardware_keys_short_press_title"
126 android:title="@string/hardware_keys_short_press_title"
127 android:entries="@array/hardware_keys_action_entries"
128 android:entryValues="@array/hardware_keys_action_values"
129 android:persistent="false" />
132 android:key="hardware_keys_menu_long_press"
133 android:dialogTitle="@string/hardware_keys_long_press_title"
134 android:title="@string/hardware_keys_long_press_title"
135 android:entries="@array/hardware_keys_action_entries"
136 android:entryValues="@array/hardware_keys_action_values"
137 android:persistent="false" />
139 </PreferenceCategory>
142 android:key="assist_key"
143 android:title="@string/hardware_keys_assist_key_title" >
145 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
146 android:key="assist_wake_screen"
147 android:title="@string/button_wake_title"
148 android:defaultValue="false" />
151 android:key="hardware_keys_assist_press"
152 android:dialogTitle="@string/hardware_keys_short_press_title"
153 android:title="@string/hardware_keys_short_press_title"
154 android:entries="@array/hardware_keys_action_entries"
155 android:entryValues="@array/hardware_keys_action_values"
156 android:persistent="false" />
159 android:key="hardware_keys_assist_long_press"
160 android:dialogTitle="@string/hardware_keys_long_press_title"
161 android:title="@string/hardware_keys_long_press_title"
162 android:entries="@array/hardware_keys_action_entries"
163 android:entryValues="@array/hardware_keys_action_values"
164 android:persistent="false" />
166 </PreferenceCategory>
169 android:key="app_switch_key"
170 android:title="@string/hardware_keys_appswitch_key_title" >
172 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
173 android:key="app_switch_wake_screen"
174 android:title="@string/button_wake_title"
175 android:defaultValue="false" />
178 android:key="hardware_keys_app_switch_press"
179 android:dialogTitle="@string/hardware_keys_short_press_title"
180 android:title="@string/hardware_keys_short_press_title"
181 android:entries="@array/hardware_keys_action_entries"
182 android:entryValues="@array/hardware_keys_action_values"
183 android:persistent="false" />
186 android:key="hardware_keys_app_switch_long_press"
187 android:dialogTitle="@string/hardware_keys_long_press_title"
188 android:title="@string/hardware_keys_long_press_title"
189 android:entries="@array/hardware_keys_action_entries"
190 android:entryValues="@array/hardware_keys_action_values"
191 android:persistent="false" />
193 </PreferenceCategory>
196 android:key="volume_keys"
197 android:title="@string/hardware_keys_volume_keys_title" >
199 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
200 android:key="volume_wake_screen"
201 android:title="@string/button_wake_title"
202 android:defaultValue="false" />
204 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
205 android:key="volbtn_music_controls"
206 android:title="@string/volbtn_music_controls_title"
207 android:summary="@string/volbtn_music_controls_summary"
208 android:defaultValue="true" />
211 android:key="volume_key_cursor_control"
212 android:dialogTitle="@string/volbtn_cursor_control_title"
213 android:title="@string/volbtn_cursor_control_title"
214 android:entries="@array/volbtn_cursor_control_entries"
215 android:entryValues="@array/volbtn_cursor_control_values"
216 android:persistent="false" />
219 android:key="swap_volume_buttons"
220 android:title="@string/swap_volume_buttons_title"
221 android:summary="@string/swap_volume_buttons_summary" />
222 </PreferenceCategory>