title: CollapsingToolbarLayout with a custom view
body: <p>I'm trying to implement the CollapsingToolbarLayout with a custom view, but I'm unable to do it :</p>
  
  <p>What I want to do (sorry I can't post images so it's on imgur) :</p>
  
  <p>Expanded, the header is a profile screen with image and title</p>
  
  <p><a href="https://i.stack.imgur.com/2u4BF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2u4BF.png" alt="enter image description here"></a></p>
  
  <p>Not expanded (on scroll), the image and title will be on the toolbar</p>
  
  <p><a href="https://i.stack.imgur.com/ZReaM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ZReaM.png" alt="enter image description here"></a></p>
  
  <p>But everything I saw wasn't working as I expected</p>
  
  <p>I'm new to this and lollipop animations so if someone could help me I'll be very grateful !</p>
  
  <p>(I don't post sample code because I don't have something relevant to post)</p>