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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 21 <LinearLayout 22 android:id="@+id/dialog_bg" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:orientation="vertical"> 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:layout_marginBottom="@dimen/broadcast_dialog_margin" 31 android:orientation="vertical"> 32 33 <ImageView 34 android:id="@+id/dialog_icon" 35 android:layout_width="@dimen/broadcast_dialog_icon_size" 36 android:layout_height="@dimen/broadcast_dialog_icon_size" 37 android:layout_marginTop="@dimen/broadcast_dialog_icon_margin_top" 38 android:layout_marginBottom="@dimen/broadcast_dialog_title_img_margin_top" 39 android:layout_gravity="center" 40 android:src="@drawable/settings_input_antenna"/> 41 42 <TextView 43 style="@style/BroadcastDialogTitleStyle" 44 android:id="@+id/dialog_title" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:gravity="center" 48 android:layout_gravity="center"/> 49 50 <TextView 51 style="@style/BroadcastDialogBodyStyle" 52 android:id="@+id/dialog_subtitle" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:gravity="center" 56 android:layout_gravity="center"/> 57 </LinearLayout> 58 59 <LinearLayout 60 android:layout_width="match_parent" 61 android:layout_height="wrap_content" 62 android:layout_marginHorizontal="@dimen/broadcast_dialog_margin" 63 android:layout_marginBottom="@dimen/broadcast_dialog_margin" 64 android:orientation="vertical"> 65 66 <Button 67 android:layout_marginBottom="@dimen/broadcast_dialog_btn_margin_bottom" 68 android:id="@+id/positive_btn" 69 style="@style/BroadcastDialogButtonStyle"/> 70 71 <Button 72 android:layout_marginBottom="@dimen/broadcast_dialog_btn_margin_bottom" 73 android:id="@+id/negative_btn" 74 android:text="@string/bt_le_audio_broadcast_dialog_different_output" 75 style="@style/BroadcastDialogButtonStyle"/> 76 77 <Button 78 android:id="@+id/neutral_btn" 79 android:text="@android:string/cancel" 80 style="@style/BroadcastDialogButtonStyle"/> 81 </LinearLayout> 82 83 </LinearLayout> 84</FrameLayout> 85