Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop Android Studio from automatically showing design / preview when editing xml

Android Studio is showing me design / preview windows when choosing to edit an xml layout which sometimes takes a long time to load on my PC. Is it possible to configure the environment so that it stops doing so? When I choose to edit an xml I expect it to just open the file and do nothing else.

Edit: I can close the window as you are suggesting. What I can't do is stop it from popping out automatically after I opened it previously and automatic switching to design tab.

like image 425
Jan Málek Avatar asked Sep 06 '25 03:09

Jan Málek


2 Answers

I just found the answer in Android Studio right after looking at this... You can change it in settings/preferences:

settings

like image 164
user2143491 Avatar answered Sep 10 '25 00:09

user2143491


You can minimize design windows as below.

hiding android studio design view

This action will minimize design view until you click on Preview button again ,reinstalling your android studio

or as rachna said you can restore design windows again by flowing this View>Tool Windows>Preview

like image 31
Alireza Bideli Avatar answered Sep 10 '25 00:09

Alireza Bideli