OSDN Git Service

c36d0e1d3b4408a76d3dbed60068261bab485ffa
[android-x86/packages-apps-Settings.git] / res / xml / button_settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
3
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
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
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.
15 -->
16
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18         xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
19
20     <SwitchPreference
21         android:key="disable_nav_keys"
22         android:title="@string/disable_navkeys_title"
23         android:summary="@string/disable_navkeys_summary"
24         android:defaultValue="false" />
25
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" />
31
32     <!-- Device Specific Bluetooth Input settings -->
33     <Preference
34         android:key="bluetooth_input_settings">
35         <intent
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" />
39     </Preference>
40
41     <PreferenceCategory
42         android:key="navigation_bar"
43         android:title="@string/navigation_bar_category" >
44
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" />
50
51     </PreferenceCategory>
52
53     <PreferenceCategory
54         android:key="power_key"
55         android:title="@string/hardware_keys_power_key_title" >
56
57         <PreferenceScreen
58             android:key="power_menu"
59             android:title="@string/power_menu_title"
60             android:fragment="com.android.settings.cyanogenmod.PowerMenuActions" />
61
62         <SwitchPreference
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"/>
67
68     </PreferenceCategory>
69
70     <PreferenceCategory
71         android:key="home_key"
72         android:title="@string/hardware_keys_home_key_title" >
73
74         <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
75             android:key="home_wake_screen"
76             android:title="@string/button_wake_title"
77             android:defaultValue="true" />
78
79         <SwitchPreference
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"/>
84
85         <ListPreference
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" />
92
93         <ListPreference
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" />
100
101     </PreferenceCategory>
102
103     <PreferenceCategory
104         android:key="back_key"
105         android:title="@string/hardware_keys_back_key_title" >
106
107         <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
108             android:key="back_wake_screen"
109             android:title="@string/button_wake_title"
110             android:defaultValue="false" />
111
112     </PreferenceCategory>
113
114     <PreferenceCategory
115         android:key="menu_key"
116         android:title="@string/hardware_keys_menu_key_title" >
117
118         <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
119             android:key="menu_wake_screen"
120             android:title="@string/button_wake_title"
121             android:defaultValue="false" />
122
123         <ListPreference
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" />
130
131         <ListPreference
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" />
138
139     </PreferenceCategory>
140
141     <PreferenceCategory
142         android:key="assist_key"
143         android:title="@string/hardware_keys_assist_key_title" >
144
145         <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
146             android:key="assist_wake_screen"
147             android:title="@string/button_wake_title"
148             android:defaultValue="false" />
149
150         <ListPreference
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" />
157
158         <ListPreference
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" />
165
166     </PreferenceCategory>
167
168     <PreferenceCategory
169         android:key="app_switch_key"
170         android:title="@string/hardware_keys_appswitch_key_title" >
171
172         <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
173             android:key="app_switch_wake_screen"
174             android:title="@string/button_wake_title"
175             android:defaultValue="false" />
176
177         <ListPreference
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" />
184
185         <ListPreference
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" />
192
193     </PreferenceCategory>
194
195     <PreferenceCategory
196         android:key="volume_keys"
197         android:title="@string/hardware_keys_volume_keys_title" >
198
199         <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
200             android:key="volume_wake_screen"
201             android:title="@string/button_wake_title"
202             android:defaultValue="false" />
203
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" />
209
210         <ListPreference
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" />
217
218         <SwitchPreference
219             android:key="swap_volume_buttons"
220             android:title="@string/swap_volume_buttons_title"
221             android:summary="@string/swap_volume_buttons_summary" />
222     </PreferenceCategory>
223
224 </PreferenceScreen>