Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graphical layout missing for Layout XML Files

Tags:

android

I installed new SDK for android development. Now when I open Layout XML file for editing..its not showing Graphical Layout tab along with source. Its showing Design and Source tab.

I am not able to view graphical layout.

Before updating SDK

Updated SDK Issue

Regards,

Android IT

like image 302
Android_IT Avatar asked Nov 03 '11 08:11

Android_IT


3 Answers

This happens to me occasionally. I just right click the xml layout file and choose "Open With... Android Layout Editor". It seems to then fix itself until the next time.

like image 103
Kuffs Avatar answered Nov 01 '22 04:11

Kuffs


Do this:

Delete project, without deleting the source files

File>Import>Existing Projects into Workspace,and select your project

problem fixed!

like image 22
Hanry Avatar answered Nov 01 '22 04:11

Hanry


Take a look on your Eclipse at : Window-->Preferences-->Editors-->File Associations-->.*XML--->set this as Default one---->ok

like image 30
moujib Avatar answered Nov 01 '22 04:11

moujib