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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent">
22
23    <LinearLayout
24        android:id="@+id/dialog_bg"
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"
27        android:paddingStart="25dp"
28        android:paddingEnd="25dp"
29        android:orientation="vertical">
30
31        <LinearLayout
32            android:layout_width="match_parent"
33            android:layout_height="wrap_content"
34            android:layout_marginBottom="25dp"
35            android:orientation="vertical">
36
37            <ImageView
38                android:id="@+id/dialog_icon"
39                android:layout_width="30dp"
40                android:layout_height="30dp"
41                android:layout_marginTop="24dp"
42                android:layout_gravity="center"
43                android:src="@drawable/ic_bt_le_audio_sharing"/>
44
45            <TextView
46                android:id="@+id/dialog_title"
47                android:textAppearance="@android:style/TextAppearance.DeviceDefault.Headline"
48                android:layout_width="wrap_content"
49                android:layout_height="wrap_content"
50                android:layout_marginTop="15dp"
51                android:gravity="center"
52                android:layout_gravity="center"/>
53
54            <TextView
55                android:id="@+id/dialog_subtitle"
56                android:textAppearance="@android:style/TextAppearance.DeviceDefault.Small"
57                android:textStyle="bold"
58                android:layout_width="wrap_content"
59                android:layout_height="wrap_content"
60                android:layout_marginTop="15dp"
61                android:gravity="center"
62                android:layout_gravity="center"
63                android:visibility="gone"/>
64
65            <TextView
66                android:id="@+id/dialog_subtitle_2"
67                android:textAppearance="@android:style/TextAppearance.DeviceDefault.Small"
68                android:layout_width="wrap_content"
69                android:layout_height="wrap_content"
70                android:layout_marginTop="15dp"
71                android:gravity="center"
72                android:layout_gravity="center"
73                android:visibility="gone"/>
74        </LinearLayout>
75
76        <androidx.constraintlayout.widget.ConstraintLayout
77            android:layout_width="match_parent"
78            android:layout_height="wrap_content"
79            android:layout_marginBottom="@dimen/broadcast_dialog_margin">
80            <Button
81                android:id="@+id/left_button"
82                android:layout_width="wrap_content"
83                android:layout_height="wrap_content"
84                android:visibility="gone"
85                app:layout_constraintBottom_toBottomOf="parent"
86                app:layout_constraintStart_toStartOf="parent"
87                app:layout_constraintTop_toTopOf="parent"
88                style="@style/BroadcastActionButton"/>
89            <Button
90                android:id="@+id/right_button"
91                android:layout_width="wrap_content"
92                android:layout_height="wrap_content"
93                android:visibility="gone"
94                app:layout_constraintBottom_toBottomOf="parent"
95                app:layout_constraintEnd_toEndOf="parent"
96                app:layout_constraintTop_toTopOf="parent"
97                style="@style/BroadcastActionButton"/>
98        </androidx.constraintlayout.widget.ConstraintLayout>
99
100    </LinearLayout>
101</FrameLayout>