The "Design" tab in Android Studio's graphical editor, and the preview tab at right, are missing. How can I cause them to appear?
Asked
Active
Viewed 5.9k times
21
-
1[Try this](http://stackoverflow.com/questions/16625350/how-to-see-preview-of-xml-in-android-studio/16625493#16625493) – Ahmad May 23 '13 at 21:08
-
Yea, but there is not tab or option in the dropdown menu... – user2415337 May 23 '13 at 21:14
-
They said that you have to update to SDK Version 22, but i downloaded it just a few hours ago... – user2415337 May 24 '13 at 08:08
-
I had the same problem. Restarting Android Studio fixed it. – Tomer Sep 15 '13 at 21:02
-
1Just click the activity_main.xml file it will open that view – Jacek Pietal Jan 28 '16 at 20:48
-
I had to do `File -> Invalidate Caches` to get it to show up. Somehow Android Studio got into a bad state again. – frodo2975 Jul 08 '22 at 17:13
4 Answers
17
In order to restore the tab, you need to close an xml file, which contains layout and reopen it again within editor. No need to restart android studio. It is, probably just a little bug.
user3081519
- 2,659
- 5
- 25
- 35
8
Go to "View" in the top menu and click on "Tool Buttons". The preview tab at the right side should appear after that.
Franco
- 2,711
- 2
- 20
- 27
0
You need to go on View Tab then click on Tool Windows there will be preview tab on right just click Preview Tab.
Rajendra
- 55
- 5
0
There is a Java tab at the top Right side of android window. Click on that tab and the Package explorer tab will apear again
Sarwan Ali
- 151
- 1
- 1
- 11