• 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<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        <TextView
51            android:id="@+id/description_text_2"
52            style="@style/DeviceAudioSharingText"
53            android:layout_width="match_parent"
54            android:layout_height="wrap_content"
55            android:layout_gravity="center"
56            android:paddingBottom="24dp"
57            android:visibility="gone" />
58
59        <androidx.recyclerview.widget.RecyclerView
60            android:id="@+id/device_btn_list"
61            android:layout_width="match_parent"
62            android:layout_height="wrap_content"
63            android:layout_gravity="center"
64            android:nestedScrollingEnabled="false"
65            android:overScrollMode="never"
66            android:visibility="gone" />
67
68        <Button
69            android:id="@+id/positive_btn"
70            style="@style/SettingsLibActionButton"
71            android:layout_width="match_parent"
72            android:layout_height="wrap_content"
73            android:layout_gravity="center"
74            android:layout_marginTop="4dp"
75            android:textColor="?androidprv:attr/textColorOnAccent"
76            android:background="@drawable/audio_sharing_rounded_bg_ripple_top"
77            android:visibility="gone" />
78
79        <Button
80            android:id="@+id/negative_btn"
81            style="@style/SettingsLibActionButton"
82            android:layout_width="match_parent"
83            android:layout_height="wrap_content"
84            android:layout_gravity="center"
85            android:layout_marginTop="4dp"
86            android:textColor="?androidprv:attr/textColorOnAccent"
87            android:background="@drawable/audio_sharing_rounded_bg_ripple_bottom"
88            android:visibility="gone" />
89    </LinearLayout>
90</ScrollView>