Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blank Graphical Layout?

enter image description here

I don't get this. I've searched everywhere and no one's answers have solved this for me. Why does this keep happening? I can't do anything! The XML Code is still there, but it doesn't show anything in the Graphical Editor. The Palette comes up if I change it to "4in WVGA (Nexus S)" or some other configuration, but I still can't see anything and the Theme drop down menu is unselectable. All my XML documents are like that.

like image 739
Cole Avatar asked Sep 03 '11 18:09

Cole


3 Answers

Just delete any custom device screen configuration you have added . It will solve the issue :)

like image 105
Rahul Verma Avatar answered Nov 01 '22 19:11

Rahul Verma


That just happen to me and after some attempts I found the reason.

When I first opened the project in eclipse I found some errors related with the version of Java. I changed the JDK compliance to 1.6 (Project->Properties->Java Compiler) and all errors dissapear but all graphical layouts went blank.

I uncheked "Enable project specific settings" (Project->Properties->Java Compiler) and now all the graphical layouts are working.

like image 38
Miguel Febres Avatar answered Nov 01 '22 20:11

Miguel Febres


When everything fails, close eclipse and start it all over again, it solved my problem.

like image 31
Golan Shay Avatar answered Nov 01 '22 19:11

Golan Shay