今天撸代码的时候,AS不知怎么了,不能预览布局了,提示:
android.support.v7.internal.widget.ActionBarOverlayLayout
解决方法:
打开values/目录下styles.xml文件;
把:<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
修改为: <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">