如何把android-formatting.xml和android.importorder导入eclipse中?
android-formatting.xml、.classpath和android.importorder都放在development/ ide/ eclipse/下,android-formatting.xml用来配置eclipse编辑器的代码风格;
android.importorder用来配置eclipse的import的顺序和结构。分别放置的位置如下:
在window->preferences->java->Code style->Formatter中导入android-formatting.xml;
在window->preferences->java->Codestyle->Organize Imports中导入android.importorder。