1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2017 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 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:title="@string/device_details_title"> 21 22 <com.android.settingslib.widget.LayoutPreference 23 android:key="bluetooth_device_header" 24 android:layout="@layout/settings_entity_header" 25 android:selectable="false" 26 settings:allowDividerBelow="true" 27 settings:searchable="false"/> 28 29 <com.android.settingslib.widget.LayoutPreference 30 android:key="advanced_bluetooth_device_header" 31 android:layout="@layout/advanced_bt_entity_header" 32 android:selectable="false" 33 settings:allowDividerBelow="true" 34 settings:searchable="false" 35 settings:controller="com.android.settings.bluetooth.AdvancedBluetoothDetailsHeaderController"/> 36 37 <com.android.settingslib.widget.LayoutPreference 38 android:key="le_audio_bluetooth_device_header" 39 android:layout="@layout/le_audio_bt_entity_header" 40 android:selectable="false" 41 settings:allowDividerBelow="true" 42 settings:searchable="false" 43 settings:controller="com.android.settings.bluetooth.LeAudioBluetoothDetailsHeaderController"/> 44 45 <com.android.settingslib.widget.ButtonPreference 46 android:key="hearing_aid_pair_other_button" 47 android:gravity="center" /> 48 <com.android.settings.applications.SpacePreference 49 android:key="hearing_aid_space_layout" 50 android:layout_height="8dp" /> 51 52 <com.android.settingslib.widget.ActionButtonsPreference 53 android:key="action_buttons" 54 settings:allowDividerBelow="true"/> 55 56 <com.android.settings.slices.SlicePreference 57 android:key="bt_extra_control" 58 settings:controller="com.android.settings.slices.SlicePreferenceController" 59 settings:allowDividerAbove="true"/> 60 61 <com.android.settings.slices.SlicePreference 62 android:key="bt_device_slice" 63 settings:controller="com.android.settings.slices.BlockingSlicePrefController" 64 settings:allowDividerBelow="true" 65 settings:allowDividerAbove="true"/> 66 67 <PreferenceCategory 68 android:key="device_companion_apps"/> 69 70 <PreferenceCategory 71 android:key="spatial_audio_group"/> 72 73 <PreferenceCategory 74 android:key="bluetooth_profiles"/> 75 76 <PreferenceCategory 77 android:key="bluetooth_related_tools" 78 android:title="@string/bluetooth_screen_related"> 79 <Preference 80 android:key="live_caption" 81 android:icon="@drawable/ic_live_caption" 82 android:persistent="false" 83 android:summary="@string/live_caption_summary" 84 android:title="@string/live_caption_title" 85 settings:controller="com.android.settings.accessibility.LiveCaptionPreferenceController"/> 86 </PreferenceCategory> 87 88 <com.android.settingslib.widget.FooterPreference 89 android:key="device_details_footer" 90 android:selectable="false" 91 settings:searchable="false" 92 settings:controller="com.android.settings.bluetooth.BluetoothDetailsMacAddressController"/> 93 94</PreferenceScreen>