• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:key="connected_devices_screen"
21    android:title="@string/connected_devices_dashboard_title">
22
23    <com.android.settings.slices.SlicePreference
24        android:key="bt_nearby_slice"
25        android:title="@string/summary_placeholder"
26        settings:controller="com.android.settings.slices.SlicePreferenceController"
27        settings:allowDividerBelow="true"/>
28
29    <PreferenceCategory
30        android:key="available_device_list"
31        android:title="@string/connected_device_media_device_title"
32        settings:controller="com.android.settings.connecteddevice.AvailableMediaDeviceGroupController"/>
33
34    <PreferenceCategory
35        android:key="connected_device_list"
36        android:title="@string/connected_device_other_device_title"
37        settings:controller="com.android.settings.connecteddevice.ConnectedDeviceGroupController"/>
38
39    <com.android.settingslib.RestrictedPreference
40        android:key="add_bt_devices"
41        android:title="@string/bluetooth_pairing_pref_title"
42        android:icon="@drawable/ic_add_24dp"
43        android:summary="@string/connected_device_add_device_summary"
44        android:fragment="com.android.settings.bluetooth.BluetoothPairingDetail"
45        settings:keywords="@string/keywords_add_bt_device"
46        settings:userRestriction="no_config_bluetooth"
47        settings:useAdminDisabledSummary="true"
48        settings:controller="com.android.settings.connecteddevice.AddDevicePreferenceController"/>
49
50    <PreferenceCategory
51        android:key="previously_connected_devices"
52        android:title="@string/connected_device_previously_connected_title"
53        settings:controller="com.android.settings.connecteddevice.PreviouslyConnectedDevicePreferenceController">
54
55        <Preference
56            android:key="previously_connected_devices_see_all"
57            android:title="@string/previous_connected_see_all"
58            android:icon="@drawable/ic_chevron_right_24dp"
59            android:order="10"
60            settings:searchable="false"
61            android:fragment="com.android.settings.connecteddevice.PreviouslyConnectedDeviceDashboardFragment"/>
62    </PreferenceCategory>
63
64    <Preference
65        android:key="connection_preferences"
66        android:title="@string/connected_device_connections_title"
67        android:summary="@string/summary_placeholder"
68        android:fragment="com.android.settings.connecteddevice.AdvancedConnectedDeviceDashboardFragment"
69        settings:allowDividerAbove="true"
70        settings:controller="com.android.settings.connecteddevice.AdvancedConnectedDeviceController"/>
71
72    <com.android.settingslib.widget.FooterPreference
73        android:key="discoverable_footer"
74        android:title="@string/bluetooth_off_footer"
75        android:selectable="false"
76        settings:controller="com.android.settings.connecteddevice.DiscoverableFooterPreferenceController">
77    </com.android.settingslib.widget.FooterPreference>
78
79</PreferenceScreen>
80