title: Implementing Flexible toolbar with Card toolbar using appcompat v21
body: <p>I want to implement <code>Toolbar</code> something like the following design. It is called flexible toolbar and card toolbar<img src="https://i.stack.imgur.com/dkQ5Q.png" alt="enter image description here"></p>
  
  <p>I tried implementing the custom view inside toolbar. I achieved something like below image!<img src="https://i.stack.imgur.com/MOt0e.png" alt="enter image description here"></p>
  
  <p>Now what I did is added custom view to Toolbar but I want to implement like first image. I want to create a card like view on tool bar with all those action views. </p>
  
  <p>To achieve that (As per my view) I can create a custom layout and add it over tool bar. Then I should attach another layout below the toolbar.</p>
  
  <p>My question is whether I should do it as what I said or is there any other simpler way I can implement it?</p>