Add padding for catalogue filter FAB

This commit is contained in:
arkon 2020-04-10 15:00:56 -04:00
parent 69af1baf7a
commit 5183848250

View File

@ -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.adapter = adapter