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:orientation="vertical">
 9
10        <com.google.android.material.appbar.AppBarLayout
11            android:layout_width="match_parent"
12            android:layout_height="wrap_content">
13
14            <com.google.android.material.appbar.MaterialToolbar
15                android:id="@+id/toolbar"
16                android:layout_width="match_parent"
17                android:layout_height="wrap_content"
18                android:minHeight="?attr/actionBarSize" />
19
20        </com.google.android.material.appbar.AppBarLayout>
21
22        <LinearLayout
23            android:id="@+id/in_progress"
24            android:layout_width="match_parent"
25            android:layout_height="match_parent"
26            android:gravity="center"
27            android:visibility="gone">
28
29            <ProgressBar
30                android:layout_width="wrap_content"
31                android:layout_height="wrap_content"
32                android:layout_gravity="center" />
33        </LinearLayout>
34
35
36        <androidx.coordinatorlayout.widget.CoordinatorLayout
37            android:id="@+id/coordinator"
38            android:layout_width="match_parent"
39            android:layout_height="match_parent">
40
41            <androidx.recyclerview.widget.RecyclerView
42                android:id="@+id/list"
43                android:layout_width="match_parent"
44                android:layout_height="match_parent"
45                android:orientation="vertical"
46                app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
47        </androidx.coordinatorlayout.widget.CoordinatorLayout>
48
49    </LinearLayout>
50</layout>