I was updated my Android Studio. Android Studio creates issue in Android preview
Android actionbar can't show I don't know what's the issue I tried many times but failed. Action and header doesn't show:
答案 0 :(得分:3)
答案 1 :(得分:0)
请以 style.xml
检查您的 AppTheme<resources>
<!-- Base application theme. -->
<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>
答案 2 :(得分:0)
确保在“显示系统 UI”预览面板下使用 Android Studio v4.1.1。