I am trying to implement a layout like this:
The issue is that when scrolling up the card touches the toolbar and it does not go up anymore like this
In order to achieve that effect, the card layout should be inside the collapsing toolbar.
Try replacing this:
with:
and remove in the NestedScrollView.
Hope this helps.