diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt index 9d60d7096..cac1b850c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt @@ -249,7 +249,7 @@ open class BrowseSourceController(bundle: Bundle) : recycler.setHasFixedSize(true) recycler.adapter = adapter - binding.catalogueView.addView(recycler) + binding.catalogueView.addView(recycler, 1) if (oldPosition != RecyclerView.NO_POSITION) { recycler.layoutManager?.scrollToPosition(oldPosition) diff --git a/app/src/main/res/layout/source_controller.xml b/app/src/main/res/layout/source_controller.xml index e41846302..1338a925e 100644 --- a/app/src/main/res/layout/source_controller.xml +++ b/app/src/main/res/layout/source_controller.xml @@ -9,16 +9,24 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - tools:context=".ui.browse.source.browse.BrowseSourceController" /> + tools:context=".ui.browse.source.browse.BrowseSourceController"> - + + + + + + +