Android-Studio to show XML code instead of design
Solution 1:
Newer (I guess 2.x+) versions of Android Studio have this option in the main settings:
Open the settings with one of the following actions:
- Press
Ctrl+Alt+S
. - On the main menu, choose
File | Settings
for Windows and Linux orIntelliJ IDEA | Preferences
for OS X - Press
Ctrl+Shift+A
, type settings and pressEnter
.
Then navigate to the following sub-menu:
Editor -> Layout Editor -> "Prefer XML editor"
Solution 2:
This has been added in the newest release of Android Studio (0.8.12).
Other features of the new release can be found here.