Merge "Fix issue #6444627: New status bar/action bar interaction a bit disjoint" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e3320e6d91
@@ -617,6 +617,8 @@ public class ActionBarImpl extends ActionBar {
|
||||
}
|
||||
anim.setInterpolator(AnimationUtils.loadInterpolator(mContext,
|
||||
com.android.internal.R.interpolator.decelerate_quad));
|
||||
anim.setDuration(mContext.getResources().getInteger(
|
||||
com.android.internal.R.integer.config_mediumAnimTime));
|
||||
anim.addListener(mShowListener);
|
||||
mCurrentShowAnim = anim;
|
||||
anim.start();
|
||||
@@ -660,6 +662,8 @@ public class ActionBarImpl extends ActionBar {
|
||||
}
|
||||
anim.setInterpolator(AnimationUtils.loadInterpolator(mContext,
|
||||
com.android.internal.R.interpolator.accelerate_quad));
|
||||
anim.setDuration(mContext.getResources().getInteger(
|
||||
com.android.internal.R.integer.config_mediumAnimTime));
|
||||
anim.addListener(mHideListener);
|
||||
mCurrentShowAnim = anim;
|
||||
anim.start();
|
||||
|
||||
Reference in New Issue
Block a user