此刻我有太多的 xml 字符串值。我开始删除那些我不使用的,但这很难(我真的不知道我用了哪些,我也不用)。 eclipse 中是否有一个功能可以为我做这个,或者帮助我完成它? (比如一些调用层次)
最佳答案
Android Lint应该能够帮助您解决这个问题。
在网站上它声明它可以做以下事情:
Missing translations (and unused translations)
Layout performance problems (all the issues the old layoutopt tool used to find, and more)
Unused resources
Inconsistent array sizes (when arrays are defined in multiple configurations)
Accessibility and internationalization problems (hardcoded strings, missing contentDescription, etc)
Icon problems (like missing densities, duplicate icons, wrong sizes, etc)
Usability problems (like not specifying an input type on a text field)
Manifest errors
关于android - 在 Android 中删除 xml 字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12952684/