• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<LinearLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content"
22    android:orientation="vertical"
23    android:paddingHorizontal="?android:dialogPreferredPadding"
24    android:paddingBottom="?android:dialogPreferredPadding">
25
26    <TextView
27        android:id="@+id/description_text"
28        style="@style/DeviceAudioSharingText"
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:layout_gravity="center"
32        android:paddingBottom="24dp"
33        android:visibility="gone" />
34
35    <ImageView
36        android:id="@+id/description_image"
37        android:layout_width="wrap_content"
38        android:layout_height="wrap_content"
39        android:layout_gravity="center"
40        android:contentDescription="@null"
41        android:visibility="gone" />
42
43    <androidx.recyclerview.widget.RecyclerView
44        android:id="@+id/device_btn_list"
45        android:layout_width="match_parent"
46        android:layout_height="wrap_content"
47        android:layout_gravity="center"
48        android:nestedScrollingEnabled="false"
49        android:overScrollMode="never"
50        android:visibility="gone" />
51
52    <Button
53        android:id="@+id/positive_btn"
54        style="@style/SettingsLibActionButton"
55        android:layout_width="match_parent"
56        android:layout_height="wrap_content"
57        android:layout_gravity="center"
58        android:layout_marginTop="4dp"
59        android:background="@drawable/audio_sharing_rounded_bg_ripple"
60        android:visibility="gone" />
61
62    <Button
63        android:id="@+id/negative_btn"
64        style="@style/SettingsLibActionButton"
65        android:layout_width="match_parent"
66        android:layout_height="wrap_content"
67        android:layout_gravity="center"
68        android:layout_marginTop="4dp"
69        android:background="@drawable/audio_sharing_rounded_bg_ripple"
70        android:visibility="gone" />
71</LinearLayout>