List of usage examples for android.app ActionBar setShowHideAnimationEnabled
@UnsupportedAppUsage public void setShowHideAnimationEnabled(boolean enabled)
From source file:android.support.v7.app.AppCompatDelegateImplV7.java
@Override public void onStop() { ActionBar ab = getSupportActionBar(); if (ab != null) { ab.setShowHideAnimationEnabled(false); }/*from ww w .java 2 s. c o m*/ }
From source file:android.support.v7.app.AppCompatDelegateImplV7.java
@Override public void onPostResume() { ActionBar ab = getSupportActionBar(); if (ab != null) { ab.setShowHideAnimationEnabled(true); }/*from w w w .j ava 2s . com*/ }