Android Studio预览布局时显示android...ActionBarOverlayLayout
如下图所示:

解决办法:
将
style.xml
文件中的
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
修改为
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
style.xml
的位置如下图所示:

网友评论