forked from stratumauth/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activityCategories.axml
73 lines (64 loc) · 2.75 KB
/
activityCategories.axml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/layoutRoot"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include
android:layout_width="match_parent"
android:layout_height="wrap_content"
layout="@layout/includeAppBar"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:visibility="invisible"
android:scrollbars="vertical"
android:clipToPadding="false"
android:paddingTop="10dp"
android:paddingBottom="80dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<LinearLayout
android:id="@+id/layoutEmptyState"
android:orientation="vertical"
android:gravity="center"
android:visibility="invisible"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/toolbar">
<ImageView
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:src="@drawable/big_ic_category"/>
<com.google.android.material.textview.MaterialTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:paddingEnd="32dp"
android:paddingStart="32dp"
android:textSize="24dp"
android:layout_marginTop="22dp"
android:textAppearance="?attr/textAppearanceHeadline5"
android:text="@string/noCategoriesTitle"/>
<com.google.android.material.textview.MaterialTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:paddingEnd="32dp"
android:paddingStart="32dp"
android:layout_marginTop="12dp"
android:textAppearance="?attr/textAppearanceSubtitle2"
android:text="@string/noCategoriesMessage"/>
</LinearLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/buttonAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
app:srcCompat="@drawable/baseline_add_24"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>