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