今天新装了Android开发环境后,新建一个工程,打开xml发现打开的不是Android默认的UI和Code对应的格式样式。
解决方法:
Window -> Preferences -> General -> Editors -> File Associations
File types: 这里点选 *.xml
Associated editors:这里选择Android Layout Editor(default) -> Default
点击"确定"即可....
解决方法:
Window -> Preferences -> General -> Editors -> File Associations
File types: 这里点选 *.xml
Associated editors:这里选择Android Layout Editor(default) -> Default
点击"确定"即可....