Is it possible to assign a hotkey to switch between Activity and XML layout in Android Studio?

Issue

Android Studio shows this button in the top left when an activity is open, which jumps to the corresponding activity layout when clicked:

enter image description here

Is it possible to assign a hotkey to this button? I’ve looked through the keymap page in the Preferences, but can’t find anything for this button.

Solution

You can add or confirm keyboard shortcuts at Keymap

Navigate > Related Symbol

Answered By – myoungjin

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published