title: Android 5.0 material tabs with toolbar
body: <p>How can I achieve play store like tabs (Hide on scroll, proper margins, thin indicator)? I've tried SlidingTabs and some other libraries, but they all are outdated. </p>
  
  <p>In more details, when I was developing for APIs 20 and less (before Android 5.0), I used to call <code>actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);</code> ?
  Now with Android 5.0, the whole ActionBar is being replaced by ToolBar.</p>
  
  <p>What is the right way to use Tabs in Material Design, using ToolBar? How can I make the Tabs hide on scroll?</p>
  
  <p>Thanks!</p>
  
  <p>Screenshots: </p>
  
  <h2><img src="https://i.stack.imgur.com/oqcY7.jpg" alt="http://imgur.com/P1gjphx"></h2>
  
  <p><img src="https://i.stack.imgur.com/Of3q7.png" alt="enter image description here"></p>