I have made a XML file:
I also ran into this. The layout xml files and main.xml would not parse. if you chose the graphical view for main.xml you would not get any buttons (in my case). What i found is that Eclipse was set to C++ rather than java. Setting it to the java perspective, closing, then reopening Eclipse fixed the issue.
Now Eclipse is doing other strange stuff like forgetting to connect to the phone intermittently.
I'm not sure it's the same, but Similar issue happened to me when updating to ADT 15, in a library project. this is the google issue that currently still opened: 21046.
That's what worked for me:
Hope this helps! (if it's still relevant...)