J1NKL3
J1NKL3

Reputation: 53

Eclipse is missing Graphical Layout and Source tabs when editing Android XML files

When I edit XML files in Eclipse using Android Common XML Editor I am only able to use the graphical layout editor. I see in pictures online how there are supposed to be tabs at the bottom for Graphical and Source but I have none. How do I get this fixed? Using Eclipse 4.2.1. Thanks!

Upvotes: 5

Views: 4249

Answers (4)

Trzy Gracje
Trzy Gracje

Reputation: 3069

I have discovered that this problem occurs after installing custom theme for eclipse. In my case it was "Dark Juno" theme. Bring back original theme and everythink will be all right again :-)

------ EDIT ------

You can use MoonRise dark theme ( https://github.com/guari/eclipse-ui-theme ). Bottom bar works perfectlly and design looks good.

Upvotes: 0

Bananeweizen
Bananeweizen

Reputation: 22070

That is probably a problem of Unity not displaying the editor correctly. I bet that you can still switch between the tabs using the keyboard. Press ShiftAltF7 to navigate to the previous page and AltF7 to navigate to the next page of a multi page editor.

Upvotes: 8

Akhilesh Mani
Akhilesh Mani

Reputation: 3552

I faced same problem so far.

Solution:

==> In your Layout editor there is a android version configuration dropdown box, from there select proper android version. (Eg. "Android 2.3.3")

try this and let me know.

Upvotes: 1

Marcin S.
Marcin S.

Reputation: 11191

Please try to use OpenWith ->Layout Editor on the xml file witch u want to open from project explorer under res folder

Upvotes: -1

Related Questions