Home | History | Annotate | Download | only in 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
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:title="@string/bluetooth_settings" >
     20 
     21     <CheckBoxPreference
     22         android:key="bt_checkbox"
     23         android:title="@string/bluetooth"
     24         android:summary="@string/bluetooth_quick_toggle_summary" />
     25 
     26     <com.android.settings.bluetooth.BluetoothNamePreference
     27         android:key="bt_name"
     28         android:title="@string/bluetooth_device_name"
     29         android:summary="@string/bluetooth_name_not_set"
     30         android:dialogTitle="@string/bluetooth_device_name"
     31         android:dependency="bt_checkbox"
     32         android:persistent="false"
     33         android:singleLine="true" />
     34 
     35     <CheckBoxPreference
     36         android:key="bt_discoverable"
     37         android:title="@string/bluetooth_visibility"
     38         android:dependency="bt_checkbox"
     39         android:summaryOn="@string/bluetooth_is_discoverable"
     40         android:summaryOff="@string/bluetooth_not_discoverable"
     41         android:persistent="false" />
     42 
     43     <Preference
     44         android:key="bt_scan"
     45         android:dependency="bt_checkbox"
     46         android:title="@string/bluetooth_preference_scan_title" />
     47 
     48     <com.android.settings.ProgressCategory
     49         android:key="bt_device_list"
     50         android:title="@string/bluetooth_devices"
     51         android:dependency="bt_checkbox"
     52         android:orderingFromXml="false" />
     53 
     54 </PreferenceScreen>
     55