I am looking to add scroll support to more than just a single, scrollable, child view of CoordinatorLayout
in conjunction with an AppBarLayout
and
You don't need a workaround or something strange. This behaviour is supported by the library. Just replace your LinearLayout
by this and put it below the RecyclerView
:
Also you will need to put this in your RecyclerView
to show it behind the LinearLayout:
android:paddingTop="30dp"
android:clipToPadding="false"
This is how it would look like:
This is not a nice design, but it is a solution. You can put a nicer Layout
inside the LinearLayout
to make it like Spotify.
Edit: Video added