activity_import_backup.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android"
 3    xmlns:app="http://schemas.android.com/apk/res-auto">
 4
 5    <LinearLayout
 6        android:layout_width="fill_parent"
 7        android:layout_height="fill_parent"
 8        android:fitsSystemWindows="true"
 9        android:orientation="vertical">
10
11        <com.google.android.material.appbar.AppBarLayout
12            android:layout_width="match_parent"
13            android:fitsSystemWindows="true"
14            android:layout_height="wrap_content">
15
16            <com.google.android.material.appbar.MaterialToolbar
17                android:id="@+id/toolbar"
18                android:layout_width="match_parent"
19                android:layout_height="wrap_content"
20                android:minHeight="?attr/actionBarSize" />
21
22        </com.google.android.material.appbar.AppBarLayout>
23
24        <LinearLayout
25            android:id="@+id/in_progress"
26            android:layout_width="match_parent"
27            android:layout_height="match_parent"
28            android:gravity="center"
29            android:visibility="gone">
30
31            <ProgressBar
32                android:layout_width="wrap_content"
33                android:layout_height="wrap_content"
34                android:layout_gravity="center" />
35        </LinearLayout>
36
37
38        <androidx.coordinatorlayout.widget.CoordinatorLayout
39            android:id="@+id/coordinator"
40            android:layout_width="match_parent"
41            android:layout_height="match_parent">
42
43            <androidx.recyclerview.widget.RecyclerView
44                android:id="@+id/list"
45                android:layout_width="match_parent"
46                android:layout_height="match_parent"
47                android:orientation="vertical"
48                app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
49        </androidx.coordinatorlayout.widget.CoordinatorLayout>
50
51    </LinearLayout>
52</layout>