Graphical Layout tab does not appear for some layout files into Eclipse

Guilherme picture Guilherme · Apr 19, 2011 · Viewed 17.7k times · Source

I'm facing a problem when developing layout files for Android with Eclipse ADT Plugin. Some of my files, when opened, does not show the Graphical layout tab, just as below:

enter image description here

The others (actually, the older ones), instead, show it correctly.

enter image description here

Does anyone knows what can be done in this case?

Thanks in advance!

Answer

2bard picture 2bard · Apr 19, 2011

Have you tried right clicking one of the layout files in the Package Explorer view and clicking

Open With -> Android Layout Editor