有没有办法禁用xml警告? [英] Is there a way to disable the xml warnings?
问题描述
TIA
在新的Eclipse ADT插件更新将给你新工具哪个名称是Lint这里是一个SO链接这个工具,它的优势。点击这里
现在,为了从Lint Android工具中删除xml警告,你需要去
窗口 - >首选项 - > Android - > Lint Error Checking
在这个对话框中,您将在Android中找到Xml的所有问题,您可以禁用它,如果要禁用。确保您不会禁用有用的lint警告,因为它有帮助我们找到有多个ID分配在xml和更多..
I just did an update of my SDK and now eclipse is giving me all sorts of totally unwanted warnings in my xml... for example I have a RelativeLayout that doesn't have an id or a background (it's actually a transparent button) and eclipse is warning me that it's a useless element. Is there a way to turn this idiocy off?
TIA
In New Update of Eclipse ADT Plugins will give you New Tool Which Name is Lint here is one SO Link for this tool and it's advantages .Click Here
Now for Disable xml Warnings that are come from Lint Android Tool ,you need to go
Window-->Preferences-->Android-->Lint Error Checking
in this Dialog you will find all Issue for Xml in android and you can make disable it ,if you want to disable.And Make sure you will not disable usefull lint warning because it's help us to find there are multiple ID assign in xml and lot more..
这篇关于有没有办法禁用xml警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!