Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio xml preview closes automatically

I am using Android Studio 2.2.3. While clicking on the UI components in the xml code the preview window closes automatically. Again while selecting on the preview, the window appears and again when select the xml code the window disappears. Is there any fix available?

like image 880
Suresh Kumar Avatar asked Apr 24 '26 13:04

Suresh Kumar


1 Answers

Enable pinned mode and docked mode by right click on preview from left of window.

OR:

Select the Preview Window > Go to Window menu > Active Tool Window > Docked mode

like image 146
Patel Jaymin Avatar answered Apr 27 '26 01:04

Patel Jaymin