Files
app_Settings/res/xml/connected_devices_advanced.xml
Yiyi Shen 5e8720434b [Audiosharing] UI refinement.
1. Add top summary for Audio sharing page.
2. Move Audio sharing entrance to the second place on Connection
   preferences page.
3. Make Audio sharing page searchable.
4. Add On/Off summary to Audio sharing preference on Connection
   preference page.

Test: atest
Bug: 305620450
Change-Id: I00019e53563afc0a539934fbdfa949c3401e78b9
2024-01-29 19:03:59 +08:00

80 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/connected_device_connections_title">
<Preference
android:fragment="com.android.settings.connecteddevice.BluetoothDashboardFragment"
android:icon="@*android:drawable/ic_settings_bluetooth"
android:key="bluetooth_switchbar_screen"
android:order="-10"
android:title="@string/bluetooth_settings_title" />
<Preference
android:fragment="com.android.settings.connecteddevice.audiosharing.AudioSharingDashboardFragment"
android:icon="@drawable/ic_bt_audio_sharing"
android:key="audio_sharing_settings"
android:order="-9"
android:title="@string/audio_sharing_title"
settings:controller="com.android.settings.connecteddevice.audiosharing.AudioSharingPreferenceController"
settings:searchable="true" />
<com.android.settingslib.RestrictedPreference
android:fragment="com.android.settings.connecteddevice.NfcAndPaymentFragment"
android:icon="@drawable/ic_nfc"
android:key="nfc_and_payment_settings"
android:order="-7"
android:title="@string/nfc_quick_toggle_title"
settings:controller="com.android.settings.connecteddevice.NfcAndPaymentFragmentController"
settings:searchable="false"
settings:useAdminDisabledSummary="true"
settings:userRestriction="no_near_field_communication_radio" />
<Preference
android:fragment="com.android.settings.wfd.WifiDisplaySettings"
android:icon="@drawable/ic_cast_24dp"
android:key="wifi_display_settings"
android:order="-6"
android:title="@string/wifi_display_settings_title"
settings:controller="com.android.settings.wfd.WifiDisplayPreferenceController"
settings:keywords="@string/keywords_wifi_display_settings" />
<com.android.settingslib.RestrictedPreference
android:fragment="com.android.settings.print.PrintSettingsFragment"
android:icon="@*android:drawable/ic_settings_print"
android:key="connected_device_printing"
android:order="-3"
android:summary="@string/summary_placeholder"
android:title="@string/print_settings" />
<com.android.settingslib.RestrictedSwitchPreference
android:key="uwb_settings"
android:order="100"
android:summary="@string/summary_placeholder"
android:title="@string/uwb_settings_title"
settings:controller="com.android.settings.uwb.UwbPreferenceController"
settings:useAdminDisabledSummary="true"
settings:userRestriction="no_ultra_wideband_radio" />
<PreferenceCategory
android:key="dashboard_tile_placeholder"
android:order="-8" />
</PreferenceScreen>