ActionBarCompat: Hide ActionBar before activity is created (bug?)

后端 未结 4 804
故里飘歌
故里飘歌 2020-12-15 07:06

So I was using the ActionBarSherlock and decided to switch to the new ActionBarCompat. With ABS, hiding the ActionBar was possible using the way described in this post: How

4条回答
  •  天涯浪人
    2020-12-15 07:29

    Does your activity extends ActionBarActivity? Probably it doesn't and that's why it's running with the getActionbar() method.

提交回复
热议问题