I had the same problem for a week, and I tried to solve almost everything. However, I managed to solve the problem.
Where do you have something like ...
<include android:id="@+id/app_bar" layout="@layout/app_bar" app:layout_scrollFlags="scroll|enterAlways" />
... replace this with everything in the app_bar.xml layout. For instance:
<android.support.v7.widget.Toolbar android:id="@+id/main_toolbar" style="@style/AppTheme.Toolbar" android:layout_height="wrap_content" android:layout_width="match_parent" app:layout_scrollFlags="scroll|enterAlways"/>
It seems that for some reason, scrolling with CoordinatorLayout does not work when using the <include> .
source share