Skip to content Skip to sidebar Skip to footer

Android Xml Editors Broken In Eclipse

Until today (I have no idea what I did to cause this), if I double-clicked an android XML file, then the correct editor would appear. For example, double-clicking a layout file wou

Solution 1:

Yes this may be a permanent solution:

  1. Select any XML layout file
  2. click on Window->Preferences menu.
  3. Follow steps as mentioned in attached image.

enter image description here

Solution 2:

What I had to end up doing was selecting the Legacy Android Xml Resources Editor from the same list that Paresh is showing and setting it as the default. I had to choose it from the list that appears when you click the add button. After that I restarted eclipse and everything was fine.

Post a Comment for "Android Xml Editors Broken In Eclipse"