It's a normal .xml:
and it's a android .xml:In normal .xml, eclipse adds a redundant highlight on my "color" tag. I don't like this,开发者_StackOverflow中文版 but can't find where the configure is.
Your first XML file is being edited by the XML Editor built into Eclipse. The second is being edited by the Android Resource Editor. It just works differently. You can right-click on the file name in the Package Explorer and select which editor you want to use under Open With.
精彩评论