<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2024 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.
  -->

<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:scrollbars="none">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:paddingBottom="?android:dialogPreferredPadding"
        android:paddingHorizontal="?android:dialogPreferredPadding">

        <TextView
            android:id="@+id/description_text"
            style="@style/DeviceAudioSharingText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:paddingBottom="24dp"
            android:visibility="gone" />

        <ImageView
            android:id="@+id/description_image"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:contentDescription="@null"
            android:paddingBottom="24dp"
            android:visibility="gone" />

        <TextView
            android:id="@+id/description_text_2"
            style="@style/DeviceAudioSharingText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:paddingBottom="24dp"
            android:visibility="gone" />

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/device_btn_list"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:nestedScrollingEnabled="false"
            android:overScrollMode="never"
            android:visibility="gone" />

        <Button
            android:id="@+id/positive_btn"
            style="@style/SettingsLibActionButton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="4dp"
            android:textColor="?androidprv:attr/textColorOnAccent"
            android:background="@drawable/audio_sharing_rounded_bg_ripple_top"
            android:visibility="gone"
            android:featureFlag="!com.android.settings.flags.enable_bluetooth_settings_expressive_design_read_only" />

        <Button
            android:id="@+id/negative_btn"
            style="@style/SettingsLibActionButton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="4dp"
            android:textColor="?androidprv:attr/textColorOnAccent"
            android:background="@drawable/audio_sharing_rounded_bg_ripple_bottom"
            android:visibility="gone"
            android:featureFlag="!com.android.settings.flags.enable_bluetooth_settings_expressive_design_read_only" />

        <Button
            android:id="@+id/positive_btn"
            style="@style/Widget.SettingsLib.DialogButton.Filled"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="4dp"
            android:layout_marginEnd="0dp"
            android:visibility="gone"
            android:featureFlag="com.android.settings.flags.enable_bluetooth_settings_expressive_design_read_only" />

        <Button
            android:id="@+id/negative_btn"
            style="@style/Widget.SettingsLib.DialogButton.Outline"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="16dp"
            android:layout_marginEnd="0dp"
            android:visibility="gone"
            android:featureFlag="com.android.settings.flags.enable_bluetooth_settings_expressive_design_read_only" />
    </LinearLayout>
</ScrollView>