title: how to create collapsing toolbar in fragment and activity
body: <p>Iam trying to create collapsing toolbar in my project for fragment and activity,
  but the collapsing toolbar is not working well.Please help me find the solution, as iam new to android.
  Thank you in advance.</p>