androidstudio的Rendering Problems Missing styles错误解决

来源:互联网 发布:淘宝店标背景图片 编辑:程序博客网 时间:2024/05/03 11:53

设计界面布局时显示的错误:

Rendering Problems 
Missing styles. Is the correct theme chosen for this layout?  
Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.  
Failed to find style 'buttonStyle' in current theme (8 similar errors not shown)


预览时控件非常小,如图:

解决办法:

在界面预览状态,点击上面的“AppTheme”,在打开的对话框中选择一种风格即可。


11 3
原创粉丝点击