Skip to content

Instantly share code, notes, and snippets.

@Amokrane
Created April 12, 2012 08:08
Show Gist options
  • Save Amokrane/2365552 to your computer and use it in GitHub Desktop.
Save Amokrane/2365552 to your computer and use it in GitHub Desktop.
Revealing the NavBar using a translation
TranslateAnimation translateAnim = new TranslateAnimation(0.0F, mListView.getWidth(), 0.0F, 0.0F);
translateAnim.setDuration(..);
translateAnim.setFillAfter(true);
mTopLayerView.startAnimation(translateAnim);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment