1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2022 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18              android:id="@+id/dialog_bg"
19              android:layout_width="match_parent"
20              android:layout_height="match_parent"
21              android:orientation="vertical">
22
23    <LinearLayout
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content"
26        android:layout_marginBottom="@dimen/broadcast_dialog_margin"
27        android:orientation="vertical">
28
29        <ImageView
30            android:id="@+id/dialog_icon"
31            android:layout_width="@dimen/broadcast_dialog_icon_size"
32            android:layout_height="@dimen/broadcast_dialog_icon_size"
33            android:layout_marginTop="@dimen/broadcast_dialog_icon_margin_top"
34            android:layout_marginBottom="@dimen/broadcast_dialog_title_img_margin_top"
35            android:layout_gravity="center"
36            android:src="@drawable/settings_input_antenna"/>
37
38        <TextView
39            style="@style/BroadcastDialogTitleStyle"
40            android:id="@+id/dialog_title"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:gravity="center"
44            android:layout_gravity="center"/>
45
46        <TextView
47            style="@style/BroadcastDialogBodyStyle"
48            android:id="@+id/dialog_subtitle"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:gravity="center"
52            android:layout_gravity="center"/>
53    </LinearLayout>
54
55    <LinearLayout
56        android:layout_width="match_parent"
57        android:layout_height="wrap_content"
58        android:layout_marginHorizontal="@dimen/broadcast_dialog_margin"
59        android:layout_marginBottom="@dimen/broadcast_dialog_margin"
60        android:orientation="vertical">
61
62        <Button
63            android:layout_marginBottom="@dimen/broadcast_dialog_btn_margin_bottom"
64            android:id="@+id/switch_broadcast"
65            style="@style/BroadcastDialogButtonStyle"/>
66
67        <Button
68            android:layout_marginBottom="@dimen/broadcast_dialog_btn_margin_bottom"
69            android:id="@+id/change_output"
70            android:text="@string/bt_le_audio_broadcast_dialog_different_output"
71            style="@style/BroadcastDialogButtonStyle"/>
72
73        <Button
74            android:id="@+id/cancel"
75            android:text="@android:string/cancel"
76            style="@style/BroadcastDialogButtonStyle"/>
77    </LinearLayout>
78
79</LinearLayout>
80