android studio 3.3 not showing action bar and status bar in its preview window after creating new project

我与影子孤独终老i 提交于 2019-12-01 12:24:56

In the preview tab, click on the eye and select 'Show Layout Decorations'.

EDIT: Toolbar isn't showing because of my style settings - I used 'NoActionBar'. This should work for you, though.

 <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
    <!-- Customize your theme here. -->
    <item name="colorPrimary">@color/colorPrimary</item>
    <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
    <item name="colorAccent">@color/colorAccent</item>
</style>

Try this on your styles.xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!