Using CoordinatorLayout in design support library would be much better! And I made 2 behavior classes in another project for CoordinatorLayout, TopHideBehavior and BottomHideBehavior. These can performance the same effect. You can find these in project WowPaper
A simple RecyclerView OnScrollListener's subclass,that tracking RecyclerView scrolling and hiding or showing some views
You can check the scroll demo from Youtube: Youtube show demo
You can download the demo apk at Here
或者优酷地址: 从优酷观看 []