Is there a way to disable ActionBar's show/hide animation?

前端 未结 3 493
一整个雨季
一整个雨季 2020-12-17 18:06

I\'ve seen this question:

Changing the ActionBar hide animation?

But it doesn\'t say whether it\'s possible to disable animation altogether.

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-17 18:58

    If you use ActionBarSherlock then you can do it. See ActionBarImpl class, it has setShowHideAnimationEnabled(boolean enabled) method.

提交回复
热议问题