mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 23:29:16 +01:00
Add padding for catalogue filter FAB
This commit is contained in:
parent
69af1baf7a
commit
5183848250
@ -202,6 +202,18 @@ open class BrowseCatalogueController(bundle: Bundle) :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add bottom padding if filter FAB is visible
|
||||||
|
if (presenter.sourceFilters.isNotEmpty()) {
|
||||||
|
recycler.setPadding(
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
view.resources.getDimensionPixelOffset(R.dimen.fab_list_padding)
|
||||||
|
)
|
||||||
|
recycler.clipToPadding = false
|
||||||
|
}
|
||||||
|
|
||||||
recycler.setHasFixedSize(true)
|
recycler.setHasFixedSize(true)
|
||||||
recycler.adapter = adapter
|
recycler.adapter = adapter
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user