The top action bar in android studio (android studio itself, where i select file, build.. etc) is hidden, how can i show it again ?
I tried to edit everything in settings but nothing worked.
I'm using Android Studio 4.1. Following steps fixed it for me :
Press CTRL + ALT + S. This will open settings window.
Go to Appearance and Behavior > Menus and Toolbars
Click on restore button (looks like a undo button)
Choose Restore Main menu
Then click apply button.
The space at the top in android studio where recently opened java and xml files(I have marked that in my image) are shown has disappeared in my MacBook. How to bring it back?
At the top toolbar Window> Editor Tabs > Tabs Placement > Top.
that's should fix it.
In the Android Studio preview panel, I remember having a bar at the top when previewing drawable, where you could preview different states. I managed to find a screenshot of it somewhere:
I think I pressed a hotkey or toggled a setting, it disappeared and now I cannot find the setting to get it back.
I accidentally clicked a key from my laptop that I do not remember and my Android Studio menu window changed.
I want to have it to be the default window view which is
I searched for a way to undo it or reverse it but could not find anything.
If this is a duplicate, please point me to the thread.
The second image posted in your question shows the toolbar and the navigation bar, in order to make these visible use the following menu items:
View > Toolbar
View > Navigation Bar
In Android Studio, how can I view both the text and design preview of an XML layout side by side.
I could see it by default when I installed Studio, but now that is gone,
and I'm not sure why. I can only see or the other.
How do I re-enable it?
Open your [whatever].xml. At the bottom you'll see Design and Text. Select Text. If you still can't see the actual layout, only xml, then select "Preview" which is located at the right of the window, between Gradle and Maven Projects.
Click on preview while text is selected.
At first, select your desired .xml layout from the Project tab then use Code, Split and Design buttons to switch between the views. (Android Studio 3.6)
Code - Display only XML part
Split- Display XML and design both
Design- Only design part
It appears that in Android 3.6.1, the buttons to select Design, Split, or Code have been placed in the upper right of the XML layout screen.
Select any one from the top right options to change the view of your Code and Design
You can split the tab by right-clicking on the tab and selecting either Split Horizontally or Split Vertically. Then, you can select the Design tab on one and the Text tab on the other.