How can I always show Android Studios Preview?

Yokich picture Yokich · Jun 8, 2015 · Viewed 10.6k times · Source

I have probably hit some setting in Android Studio. So my problem is, my Preview window hides every time I click somewhere in the xml code.

Obviously I want the preview available the entire time I'm in the xml editor so that I can view my changes, and also without having to click the Preview button all the time.

Any ideas?

Answer

Yokich picture Yokich · Jun 8, 2015

Found the answer. The tabs in Android Studio seem to have different amount of actions attached to them, but you can access some more if you go to Window -> Active Tool Window (with the preview tab selected/focused) and then click "Docked Mode", an option previously unavailable in the tabs options. When Docked mode is activated for the tab it is now available in the tab options!