Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the toolbar back in Android Studio?

By mistake I removed the toolbar in Android Studio IDE. How can I get it back.

Note: I am not talking about toolbar in android app

like image 938
Yash Jain Avatar asked May 17 '16 07:05

Yash Jain


People also ask

How do I get my menu and toolbar back?

Press Alt + V on your keyboard to open the View menu. From the View drop-down menu, select Toolbars. Choose the Toolbars you want to enable and click OK.

How do I show the menu bar on android?

This is going to be in res/menu/main_menu . Right click the res folder and choose New > Android Resource File. Type main_menu for the File name. Choose Menu for the Resource type.

How do I restore my top bar?

Windows - Press F11 (or Fn + F11 ). Mac - Hover your mouse at the top of the screen, then click the green circle in the top-left corner of the screen when it appears.

How do I add the icon back to my toolbar on android?

If you're using the latest version of appcompat-v7 (21.0. 3 or higher), you can use R. drawable. abc_ic_ab_back_mtrl_am_alpha for back arrow drawable, which is included in support library.


1 Answers

If your Main Menu toolbar is hidden you can get it back by pressing Ctrl + Shift + N (or double tap Shift on Android Studio 4.x) and search for the View | Appearance: Main Menu Action. Toggle to ON to enable the menu again:

main menu action

like image 56
Wouter Verlaek Avatar answered Sep 26 '22 04:09

Wouter Verlaek