开发者

How do I hide the action bar icon in Android using a theme?

While I do know that you can hide the icon in the action bar by using setDisplayUseLogoEnabled, this ta开发者_JAVA技巧kes a while and will result in the icon flashing for a second. Is there a way to avoid this by using themes or any other solution?


assuming you're after a full screen view, try looking at the

WindowManager.LayoutParams.FLAG_FULLSCREEN

flag in the Window class


Try using getActionBar().setDisplayOptions(ActionBar.DISPLAY_USE_LOGO)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜