I am using Material design library and creating layout using CoordinatorLayout ,AppBarLayout ,RecyclerView and TabLayout .
CoordinatorLayout
RecyclerView
TabLayout
My issu
You are using RecyclerView as the main content, use ViewPager containing RecyclerView and make sure you give viewpage attribute app:layout_behavior="@string/appbar_scrolling_view_behavior"
app:layout_behavior="@string/appbar_scrolling_view_behavior"