无法加载layout报android Preview 中显示actionbaroverlaylayout

解决办法:
打开文件res/values/styles.xml,如图加个Base

 `<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">    <!-- Customize your theme here. --></style>
   修改为
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">    <!-- Customize your theme `

猜你喜欢

转载自blog.csdn.net/yjh_SE007/article/details/80018825