blob: 844934360acaff51f8b5b528f402ab68a3aa41c3 [file] [log] [blame]
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -07001<?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 Projectabc48f82008-12-17 18:06:01 -080017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android">
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070019
20 <PreferenceCategory
The Android Open Source Projectabc48f82008-12-17 18:06:01 -080021 android:title="@string/bluetooth_settings" />
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070022
The Android Open Source Projectabc48f82008-12-17 18:06:01 -080023 <CheckBoxPreference
24 android:key="bt_checkbox"
25 android:title="@string/bluetooth"
26 android:summary="@string/bluetooth_quick_toggle_summary" />
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070027
The Android Open Source Projectabc48f82008-12-17 18:06:01 -080028 <com.android.settings.bluetooth.BluetoothNamePreference
29 android:key="bt_name"
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070030 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 Projectabc48f82008-12-17 18:06:01 -080034 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 Projectde2d9f52008-10-21 07:00:00 -070052 android:title="@string/bluetooth_devices"
The Android Open Source Projectabc48f82008-12-17 18:06:01 -080053 android:dependency="bt_checkbox"
54 android:orderingFromXml="false" />
55
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070056</PreferenceScreen>