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:layout_width="match_parent"
19    android:layout_height="wrap_content"
20    android:gravity="center"
21    android:orientation="vertical"
22    android:background="?android:attr/colorBackground"
23    >
24
25    <FrameLayout
26        android:id="@+id/media_projection_recent_tasks_container"
27        android:layout_width="match_parent"
28        android:layout_height="wrap_content">
29
30        <androidx.recyclerview.widget.RecyclerView
31            android:id="@+id/media_projection_recent_tasks_recycler"
32            android:layout_width="match_parent"
33            android:layout_height="match_parent"
34            android:visibility="gone"
35            />
36
37        <ProgressBar
38            android:id="@+id/media_projection_recent_tasks_loader"
39            android:layout_width="@dimen/media_projection_app_selector_loader_size"
40            android:layout_height="@dimen/media_projection_app_selector_loader_size"
41            android:layout_gravity="center"
42            android:indeterminate="true"
43            android:indeterminateOnly="true" />
44    </FrameLayout>
45
46    <!-- Divider line -->
47    <ImageView
48        android:layout_width="72dp"
49        android:layout_height="2dp"
50        android:layout_marginBottom="8dp"
51        android:layout_marginTop="24dp"
52        android:importantForAccessibility="no"
53        android:src="@*android:drawable/ic_drag_handle"
54        android:tint="?android:attr/textColorSecondary" />
55</LinearLayout>
56