Does anyone know some shortcut to switch between design and text in android studio while editing xml layout?
While I can switch from design view to source using ctrl+B (and need to select something in layout before), I have no way to go back.
Does anyone know some shortcut to switch between design and text in android studio while editing xml layout?
While I can switch from design view to source using ctrl+B (and need to select something in layout before), I have no way to go back.
The settings for it is under Settings->Keymap->Other->Select Next Tab in multi-editor file, for Android 3.0.1.
To go back and forth in between Design tab and Text(XML) tab, on Mac OS X.
On Android Studio 2.3+, one can use the shortcut Ctrl+T.
ALT + Shift + Left/Right works for me. (Windows)
ALT+SHIFT+RIGHT ARROW worked for me on ubuntu
You can find it in Settings->KeyMap
"Select next Tab in multi-editor file"
CRTL+SHIFT+RIGHT (it may depend by platform).You can change it.