title: Android - Blank space remains after view is translated
body: <p>I am trying to animate my toolbar (used as ActionBar) to hide itself after scroll. I am using the following code to translate the toolbar up - </p>
  
  <pre><code>toolbar.animate().translationYBy(toolbar.getBottom()*(-1));
  </code></pre>
  
  <p>However, after the animation, the space occupied earlier by the toolbar earlier becomes white and remains there.</p>
  
  <p>I want the content below the toolbar to move up and occupy the space left by the toolbar.</p>