您的位置:首页 > 移动开发 > Android开发

android studio 无法在可视化页面预览布局文件或预览有偏移现象

2017-11-06 15:48 447 查看
Rendering Problems

the following classes could not be found:
android.support.v7.internal.widget.ActionBarOverlayLayout (Fix Build Path, Edit XML, Create Class)
Tip: Try to build the project

解决办法:把style文件中theme改一下在Theme.AppCompat.Light.DarkActionBar前面加上Base.  如下<!-- Base application theme. -->
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
   <!-- Customize your theme here. -->
</style>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: