1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2024 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
18<ScrollView
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content"
23    android:scrollbars="none">
24
25    <LinearLayout
26        android:layout_width="match_parent"
27        android:layout_height="wrap_content"
28        android:orientation="vertical"
29        android:paddingBottom="?android:dialogPreferredPadding"
30        android:paddingHorizontal="?android:dialogPreferredPadding">
31
32        <TextView
33            android:id="@+id/description_text"
34            style="@style/DeviceAudioSharingText"
35            android:layout_width="match_parent"
36            android:layout_height="wrap_content"
37            android:layout_gravity="center"
38            android:paddingBottom="24dp"
39            android:visibility="gone" />
40
41        <ImageView
42            android:id="@+id/description_image"
43            android:layout_width="wrap_content"
44            android:layout_height="wrap_content"
45            android:layout_gravity="center"
46            android:contentDescription="@null"
47            android:paddingBottom="24dp"
48            android:visibility="gone" />
49
50        <androidx.recyclerview.widget.RecyclerView
51            android:id="@+id/device_btn_list"
52            android:layout_width="match_parent"
53            android:layout_height="wrap_content"
54            android:layout_gravity="center"
55            android:nestedScrollingEnabled="false"
56            android:overScrollMode="never"
57            android:visibility="gone" />
58
59        <Button
60            android:id="@+id/positive_btn"
61            style="@style/SettingsLibActionButton"
62            android:layout_width="match_parent"
63            android:layout_height="wrap_content"
64            android:layout_gravity="center"
65            android:layout_marginTop="4dp"
66            android:textColor="?androidprv:attr/textColorOnAccent"
67            android:background="@drawable/audio_sharing_rounded_bg_ripple_top"
68            android:visibility="gone" />
69
70        <Button
71            android:id="@+id/negative_btn"
72            style="@style/SettingsLibActionButton"
73            android:layout_width="match_parent"
74            android:layout_height="wrap_content"
75            android:layout_gravity="center"
76            android:layout_marginTop="4dp"
77            android:textColor="?androidprv:attr/textColorOnAccent"
78            android:background="@drawable/audio_sharing_rounded_bg_ripple_bottom"
79            android:visibility="gone" />
80    </LinearLayout>
81</ScrollView>