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_details_banner" 24 android:layout="@layout/bluetooth_details_banner" 25 android:selectable="false" 26 settings:allowDividerBelow="true" 27 settings:searchable="false"/> 28 29 <com.android.settingslib.widget.LayoutPreference 30 android:key="bluetooth_device_header" 31 android:layout="@layout/settings_entity_header" 32 android:selectable="false" 33 settings:allowDividerBelow="true" 34 settings:searchable="false"/> 35 36 <com.android.settingslib.widget.LayoutPreference 37 android:key="general_bluetooth_device_header" 38 android:layout="@layout/general_bt_entity_header" 39 android:selectable="false" 40 settings:allowDividerBelow="true" 41 settings:searchable="false"/> 42 43 <com.android.settingslib.widget.LayoutPreference 44 android:key="advanced_bluetooth_device_header" 45 android:layout="@layout/advanced_bt_entity_header" 46 android:selectable="false" 47 settings:allowDividerBelow="true" 48 settings:searchable="false" 49 settings:controller="com.android.settings.bluetooth.AdvancedBluetoothDetailsHeaderController"/> 50 51 <com.android.settingslib.widget.LayoutPreference 52 android:key="le_audio_bluetooth_device_header" 53 android:layout="@layout/le_audio_bt_entity_header" 54 android:selectable="false" 55 settings:allowDividerBelow="true" 56 settings:searchable="false" 57 settings:controller="com.android.settings.bluetooth.LeAudioBluetoothDetailsHeaderController"/> 58 59 <com.android.settingslib.widget.ButtonPreference 60 android:key="hearing_aid_pair_other_button" 61 android:gravity="center"/> 62 <com.android.settings.applications.SpacePreference 63 android:key="hearing_aid_space_layout" 64 android:layout_height="8dp"/> 65 66 <com.android.settingslib.widget.ActionButtonsPreference 67 android:key="action_buttons" 68 settings:allowDividerBelow="true"/> 69 70 <PreferenceCategory 71 android:key="device_stylus"/> 72 73 <com.android.settings.slices.SlicePreference 74 android:key="bt_extra_control" 75 settings:controller="com.android.settings.slices.SlicePreferenceController" 76 settings:allowDividerAbove="true"/> 77 78 <PreferenceCategory 79 android:key="audio_sharing_control" 80 android:layout="@layout/settingslib_preference_category_no_title"/> 81 82 <PreferenceCategory 83 android:key="bt_device_slice_category" 84 settings:controller="com.android.settings.bluetooth.BlockingPrefWithSliceController"/> 85 86 <PreferenceCategory 87 android:key="device_companion_apps"/> 88 89 <PreferenceCategory 90 android:key="hearing_device_group" /> 91 92 <PreferenceCategory 93 android:key="bluetooth_audio_device_type_group"/> 94 95 <PreferenceCategory 96 android:key="spatial_audio_group"/> 97 98 <PreferenceCategory 99 android:key="bluetooth_profiles"/> 100 101 <PreferenceCategory 102 android:key="bt_extra_options"/> 103 104 <PreferenceCategory 105 android:key="bluetooth_related_tools" 106 android:title="@string/bluetooth_screen_related"> 107 <Preference 108 android:key="live_caption" 109 android:icon="@drawable/ic_live_caption" 110 android:persistent="false" 111 android:summary="@string/live_caption_summary" 112 android:title="@string/live_caption_title" 113 settings:controller="com.android.settings.accessibility.LiveCaptionPreferenceController"/> 114 </PreferenceCategory> 115 116 <PreferenceCategory 117 android:key="data_sync_group"/> 118 119 <Preference 120 android:key="keyboard_settings" 121 android:persistent="false" 122 android:title="@string/bluetooth_device_keyboard_settings_preference_title" 123 settings:controller="com.android.settings.inputmethod.KeyboardSettingsPreferenceController"/> 124 125 <com.android.settingslib.widget.FooterPreference 126 android:key="device_details_footer" 127 android:selectable="false" 128 settings:searchable="false" 129 settings:controller="com.android.settings.bluetooth.BluetoothDetailsMacAddressController"/> 130 131</PreferenceScreen> 132