OSDN Git Service

Merge "OMS: rebase settings when overlays update" into pi-dev
[android-x86/packages-apps-Settings.git] / res / xml / connected_devices.xml
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     <PreferenceCategory
24         android:key="available_device_list"
25         android:title="@string/connected_device_available_media_title"
26         settings:controller="com.android.settings.connecteddevice.AvailableMediaDeviceGroupController"/>
27
28     <PreferenceCategory
29         android:key="connected_device_list"
30         android:title="@string/connected_device_connected_title"
31         settings:controller="com.android.settings.connecteddevice.ConnectedDeviceGroupController"/>
32
33     <com.android.settingslib.RestrictedPreference
34         android:key="add_bt_devices"
35         android:title="@string/connected_device_add_device_title"
36         android:icon="@drawable/ic_menu_add"
37         android:summary="@string/connected_device_add_device_summary"
38         android:fragment="com.android.settings.bluetooth.BluetoothPairingDetail"
39         settings:allowDividerAbove="true"
40         settings:userRestriction="no_config_bluetooth"
41         settings:useAdminDisabledSummary="true"
42         settings:controller="com.android.settings.connecteddevice.AddDevicePreferenceController"/>
43
44     <Preference
45         android:key="previously_connected_devices"
46         android:title="@string/connected_device_previously_connected_title"
47         android:icon="@drawable/ic_devices_other_black"
48         android:fragment="com.android.settings.connecteddevice.PreviouslyConnectedDeviceDashboardFragment"
49         settings:allowDividerAbove="true"/>
50
51     <Preference
52         android:fragment="com.android.settings.connecteddevice.BluetoothDashboardFragment"
53         android:key="bluetooth_settings"
54         android:title="@string/bluetooth_settings_title"
55         android:icon="@drawable/ic_settings_bluetooth"/>
56
57     <PreferenceCategory
58         android:key="dashboard_tile_placeholder" />
59
60     <SwitchPreference
61         android:key="toggle_nfc"
62         android:title="@string/nfc_quick_toggle_title"
63         android:icon="@drawable/ic_nfc"
64         android:summary="@string/nfc_quick_toggle_summary"/>
65
66     <Preference
67         android:key="connection_preferences"
68         android:title="@string/connected_device_connections_title"
69         android:fragment="com.android.settings.connecteddevice.AdvancedConnectedDeviceDashboardFragment"/>
70
71 </PreferenceScreen>