在Android Studio中,消息"Paint.setShadowLayer ..图形不正确."没有这个代码 [英] In Android Studio message "Paint.setShadowLayer.. graphics not accurate.." without this code
问题描述
我在android studio xml预览中收到此消息: 布局编辑器中的图形预览可能不正确:-不支持-Paint.setShadow." 在我的项目中根本没有这行代码. 我也尝试运行在路径中查找-查找-查找",而在我的所有项目中都根本找不到这行代码,那为什么我会收到此消息?
I get this message in android studio xml preview: "The graphics preview in the layout editor may not be accurate: -Paint.setShadow is not supported." Without having this line of code at all in my project. Also I tried to run "Edit-Find-Find in Path" and didn't find this line of code at all in all my project, so why do I get this message?
I read this question, but don't think its the right answer cause this message start to appear after I tried few lines of code containing shadow values, but remain also after deleting those lines.
推荐答案
不用担心,这就是说,代码预览将与输出不同,有时无效的缓存/重启将起作用,或者更改API级别.图形预览顶部的组合框.
don't worry, it is saying that, preview of code will not as same as output, sometimes Invalid cache/restart will work, or change API level in combo box at the top of graphical preview.
这篇关于在Android Studio中,消息"Paint.setShadowLayer ..图形不正确."没有这个代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!