Eclipse : No Graphical Layout for Android XML Files
This problem occurred all of a sudden in my Eclipse(which happens to be fully updated) but it seems that my Graphical Layout editor is gone for ever.
I do not know what happened but graphical layout shows nothing even if there is code in XML. Even layout files of my previous projects stopped coming in the graphical editor.
This is all it shows me.
I even tried right clicking on the XML file in the package explorer and "Open with Default Editor" but still it does not work.
Can anyone PLEASE help ? I am totally stuck and it really VERY cumbersome to write all the layout codes in xml manually!
Make update android sdk tools, or delete old sdk tools and install new sdk tools.
In case others come across the same problem, here is what worked for me :
I had to click and select the API version on the top-right corner of the graphical editor and then the layout would be displayed.
Moreover, I moved on to Eclipse Juno and (thankfully) haven't come across this problem in Juno.