I recently moved up to Eclipse 4.2 (Juno) with ADT 20.0.3.
If I view a layout or a style from an old project Eclipse just shows me its appropriate controls-based editor. I want to edit the syntax-highlighted xml text. I don't see a way to switch the plugin's editor to this mode although it will fallback to it for a layout it chokes on and can't give a WYSIWYG display for.
Any help will be appreciated.
EDIT: This problem turned out to be a side effect of my recent adventures in themeing Eclipse 4.2. Using the Dark Juno theme, the buttons for switching between text and wysiwyg views at the bottom of the editor disappeared entirely (not just the wrong colours, zero screen area). Switching back to the default theme solves the issue.
For the benefit of the Dark Juno author, I noticed Eclipse outputting this on the command line (my ellipses):
~$ eclipse
Failed to find defStyle: listViewStyle
...
Failed to find defStyle: textViewStyle
...
Failed to find defStyle: buttonStyle
...
EDIT 2: This turns out to be a known issue with Dark Juno: https://github.com/eclipse-color-theme/eclipse-ui-themes/issues/11
Does anyone know of a way to make the switch to text without using the buttons that I cannot see?
Use Alt+PgDn to switch through the inner tabs.
But we need a permanent solution from Dark Juno. Hope to get a patch soon.
Till then use Alt+PgDn.