2017-05-06 15:49:39 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-02-02 04:37:39 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-02-07 12:27:57 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-05-06 15:49:39 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:layout_height="match_parent">
|
2017-05-06 15:49:39 +02:00
|
|
|
|
2020-02-07 12:27:57 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:id="@+id/pager_layout"
|
2017-05-06 15:49:39 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
|
|
android:id="@+id/library_pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2017-05-06 15:49:39 +02:00
|
|
|
|
|
|
|
<eu.kanade.tachiyomi.widget.EmptyView
|
|
|
|
android:id="@+id/empty_view"
|
|
|
|
android:layout_width="wrap_content"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:layout_height="wrap_content"
|
2017-05-06 15:49:39 +02:00
|
|
|
android:layout_gravity="center"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:visibility="gone" />
|
2020-02-06 13:54:28 +01:00
|
|
|
|
2020-02-06 14:52:00 +01:00
|
|
|
<View
|
|
|
|
android:id="@+id/shadow"
|
|
|
|
android:layout_width="match_parent"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:layout_height="20dp"
|
2020-02-06 14:52:00 +01:00
|
|
|
android:background="@drawable/shape_gradient_top_shadow"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:backgroundTint="@color/md_black_1000_54"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
app:layout_anchorGravity="top"
|
2020-02-06 14:52:00 +01:00
|
|
|
app:layout_anchor="@id/bottom_sheet" />
|
2020-02-06 13:54:28 +01:00
|
|
|
<!-- Adding bottom sheet after main content -->
|
|
|
|
<include layout="@layout/filter_bottom_sheet" />
|
2020-02-06 14:52:00 +01:00
|
|
|
|
2020-02-06 15:53:35 +01:00
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fab"
|
2020-02-07 12:27:57 +01:00
|
|
|
style="@style/Theme.Widget.FABFixed"
|
|
|
|
android:layout_gravity="center"
|
2020-02-07 06:04:43 +01:00
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:scaleX="0"
|
|
|
|
android:scaleY="0"
|
2020-02-06 15:53:35 +01:00
|
|
|
app:layout_anchor="@id/bottom_sheet"
|
|
|
|
app:layout_anchorGravity="end|top"
|
2020-02-07 12:27:57 +01:00
|
|
|
app:srcCompat="@drawable/ic_file_download_white_24dp" />
|
2020-02-06 15:53:35 +01:00
|
|
|
|
2020-02-06 14:52:00 +01:00
|
|
|
<View
|
|
|
|
android:id="@+id/shadow2"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="8dp"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:layout_gravity="bottom"
|
2020-02-06 14:52:00 +01:00
|
|
|
android:alpha="0.25"
|
2020-02-07 12:27:57 +01:00
|
|
|
android:background="@drawable/shape_gradient_top_shadow" />
|
2020-02-02 04:37:39 +01:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|