android - 在 Android 中删除 xml 字符串

标签 android xml eclipse string

此刻我有太多的 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/

相关文章:

Java 为 XML 节点赋值

eclipse - 哪个配置文件包含 Eclipse 工作区中所有项目的名称?

java - 在 Eclipse 中为 Play 框架设置 sbteclipse

android - 编译和源代码错误(AOSPA)

android - 如何让listview的滚动条一直可见

android - 为旧应用更新 Google Play 服务

android - 全屏视频无中断纵横比

xml - 柔性 3 : synchronously loading an xml file

php - 如何使用 RELAXNG 验证 XML?

java - 如何在Android Android 6.0(棉花糖)上创建透明布局?