No ActionBar and no StatusBar in android studio 3.

2019-03-05 04:31发布

In the below image you can see that there is no ActionBar and StatusBar in the preview of any XML layout file, if anyone is facing the same issue and has solution please post it.

Latest android studio 3.3

2条回答
Evening l夕情丶
2楼-- · 2019-03-05 05:08

I faced the same issue, and got this:

  1. No ActionBar visible

enter image description here

  1. Change a setting for Show Layout Decorations (By Default it is unchecked, just check it and ActionBar will be there)

enter image description here

  1. Visible ActionBar

enter image description here

查看更多
smile是对你的礼貌
3楼-- · 2019-03-05 05:17

Select the theme from above which have action bar by clicking where AppTheme is written in top pane of preview window.

查看更多
登录 后发表回答