title: How to hide or show the partially hidden toolbar/actionbar when you stop scrolling the listview/recyclerview in android
body: <p>So to show and hide the action bar when scrolling I am using this method 
  <a href="https://github.com/chrisbanes/cheesesquare/blob/master/app/src/main/res/layout/include_list_viewpager.xml" rel="nofollow">using coordinator layout and appbarlayout</a></p>
  
  <p>But when I stop scrolling the list in the middle of toolbar being hidden or shown it stays there and only part of toolbar is visible. </p>
  
  <p>What I want to do is make the toolbar show or hide completely based on the percentage of toolbar visible.</p>
  
  <p>Is there a way I can acheive this using the coordinator layout and appbarlayout?</p>