2020-02-20 06:29:45 +01:00
|
|
|
<?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"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/library_layout"
|
2020-04-04 19:47:32 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-02-20 06:29:45 +01:00
|
|
|
android:layout_height="match_parent">
|
2020-04-04 19:47:32 +02:00
|
|
|
|
2020-04-11 20:26:01 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress"
|
|
|
|
android:layout_width="75dp"
|
2020-05-05 05:37:46 +02:00
|
|
|
android:layout_height="75dp"
|
|
|
|
android:layout_gravity="center" />
|
2020-04-11 20:26:01 +02:00
|
|
|
|
2020-04-03 08:33:05 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe_refresh"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2020-04-04 19:47:32 +02:00
|
|
|
|
2020-05-21 02:58:02 +02:00
|
|
|
<FrameLayout
|
2020-04-04 19:47:32 +02:00
|
|
|
android:id="@+id/recycler_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2020-05-21 02:58:02 +02:00
|
|
|
<eu.kanade.tachiyomi.ui.library.category.CategoryRecyclerView
|
|
|
|
android:id="@+id/category_recycler"
|
2020-05-03 07:00:45 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-05-05 05:37:46 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-05-21 02:39:42 +02:00
|
|
|
android:layout_marginTop="?actionBarSize"
|
2020-05-21 02:58:02 +02:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
android:scrollbars="vertical" />
|
2020-05-03 07:00:45 +02:00
|
|
|
|
2020-05-21 02:39:42 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/recycler_shadow"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:alpha="0.25"
|
|
|
|
android:background="@drawable/shape_gradient_top_shadow"
|
|
|
|
android:translationY="12dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/recycler"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
2021-03-29 03:41:22 +02:00
|
|
|
<include layout="@layout/library_grid_recycler"
|
|
|
|
android:id="@+id/library_grid_recycler"/>
|
2020-05-03 07:00:45 +02:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/recycler_cover"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-05-05 05:37:46 +02:00
|
|
|
android:alpha="0"
|
2020-05-21 02:39:42 +02:00
|
|
|
android:background="@drawable/bottom_sheet_rounded_background"
|
2020-05-21 02:58:02 +02:00
|
|
|
android:backgroundTint="?android:textColorPrimaryInverse" />
|
|
|
|
</FrameLayout>
|
2020-05-03 07:00:45 +02:00
|
|
|
|
2020-04-04 19:47:32 +02:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
2020-05-23 21:52:36 +02:00
|
|
|
<eu.kanade.tachiyomi.ui.base.MaterialFastScroll
|
2020-05-12 05:11:16 +02:00
|
|
|
android:id="@+id/fast_scroller"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:fastScrollerBubbleEnabled="true" />
|
|
|
|
|
2020-05-19 07:40:05 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/header_title"
|
|
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="6dp"
|
|
|
|
android:background="@drawable/list_item_selector"
|
|
|
|
android:backgroundTint="?colorSecondary"
|
|
|
|
android:clickable="true"
|
|
|
|
android:elevation="5dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:focusable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:inputType="none"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingBottom="6dp"
|
|
|
|
android:textColor="?actionBarTintColor"
|
|
|
|
android:textSize="14sp"
|
|
|
|
tools:text="Category" />
|
|
|
|
|
2020-02-20 06:29:45 +01:00
|
|
|
<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" />
|
2020-04-04 19:47:32 +02:00
|
|
|
|
2020-02-20 06:29:45 +01:00
|
|
|
<View
|
|
|
|
android:id="@+id/shadow"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:alpha="0.5"
|
|
|
|
android:background="@drawable/shape_gradient_top_shadow"
|
|
|
|
android:paddingBottom="10dp"
|
2020-04-25 06:47:01 +02:00
|
|
|
app:layout_anchor="@id/filter_bottom_sheet"
|
2020-04-04 19:47:32 +02:00
|
|
|
app:layout_anchorGravity="top" />
|
2020-02-20 06:29:45 +01:00
|
|
|
|
2020-05-07 02:11:06 +02:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/jumper_category_text"
|
2020-05-19 05:45:37 +02:00
|
|
|
style="@style/FloatingTextView"
|
2020-05-07 02:11:06 +02:00
|
|
|
android:layout_gravity="start|center"
|
2020-05-07 21:05:09 +02:00
|
|
|
android:layout_marginBottom="8dp"
|
2020-05-07 02:11:06 +02:00
|
|
|
android:alpha="0.0"
|
2020-05-07 21:05:09 +02:00
|
|
|
android:gravity="center"
|
|
|
|
app:layout_anchor="@id/category_hopper_frame"
|
|
|
|
app:layout_anchorGravity="start|center"
|
2020-05-19 05:45:37 +02:00
|
|
|
tools:alpha="1"
|
|
|
|
tools:text="Category and a long one" />
|
2020-05-07 02:11:06 +02:00
|
|
|
|
2020-05-06 09:07:58 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/category_hopper_frame"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-26 07:20:30 +01:00
|
|
|
android:layout_gravity="top|center">
|
2020-05-06 09:07:58 +02:00
|
|
|
|
2021-03-29 03:41:22 +02:00
|
|
|
<include layout="@layout/rounded_category_hopper"
|
|
|
|
android:id="@+id/rounded_category_hopper" />
|
2020-05-06 09:07:58 +02:00
|
|
|
|
|
|
|
</FrameLayout>
|
2020-02-20 06:29:45 +01:00
|
|
|
<!-- Adding bottom sheet after main content -->
|
2021-03-29 03:41:22 +02:00
|
|
|
<include layout="@layout/filter_bottom_sheet"
|
|
|
|
android:id="@+id/filter_bottom_sheet"/>
|
2020-02-20 06:29:45 +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" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|