mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-15 21:35:10 +01:00
580b2a5778
Saving and restoring from config changes now keeps the library position and manga in place, using a static value for when the tachi is closed via the back button Added blocking method in library presenter so we can stay on the splash screen while the library loads
63 lines
2.4 KiB
XML
63 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:id="@+id/library_layout"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/pager_layout"
|
|
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>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/snackbar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
<eu.kanade.tachiyomi.widget.EmptyView
|
|
android:id="@+id/empty_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone" />
|
|
|
|
<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" />
|
|
<!-- Adding bottom sheet after main content -->
|
|
<include layout="@layout/filter_bottom_sheet"/>
|
|
|
|
<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"
|
|
app:layout_anchor="@id/bottom_sheet"
|
|
app:layout_anchorGravity="end|top"
|
|
app:srcCompat="@drawable/ic_file_download_white_24dp" />
|
|
|
|
<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" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|