55 lines
2.0 KiB
XML
55 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="@dimen/fab_margin">
|
|
<!-- RecyclerView for filters -->
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/lv_filters"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:divider="@null"
|
|
android:scrollbars="none" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/no_action"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/no_action_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:padding="10dp"
|
|
android:text="@string/action_filters_empty_content"
|
|
android:textSize="20sp" />
|
|
</RelativeLayout>
|
|
<!-- Main Loader -->
|
|
<RelativeLayout
|
|
android:id="@+id/loader"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:visibility="gone">
|
|
|
|
<ProgressBar
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true" />
|
|
</RelativeLayout>
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/add_filter"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="@dimen/fab_margin"
|
|
android:contentDescription="@string/add_filter"
|
|
android:src="@drawable/ic_baseline_add_24" />
|
|
</RelativeLayout>
|