Shortcut to switch between design and text in andr

2019-02-01 03:12发布

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.

10条回答
劫难
2楼-- · 2019-02-01 03:37

The settings for it is under Settings->Keymap->Other->Select Next Tab in multi-editor file, for Android 3.0.1.

查看更多
太酷不给撩
3楼-- · 2019-02-01 03:39

(CTRL + SHIFT) + LEFT or RIGHT arrow keys,

To go back and forth in between Design tab and Text(XML) tab, on Mac OS X.

查看更多
走好不送
4楼-- · 2019-02-01 03:40

On Android Studio 2.3+, one can use the shortcut Ctrl+T.

查看更多
疯言疯语
5楼-- · 2019-02-01 03:44

ALT + Shift + Left/Right works for me. (Windows)

查看更多
Summer. ? 凉城
6楼-- · 2019-02-01 03:45

ALT+SHIFT+RIGHT ARROW worked for me on ubuntu

查看更多
Fickle 薄情
7楼-- · 2019-02-01 03:47

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.

查看更多
登录 后发表回答