you must set android:paddingBottom="" in your list view or recyclerview.
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_prod_category"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_constraintRight_toRightOf="parent"
android:paddingBottom="?attr/actionBarSize"
app:layout_constraintTop_toTopOf="parent">
</android.support.v7.widget.RecyclerView>
Use this
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:layout_width="match_parent"
android:layout_height="wrap_content">
</ListView>
</FrameLayout>
Add this line to your Viewpager
android:layout_marginBottom="?attr/actionBarSize"
because the size you don't have at bottom is exactly the size taken by your ToolBar
,
which is supposed to be hide (using new Android Design)
when you reach to bottom.
<android.support.v4.view.ViewPager
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="?attr/actionBarSize"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />