1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4* Copyright 2022, The Android Open Source Project
5*
6* Licensed under the Apache License, Version 2.0 (the "License");
7* you may not use this file except in compliance with the License.
8* You may obtain a copy of the License at
9*
10*     http://www.apache.org/licenses/LICENSE-2.0
11*
12* Unless required by applicable law or agreed to in writing, software
13* distributed under the License is distributed on an "AS IS" BASIS,
14* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15* See the License for the specific language governing permissions and
16* limitations under the License.
17*/
18-->
19<androidx.coordinatorlayout.widget.CoordinatorLayout
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    xmlns:app="http://schemas.android.com/apk/res-auto"
22    android:layout_width="match_parent"
23    android:layout_height="match_parent"
24    android:fitsSystemWindows="true">
25
26        <View
27            android:id="@+id/touch_outside"
28            android:layout_width="match_parent"
29            android:layout_height="match_parent"/>
30
31        <LinearLayout
32            android:id="@+id/bottom_sheet"
33            android:layout_width="match_parent"
34            android:layout_height="match_parent"
35            android:orientation="vertical"
36            android:background="@drawable/nfc_background_outline"
37            app:behavior_peekHeight="378dp"
38            app:behavior_hideable="true"
39            app:layout_behavior=
40                "com.android.nfc.x.com.google.android.material.bottomsheet.BottomSheetBehavior">
41
42        <ImageView
43            android:id="@+id/screenshot"
44            android:layout_width="match_parent"
45            android:layout_height="32dp"
46            android:layout_marginBottom="16dp"
47            android:layout_marginTop="24dp"
48            android:maxWidth="32dp"
49            android:maxHeight="32dp"
50            android:scaleType="fitCenter"
51            android:src="@drawable/nfc_icon"/>
52
53        <TextView
54            android:id="@+id/appchooser_text"
55            android:layout_width="match_parent"
56            android:layout_height="wrap_content"
57            android:layout_marginBottom="32dp"
58            android:textAlignment="center"
59            android:text="@string/appchooser_description"
60            android:textAppearance="?android:attr/textAppearanceLarge"
61            android:textColor="?android:attr/textColorPrimary"/>
62
63        <ListView
64            android:id="@+id/resolver_list"
65            android:layout_gravity="center"
66            android:layout_width="match_parent"
67            android:layout_height="match_parent"
68            android:clickable="true"/>
69        </LinearLayout>
70</androidx.coordinatorlayout.widget.CoordinatorLayout>
71