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" />
33 android:key="navigation_bar"
34 android:title="@string/navigation_bar_category" >
36 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
37 android:key="navigation_bar_left"
38 android:title="@string/navigation_bar_left_title"
39 android:summary="@string/navigation_bar_left_summary"
40 android:defaultValue="false" />
45 android:key="power_key"
46 android:title="@string/hardware_keys_power_key_title" >
49 android:key="power_end_call"
50 android:title="@string/power_end_call_title"
51 android:summary="@string/power_end_call_summary"
52 android:persistent="false"/>
57 android:key="home_key"
58 android:title="@string/hardware_keys_home_key_title" >
60 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
61 android:key="home_wake_screen"
62 android:title="@string/button_wake_title"
63 android:defaultValue="true" />
66 android:key="home_answer_call"
67 android:title="@string/home_answer_call_title"
68 android:summary="@string/home_answer_call_summary"
69 android:persistent="false"/>
72 android:key="hardware_keys_home_long_press"
73 android:dialogTitle="@string/hardware_keys_long_press_title"
74 android:title="@string/hardware_keys_long_press_title"
75 android:entries="@array/hardware_keys_action_entries"
76 android:entryValues="@array/hardware_keys_action_values"
77 android:persistent="false" />
80 android:key="hardware_keys_home_double_tap"
81 android:dialogTitle="@string/hardware_keys_double_tap_title"
82 android:title="@string/hardware_keys_double_tap_title"
83 android:entries="@array/hardware_keys_action_entries"
84 android:entryValues="@array/hardware_keys_action_values"
85 android:persistent="false" />
90 android:key="back_key"
91 android:title="@string/hardware_keys_back_key_title" >
93 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
94 android:key="back_wake_screen"
95 android:title="@string/button_wake_title"
96 android:defaultValue="true" />
101 android:key="menu_key"
102 android:title="@string/hardware_keys_menu_key_title" >
104 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
105 android:key="menu_wake_screen"
106 android:title="@string/button_wake_title"
107 android:defaultValue="true" />
110 android:key="hardware_keys_menu_press"
111 android:dialogTitle="@string/hardware_keys_short_press_title"
112 android:title="@string/hardware_keys_short_press_title"
113 android:entries="@array/hardware_keys_action_entries"
114 android:entryValues="@array/hardware_keys_action_values"
115 android:persistent="false" />
118 android:key="hardware_keys_menu_long_press"
119 android:dialogTitle="@string/hardware_keys_long_press_title"
120 android:title="@string/hardware_keys_long_press_title"
121 android:entries="@array/hardware_keys_action_entries"
122 android:entryValues="@array/hardware_keys_action_values"
123 android:persistent="false" />
125 </PreferenceCategory>
128 android:key="app_switch_key"
129 android:title="@string/hardware_keys_appswitch_key_title" >
132 android:key="hardware_keys_app_switch_press"
133 android:dialogTitle="@string/hardware_keys_short_press_title"
134 android:title="@string/hardware_keys_short_press_title"
135 android:entries="@array/hardware_keys_action_entries"
136 android:entryValues="@array/hardware_keys_action_values"
137 android:persistent="false" />
140 android:key="hardware_keys_app_switch_long_press"
141 android:dialogTitle="@string/hardware_keys_long_press_title"
142 android:title="@string/hardware_keys_long_press_title"
143 android:entries="@array/hardware_keys_action_entries"
144 android:entryValues="@array/hardware_keys_action_values"
145 android:persistent="false" />
147 </PreferenceCategory>
150 android:key="volume_keys"
151 android:title="@string/hardware_keys_volume_keys_title" >
153 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
154 android:key="volume_wake_screen"
155 android:title="@string/button_wake_title"
156 android:defaultValue="true" />
158 <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
159 android:key="volbtn_music_controls"
160 android:title="@string/volbtn_music_controls_title"
161 android:summary="@string/volbtn_music_controls_summary"
162 android:defaultValue="true" />
165 android:key="volume_key_cursor_control"
166 android:dialogTitle="@string/volbtn_cursor_control_title"
167 android:title="@string/volbtn_cursor_control_title"
168 android:entries="@array/volbtn_cursor_control_entries"
169 android:entryValues="@array/volbtn_cursor_control_values"
170 android:persistent="false" />
173 android:key="swap_volume_buttons"
174 android:title="@string/swap_volume_buttons_title"
175 android:summary="@string/swap_volume_buttons_summary" />
176 </PreferenceCategory>