[SOLVED] Where is the layout preview in Android Studio?

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under
CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.


I installed Android Studio, but when I edit my layout files, I can’t find a live preview! I just see an XML file. How can I see my layout in graphical view?

This is how it looks like in my case:

src=”https://i.stack.imgur.com/A6M7G.jpg” alt=”enter image description here” />


UPDATE 2 (2020-03-16)

The newer Android Studio version changed the location of this button. Now if you want to see the layout design preview you will need to press one of the buttons at the top right of your xml. The button that looks like an image icon will open the design dashboard, while the button next to it will open the split view where the design is placed next to the XML code:

enter image description here

ORIGINAL (2013-05-21)

You should have a Design button next to the Text button under the xml text editor:

enter image description here

Or you can use the Preview button in the upper right corner to add a preview window next to the XML code:

enter image description here


If you dont have it, then do this: View -> Tool Windows -> Preview

enter image description here

Answered By – Emil Adz

people found this article helpful. What about you?