The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 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 | |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android"> |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 19 | |
| 20 | <PreferenceCategory |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 21 | android:title="@string/bluetooth_settings" /> |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 22 | |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 23 | <CheckBoxPreference |
| 24 | android:key="bt_checkbox" |
| 25 | android:title="@string/bluetooth" |
| 26 | android:summary="@string/bluetooth_quick_toggle_summary" /> |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 27 | |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 28 | <com.android.settings.bluetooth.BluetoothNamePreference |
| 29 | android:key="bt_name" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 30 | android:title="@string/bluetooth_device_name" |
| 31 | android:summary="@string/bluetooth_name_not_set" |
| 32 | android:dialogTitle="@string/bluetooth_device_name" |
| 33 | android:dependency="bt_checkbox" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 34 | android:persistent="false" |
| 35 | android:singleLine="true" /> |
| 36 | |
| 37 | <CheckBoxPreference |
| 38 | android:key="bt_discoverable" |
| 39 | android:title="@string/bluetooth_visibility" |
| 40 | android:dependency="bt_checkbox" |
| 41 | android:summaryOn="@string/bluetooth_is_discoverable" |
| 42 | android:summaryOff="@string/bluetooth_not_discoverable" |
| 43 | android:persistent="false" /> |
| 44 | |
| 45 | <Preference |
| 46 | android:key="bt_scan" |
| 47 | android:dependency="bt_checkbox" |
| 48 | android:title="@string/bluetooth_preference_scan_title" /> |
| 49 | |
| 50 | <com.android.settings.ProgressCategory |
| 51 | android:key="bt_device_list" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 52 | android:title="@string/bluetooth_devices" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 53 | android:dependency="bt_checkbox" |
| 54 | android:orderingFromXml="false" /> |
| 55 | |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 56 | </PreferenceScreen> |