tachiyomi/app/src/main/res/layout/library_controller.xml

63 lines
2.4 KiB
XML
Raw Normal View History

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"
xmlns:app="http://schemas.android.com/apk/res-auto"
2017-05-06 15:49:39 +02:00
android:layout_width="match_parent"
android:id="@+id/library_layout"
android:layout_height="match_parent">
2017-05-06 15:49:39 +02:00
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/pager_layout"
2017-05-06 15:49:39 +02:00
android:layout_width="match_parent"
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
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/snackbar_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
2017-05-06 15:49:39 +02:00
<eu.kanade.tachiyomi.widget.EmptyView
android:id="@+id/empty_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-05-06 15:49:39 +02:00
android:layout_gravity="center"
android:visibility="gone" />
2020-02-06 13:54:28 +01:00
<View
android:id="@+id/shadow"
android:layout_width="match_parent"
android:layout_height="20dp"
android:background="@drawable/shape_gradient_top_shadow"
android:backgroundTint="@color/md_black_1000_54"
android:paddingBottom="10dp"
app:layout_anchorGravity="top"
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 15:53:35 +01:00
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
style="@style/Theme.Widget.FABFixed"
android:layout_gravity="center"
android:clickable="false"
android:focusable="false"
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"
app:srcCompat="@drawable/ic_file_download_white_24dp" />
2020-02-06 15:53:35 +01:00
<View
android:id="@+id/shadow2"
android:layout_width="match_parent"
android:layout_height="8dp"
android:layout_gravity="bottom"
android:alpha="0.25"
android:background="@drawable/shape_gradient_top_shadow" />
2020-02-02 04:37:39 +01:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>