android预览界面出错,Missing styles. Is the correct theme chosen for this layout?
2014-09-03 11:27
435 查看
在进行android开发的时候,不免需要调试。界面预览也是必须的,不可能修改了一小点功能就部署到机器上。那样太浪费时间。
在进行界面布局的时,调整页面发现界面下方总是有如下错误出现,看着真是让人蛋疼不已。不知道是插件的问题还是其他问题,
导致无法静态显示预览的UI效果。后来摸索了一下,和以前项目一对比,发现时这个主题的问题。
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 'textViewStyle' in current theme
解决方法如下:
打开xml布局,切换至布局预览界面(Graphic Layout),上面一栏有个五角星图标的下拉箭头选择项,默认为notitle,
问题就是出在这里,根据需要修改这里的设定值,这里我的设定为NoTitleBar。
在进行界面布局的时,调整页面发现界面下方总是有如下错误出现,看着真是让人蛋疼不已。不知道是插件的问题还是其他问题,
导致无法静态显示预览的UI效果。后来摸索了一下,和以前项目一对比,发现时这个主题的问题。
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 'textViewStyle' in current theme
解决方法如下:
打开xml布局,切换至布局预览界面(Graphic Layout),上面一栏有个五角星图标的下拉箭头选择项,默认为notitle,
问题就是出在这里,根据需要修改这里的设定值,这里我的设定为NoTitleBar。
相关文章推荐
- intellij idea android错误: Missing styles. Is the correct theme chosen for this layout?
- intellij idea android错误: Missing styles. Is the correct theme chosen for this layout?
- Android Missing Styles. Is the correct theme chosen for this layout?
- android xml 布局错误(黑掉了)Missing styles. Is the correct theme chosen for this layout?
- Missing styles. Is the correct theme chosen for this layout?
- Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layou
- Missing styles. Is the correct theme chosen for this layout?
- Missing styles. Is the correct theme chosen for this layout?
- Rendering Problems Missing styles. Is the correct theme chosen for this layout?
- missing styles is the correct theme chosen for this layout
- Missing styles. Is the correct theme chosen for this layout?
- Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layou
- Missing styles. Is the correct theme chosen for this layout
- Missing styles. Is the correct theme chosen for this layout
- Missing styles. Is the correct theme chosen for this layout?
- Missing styles. Is the correct theme chosen for this layout?
- Android Studio使用之Missing Styles.Is the correct theme chosen for this layout?
- Missing styles. Is the correct theme chosen for this layout?
- Rendering Problems Missing styles. Is the correct theme chosen for this layout?
- Missing styles. Is the correct theme chosen for this layout?