user1078760
user1078760

Reputation: 749

How can I enable layout designer for Android, Eclipse?

I have just reinstall Eclipse, and have got 1 problem: when I click on layout.xml file, designer(Graphical Layout) design isn't showed! Instead designer I see table with columns "Note/Content", without set of items and visual editor on "Design" tab; "Source" tab contains source code. How can i enabled visual designer?

Upvotes: 1

Views: 1145

Answers (3)

Padma Kumar
Padma Kumar

Reputation: 20031

Go to

Window → Preferences → General → Editors → File Associations

and select *.xml and then press Default on the Android Layout Editor entry in the list of associated editors. enter image description here

Upvotes: 2

Tang Ke
Tang Ke

Reputation: 1508

Right click the file, then select Open With -> Android Layout Editor

Upvotes: 1

Alexander
Alexander

Reputation: 48242

I've run into the same problem and had to right-click on a layout xml and then choose Open With|Android Layout Editor I don't know how to fix it permanently when I reinstalled everything again the porblem has gone until that I right-clicked as above

Upvotes: 1

Related Questions