Use SideSheet instead of BottomSheet on landscape
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<org.koitharu.kotatsu.core.ui.widgets.BottomSheetHeaderBar
|
||||
<org.koitharu.kotatsu.core.ui.sheet.AdaptiveSheetHeaderBar
|
||||
android:id="@+id/headerBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -19,6 +19,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/headerBar"
|
||||
android:orientation="vertical"
|
||||
android:scrollIndicators="top"
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
||||
tools:listitem="@layout/item_chapter" />
|
||||
|
||||
Reference in New Issue
Block a user