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