android预览界面出错,Missing styles. Is the correct theme chosen for this layout?
来源:互联网 发布:手机浏览器 域名劫持 编辑:程序博客网 时间:2024/05/16 10:55
在进行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。
0 0
- android预览界面出错,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
- 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?
- 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?
- Missing styles. Is the correct theme chosen for this layout?
- Android Studio使用之Missing Styles.Is the correct theme chosen for this layout?
- 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 studio中预览布局错误:Missing styles. Is the correct theme chosen for this layou
- Missing styles.Is the correct theme chosen for this laytout
- 表达式求值
- Rails mapping array of hashes onto single hash
- 大学毕业感觉没学到啥东西。现在很想学安坐哇
- ADB通信
- hibernate中的update()和saveOrUpdate()的区别,session的load()和get()的区别
- android预览界面出错,Missing styles. Is the correct theme chosen for this layout?
- define a class for a linked list and write a method to delete the nth node.
- c/c++:二维数组作为参数传递
- 16位和32位代码段
- Integer源码 转2进制转16进制
- forward:hello 与 redirect:hello的区别
- cocos2d-x 3.0加载PhysicsEditor生成plist的加载器并生成CCPhysicsBody
- 通过公共函数为私有成员赋值
- string.xml