I'm using a recyclerview and have a FAB on my layout. I want to be able to give a bit of space at the bottom of the last item much like the Gmail app does so when you scroll to the bottom the right hand star on the bottom item is still clickable.
I tried adding some padding to the bottom which achieves this but the scrollbar doesn't scroll all the way to the bottom, stopping at the padding height, whilst the Gmail version does. Does anyone have any idea how to do this?
<RecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingBottom="90dp"
android:scrollbars="vertical" />