<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
	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:layout_width="match_parent"
	android:layout_height="wrap_content"
	android:orientation="vertical">

	<org.koitharu.kotatsu.core.ui.sheet.AdaptiveSheetHeaderBar
		android:id="@+id/headerBar"
		android:layout_width="match_parent"
		android:layout_height="wrap_content" />

	<FrameLayout
		android:layout_width="match_parent"
		android:layout_height="match_parent"
		android:minHeight="240dp">

		<org.koitharu.kotatsu.core.ui.list.fastscroll.FastScrollRecyclerView
			android:id="@+id/recyclerView"
			android:layout_width="match_parent"
			android:layout_height="match_parent"
			android:clipToPadding="false"
			android:padding="@dimen/grid_spacing"
			android:scrollIndicators="top"
			app:bubbleSize="small"
			app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
			app:spanCount="3"
			tools:listitem="@layout/item_page_thumb"
			tools:targetApi="m" />

		<com.google.android.material.progressindicator.LinearProgressIndicator
			android:id="@+id/progressBar"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_gravity="top"
			android:indeterminate="true"
			android:visibility="gone"
			app:hideAnimationBehavior="outward"
			app:showAnimationBehavior="inward"
			app:trackCornerRadius="0dp"
			app:trackThickness="2dp"
			tools:visibility="visible" />

	</FrameLayout>

</LinearLayout>
