Doris Ling | b2c8c9c | 2016-10-10 16:59:16 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
jackqdyulei | 76ba0f7 | 2017-11-17 14:14:51 -0800 | [diff] [blame] | 2 | <!-- Copyright (C) 2017 The Android Open Source Project |
Doris Ling | b2c8c9c | 2016-10-10 16:59:16 -0700 | [diff] [blame] | 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 | |
Fan Zhang | 762b496 | 2016-11-30 15:56:17 -0800 | [diff] [blame] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
jackqdyulei | b79e0d4 | 2017-11-21 16:54:51 -0800 | [diff] [blame] | 19 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Edgar Wang | 77de405 | 2020-02-14 17:58:38 +0800 | [diff] [blame] | 20 | android:key="connected_devices_screen" |
Fan Zhang | 762b496 | 2016-11-30 15:56:17 -0800 | [diff] [blame] | 21 | android:title="@string/connected_devices_dashboard_title"> |
Doris Ling | b2c8c9c | 2016-10-10 16:59:16 -0700 | [diff] [blame] | 22 | |
jackqdyulei | ca21544 | 2019-02-08 14:09:12 -0800 | [diff] [blame] | 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 | |
jackqdyulei | 75ea67c | 2017-11-16 10:45:43 -0800 | [diff] [blame] | 29 | <PreferenceCategory |
hughchen | bd3e5de | 2018-03-23 16:14:13 +0800 | [diff] [blame] | 30 | android:key="available_device_list" |
hughchen | 946c6f0 | 2019-10-14 15:11:49 +0800 | [diff] [blame] | 31 | android:title="@string/connected_device_media_device_title" |
hughchen | bd3e5de | 2018-03-23 16:14:13 +0800 | [diff] [blame] | 32 | settings:controller="com.android.settings.connecteddevice.AvailableMediaDeviceGroupController"/> |
| 33 | |
| 34 | <PreferenceCategory |
jackqdyulei | 75ea67c | 2017-11-16 10:45:43 -0800 | [diff] [blame] | 35 | android:key="connected_device_list" |
hughchen | 946c6f0 | 2019-10-14 15:11:49 +0800 | [diff] [blame] | 36 | android:title="@string/connected_device_other_device_title" |
hughchen | bd3e5de | 2018-03-23 16:14:13 +0800 | [diff] [blame] | 37 | settings:controller="com.android.settings.connecteddevice.ConnectedDeviceGroupController"/> |
jackqdyulei | aec5543 | 2017-11-21 10:44:21 -0800 | [diff] [blame] | 38 | |
jackqdyulei | eb562c9 | 2018-02-28 15:01:01 -0800 | [diff] [blame] | 39 | <com.android.settingslib.RestrictedPreference |
jackqdyulei | b79e0d4 | 2017-11-21 16:54:51 -0800 | [diff] [blame] | 40 | android:key="add_bt_devices" |
timhypeng | 6f70289 | 2018-05-10 17:57:50 +0800 | [diff] [blame] | 41 | android:title="@string/bluetooth_pairing_pref_title" |
Amin Shaikh | 3f1de20 | 2019-05-01 17:29:02 -0400 | [diff] [blame] | 42 | android:icon="@drawable/ic_add_24dp" |
jackqdyulei | b79e0d4 | 2017-11-21 16:54:51 -0800 | [diff] [blame] | 43 | android:summary="@string/connected_device_add_device_summary" |
hughchen | aa31bd4 | 2018-04-03 16:15:03 +0800 | [diff] [blame] | 44 | android:fragment="com.android.settings.bluetooth.BluetoothPairingDetail" |
jackqdyulei | eb562c9 | 2018-02-28 15:01:01 -0800 | [diff] [blame] | 45 | settings:allowDividerAbove="true" |
Tsung-Mao Fang | 67fd2e9 | 2020-05-04 22:30:03 +0800 | [diff] [blame] | 46 | settings:keywords="@string/keywords_add_bt_device" |
jackqdyulei | eb562c9 | 2018-02-28 15:01:01 -0800 | [diff] [blame] | 47 | settings:userRestriction="no_config_bluetooth" |
Jyun LuoLai | 41e02a9 | 2018-03-27 11:05:56 +0800 | [diff] [blame] | 48 | settings:useAdminDisabledSummary="true" |
| 49 | settings:controller="com.android.settings.connecteddevice.AddDevicePreferenceController"/> |
jackqdyulei | b79e0d4 | 2017-11-21 16:54:51 -0800 | [diff] [blame] | 50 | |
jackqdyulei | b152e6d | 2018-09-24 12:14:27 -0700 | [diff] [blame] | 51 | <PreferenceCategory |
hughchen | aa31bd4 | 2018-04-03 16:15:03 +0800 | [diff] [blame] | 52 | android:key="previously_connected_devices" |
| 53 | android:title="@string/connected_device_previously_connected_title" |
jackqdyulei | b152e6d | 2018-09-24 12:14:27 -0700 | [diff] [blame] | 54 | 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 Wang | 0934bab | 2020-02-06 11:40:42 +0800 | [diff] [blame] | 61 | settings:searchable="false" |
jackqdyulei | b152e6d | 2018-09-24 12:14:27 -0700 | [diff] [blame] | 62 | android:fragment="com.android.settings.connecteddevice.PreviouslyConnectedDeviceDashboardFragment"/> |
| 63 | </PreferenceCategory> |
hughchen | aa31bd4 | 2018-04-03 16:15:03 +0800 | [diff] [blame] | 64 | |
Salvador Martinez | 9eac182 | 2018-04-04 14:23:57 -0700 | [diff] [blame] | 65 | <Preference |
jackqdyulei | b79e0d4 | 2017-11-21 16:54:51 -0800 | [diff] [blame] | 66 | android:key="connection_preferences" |
hughchen | aa31bd4 | 2018-04-03 16:15:03 +0800 | [diff] [blame] | 67 | android:title="@string/connected_device_connections_title" |
Sunny Shao | 6d60248 | 2020-03-29 11:54:51 +0800 | [diff] [blame] | 68 | android:summary="@string/summary_placeholder" |
hughchen | c24a09e | 2018-05-11 20:11:56 +0800 | [diff] [blame] | 69 | android:fragment="com.android.settings.connecteddevice.AdvancedConnectedDeviceDashboardFragment" |
jackqdyulei | b152e6d | 2018-09-24 12:14:27 -0700 | [diff] [blame] | 70 | settings:allowDividerAbove="true" |
hughchen | c24a09e | 2018-05-11 20:11:56 +0800 | [diff] [blame] | 71 | settings:controller="com.android.settings.connecteddevice.AdvancedConnectedDeviceController"/> |
HJ ChangLiao | c338e26 | 2018-04-12 16:29:33 +0800 | [diff] [blame] | 72 | |
tmfang | ec83f48 | 2019-06-24 18:33:26 +0800 | [diff] [blame] | 73 | <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 Blasberg | d33dcf1 | 2017-07-13 06:55:15 -0700 | [diff] [blame] | 80 | </PreferenceScreen> |