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

49 lines
1.9 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"
2017-05-06 15:49:39 +02:00
android:layout_width="match_parent"
2020-02-06 13:54:28 +01:00
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
2017-05-06 15:49:39 +02:00
2019-10-29 06:51:46 +01:00
<androidx.viewpager.widget.ViewPager
2017-05-06 15:49:39 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/library_pager"/>
2017-05-06 15:49:39 +02:00
<eu.kanade.tachiyomi.widget.EmptyView
android:id="@+id/empty_view"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_gravity="center"
android:layout_height="wrap_content"/>
2020-02-06 13:54:28 +01:00
<View
android:id="@+id/shadow"
android:layout_width="match_parent"
android:layout_height="16dp"
android:backgroundTint="@color/md_black_1000_54"
android:background="@drawable/shape_gradient_top_shadow"
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"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_anchor="@id/bottom_sheet"
app:layout_anchorGravity="end|top"
android:backgroundTint="?attr/colorAccent"
android:tint="@color/md_white_1000"
app:tint="@color/md_white_1000"
android:layout_margin="24dp"
app:srcCompat="@drawable/ic_file_download_white_24dp"/>
<View
android:id="@+id/shadow2"
android:layout_width="match_parent"
android:layout_height="8dp"
android:alpha="0.25"
android:background="@drawable/shape_gradient_top_shadow"
android:layout_gravity="bottom" />
2020-02-02 04:37:39 +01:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>