明明左侧有使用布局的,右侧界面显示空白
解决办法:
在style文件里面
<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>
parent="Theme.AppCompat.Light.DarkActionBar"修改成parent="Base.Theme.AppCompat.Light.DarkActionBar" 预览界面就出来了