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.
alt + shift + left/right arrow keys worked for me in Windows 10 in Android Studio 3.5.
The settings for it is under Settings->Keymap->Other->Select Next Tab in multi-editor file, for Android 3.0.1.
I wanted to switch to the selected View in question. None of the answers did that. So, here we go:
CTRL + B
Period.
Buttons are available to switch between design and text window in XML file in android studio 3.6.1. Shortcut keys are: ALT + Shift + Left/Right works for me. (Windows)