📄
src/Resources/layout/activity_note_list.xml
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
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/note_list_root" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <com.google.android.material.appbar.MaterialToolbar android:id="@+id/note_list_toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:title="@string/app_name" /> <FrameLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" > <androidx.recyclerview.widget.RecyclerView android:id="@+id/note_recycler_view" android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="false" android:paddingBottom="88dp" /> <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/new_note_fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="16dp" android:contentDescription="@string/new_note_content_description" app:srcCompat="@drawable/ic_add_24" /> </FrameLayout> <com.google.android.material.progressindicator.LinearProgressIndicator android:id="@+id/note_refresh_progress" android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="invisible" android:indeterminate="true" /> </LinearLayout>