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" />
52 android:key="navigation_bar"
53 android:fragment="com.android.settings.cyanogenmod.NavBar"
54 android:title="@string/navigation_bar_title" />
59 android:key="power_key"
60 android:title="@string/hardware_keys_power_key_title" >
63 android:key="power_menu"
64 android:title="@string/power_menu_title"
65 android:fragment="com.android.settings.cyanogenmod.PowerMenuActions" />
68 android:key="power_end_call"
69 android:title="@string/power_end_call_title"
70 android:summary="@string/power_end_call_summary"
71 android:persistent="false"/>
76 android:key="home_key"
77 android:title="@string/hardware_keys_home_key_title" >
79 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
80 android:key="home_wake_screen"
81 android:title="@string/button_wake_title"
82 android:defaultValue="true" />
85 android:key="home_answer_call"
86 android:title="@string/home_answer_call_title"
87 android:summary="@string/home_answer_call_summary"
88 android:persistent="false"/>
91 android:key="hardware_keys_home_long_press"
92 android:dialogTitle="@string/hardware_keys_long_press_title"
93 android:title="@string/hardware_keys_long_press_title"
94 android:entries="@array/hardware_keys_action_entries"
95 android:entryValues="@array/hardware_keys_action_values"
96 android:persistent="false" />
99 android:key="hardware_keys_home_double_tap"
100 android:dialogTitle="@string/hardware_keys_double_tap_title"
101 android:title="@string/hardware_keys_double_tap_title"
102 android:entries="@array/hardware_keys_action_entries"
103 android:entryValues="@array/hardware_keys_action_values"
104 android:persistent="false" />
106 </PreferenceCategory>
109 android:key="back_key"
110 android:title="@string/hardware_keys_back_key_title" >
112 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
113 android:key="back_wake_screen"
114 android:title="@string/button_wake_title"
115 android:defaultValue="false" />
117 </PreferenceCategory>
120 android:key="menu_key"
121 android:title="@string/hardware_keys_menu_key_title" >
123 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
124 android:key="menu_wake_screen"
125 android:title="@string/button_wake_title"
126 android:defaultValue="false" />
129 android:key="hardware_keys_menu_press"
130 android:dialogTitle="@string/hardware_keys_short_press_title"
131 android:title="@string/hardware_keys_short_press_title"
132 android:entries="@array/hardware_keys_action_entries"
133 android:entryValues="@array/hardware_keys_action_values"
134 android:persistent="false" />
137 android:key="hardware_keys_menu_long_press"
138 android:dialogTitle="@string/hardware_keys_long_press_title"
139 android:title="@string/hardware_keys_long_press_title"
140 android:entries="@array/hardware_keys_action_entries"
141 android:entryValues="@array/hardware_keys_action_values"
142 android:persistent="false" />
144 </PreferenceCategory>
147 android:key="assist_key"
148 android:title="@string/hardware_keys_assist_key_title" >
150 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
151 android:key="assist_wake_screen"
152 android:title="@string/button_wake_title"
153 android:defaultValue="false" />
156 android:key="hardware_keys_assist_press"
157 android:dialogTitle="@string/hardware_keys_short_press_title"
158 android:title="@string/hardware_keys_short_press_title"
159 android:entries="@array/hardware_keys_action_entries"
160 android:entryValues="@array/hardware_keys_action_values"
161 android:persistent="false" />
164 android:key="hardware_keys_assist_long_press"
165 android:dialogTitle="@string/hardware_keys_long_press_title"
166 android:title="@string/hardware_keys_long_press_title"
167 android:entries="@array/hardware_keys_action_entries"
168 android:entryValues="@array/hardware_keys_action_values"
169 android:persistent="false" />
171 </PreferenceCategory>
174 android:key="app_switch_key"
175 android:title="@string/hardware_keys_appswitch_key_title" >
177 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
178 android:key="app_switch_wake_screen"
179 android:title="@string/button_wake_title"
180 android:defaultValue="false" />
183 android:key="hardware_keys_app_switch_press"
184 android:dialogTitle="@string/hardware_keys_short_press_title"
185 android:title="@string/hardware_keys_short_press_title"
186 android:entries="@array/hardware_keys_action_entries"
187 android:entryValues="@array/hardware_keys_action_values"
188 android:persistent="false" />
191 android:key="hardware_keys_app_switch_long_press"
192 android:dialogTitle="@string/hardware_keys_long_press_title"
193 android:title="@string/hardware_keys_long_press_title"
194 android:entries="@array/hardware_keys_action_entries"
195 android:entryValues="@array/hardware_keys_action_values"
196 android:persistent="false" />
198 </PreferenceCategory>
201 android:key="volume_keys"
202 android:title="@string/hardware_keys_volume_keys_title" >
204 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
205 android:key="volume_wake_screen"
206 android:title="@string/button_wake_title"
207 android:defaultValue="false" />
209 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
210 android:key="volbtn_music_controls"
211 android:title="@string/volbtn_music_controls_title"
212 android:summary="@string/volbtn_music_controls_summary"
213 android:defaultValue="true" />
216 android:key="volume_key_cursor_control"
217 android:dialogTitle="@string/volbtn_cursor_control_title"
218 android:title="@string/volbtn_cursor_control_title"
219 android:entries="@array/volbtn_cursor_control_entries"
220 android:entryValues="@array/volbtn_cursor_control_values"
221 android:persistent="false" />
224 android:key="swap_volume_buttons"
225 android:title="@string/swap_volume_buttons_title"
226 android:summary="@string/swap_volume_buttons_summary" />
227 </PreferenceCategory>