blob: e7e3c2ccfbe3f7a622ed18a23b8ca9aba403cd7c [file] [log] [blame]
Doris Lingb2c8c9c2016-10-10 16:59:16 -07001<?xml version="1.0" encoding="utf-8"?>
jackqdyulei76ba0f72017-11-17 14:14:51 -08002<!-- Copyright (C) 2017 The Android Open Source Project
Doris Lingb2c8c9c2016-10-10 16:59:16 -07003
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
Fan Zhang762b4962016-11-30 15:56:17 -080017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
jackqdyuleib79e0d42017-11-21 16:54:51 -080019 xmlns:settings="http://schemas.android.com/apk/res-auto"
Edgar Wang77de4052020-02-14 17:58:38 +080020 android:key="connected_devices_screen"
Fan Zhang762b4962016-11-30 15:56:17 -080021 android:title="@string/connected_devices_dashboard_title">
Doris Lingb2c8c9c2016-10-10 16:59:16 -070022
jackqdyuleica215442019-02-08 14:09:12 -080023 <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
jackqdyulei75ea67c2017-11-16 10:45:43 -080029 <PreferenceCategory
hughchenbd3e5de2018-03-23 16:14:13 +080030 android:key="available_device_list"
hughchen946c6f02019-10-14 15:11:49 +080031 android:title="@string/connected_device_media_device_title"
hughchenbd3e5de2018-03-23 16:14:13 +080032 settings:controller="com.android.settings.connecteddevice.AvailableMediaDeviceGroupController"/>
33
34 <PreferenceCategory
jackqdyulei75ea67c2017-11-16 10:45:43 -080035 android:key="connected_device_list"
hughchen946c6f02019-10-14 15:11:49 +080036 android:title="@string/connected_device_other_device_title"
hughchenbd3e5de2018-03-23 16:14:13 +080037 settings:controller="com.android.settings.connecteddevice.ConnectedDeviceGroupController"/>
jackqdyuleiaec55432017-11-21 10:44:21 -080038
jackqdyuleieb562c92018-02-28 15:01:01 -080039 <com.android.settingslib.RestrictedPreference
jackqdyuleib79e0d42017-11-21 16:54:51 -080040 android:key="add_bt_devices"
timhypeng6f702892018-05-10 17:57:50 +080041 android:title="@string/bluetooth_pairing_pref_title"
Amin Shaikh3f1de202019-05-01 17:29:02 -040042 android:icon="@drawable/ic_add_24dp"
jackqdyuleib79e0d42017-11-21 16:54:51 -080043 android:summary="@string/connected_device_add_device_summary"
hughchenaa31bd42018-04-03 16:15:03 +080044 android:fragment="com.android.settings.bluetooth.BluetoothPairingDetail"
jackqdyuleieb562c92018-02-28 15:01:01 -080045 settings:allowDividerAbove="true"
Tsung-Mao Fang67fd2e92020-05-04 22:30:03 +080046 settings:keywords="@string/keywords_add_bt_device"
jackqdyuleieb562c92018-02-28 15:01:01 -080047 settings:userRestriction="no_config_bluetooth"
Jyun LuoLai41e02a92018-03-27 11:05:56 +080048 settings:useAdminDisabledSummary="true"
49 settings:controller="com.android.settings.connecteddevice.AddDevicePreferenceController"/>
jackqdyuleib79e0d42017-11-21 16:54:51 -080050
jackqdyuleib152e6d2018-09-24 12:14:27 -070051 <PreferenceCategory
hughchenaa31bd42018-04-03 16:15:03 +080052 android:key="previously_connected_devices"
53 android:title="@string/connected_device_previously_connected_title"
jackqdyuleib152e6d2018-09-24 12:14:27 -070054 settings:controller="com.android.settings.connecteddevice.PreviouslyConnectedDevicePreferenceController">
55
56 <Preference
57 android:key="previously_connected_devices_see_all"
58 android:title="@string/previous_connected_see_all"
59 android:icon="@drawable/ic_chevron_right_24dp"
60 android:order="10"
Edgar Wang0934bab2020-02-06 11:40:42 +080061 settings:searchable="false"
jackqdyuleib152e6d2018-09-24 12:14:27 -070062 android:fragment="com.android.settings.connecteddevice.PreviouslyConnectedDeviceDashboardFragment"/>
63 </PreferenceCategory>
hughchenaa31bd42018-04-03 16:15:03 +080064
Salvador Martinez9eac1822018-04-04 14:23:57 -070065 <Preference
jackqdyuleib79e0d42017-11-21 16:54:51 -080066 android:key="connection_preferences"
hughchenaa31bd42018-04-03 16:15:03 +080067 android:title="@string/connected_device_connections_title"
Sunny Shao6d602482020-03-29 11:54:51 +080068 android:summary="@string/summary_placeholder"
hughchenc24a09e2018-05-11 20:11:56 +080069 android:fragment="com.android.settings.connecteddevice.AdvancedConnectedDeviceDashboardFragment"
jackqdyuleib152e6d2018-09-24 12:14:27 -070070 settings:allowDividerAbove="true"
hughchenc24a09e2018-05-11 20:11:56 +080071 settings:controller="com.android.settings.connecteddevice.AdvancedConnectedDeviceController"/>
HJ ChangLiaoc338e262018-04-12 16:29:33 +080072
tmfangec83f482019-06-24 18:33:26 +080073 <com.android.settingslib.widget.FooterPreference
74 android:key="discoverable_footer"
75 android:title="@string/bluetooth_off_footer"
76 android:selectable="false"
77 settings:controller="com.android.settings.connecteddevice.DiscoverableFooterPreferenceController">
78 </com.android.settingslib.widget.FooterPreference>
79
Oren Blasbergd33dcf12017-07-13 06:55:15 -070080</PreferenceScreen>