There isnt menu folder in android studio project
13,589
Solution 1
Not all folders are created automatically with new projects. If you need it, just press right mouse button while pointers is over res/
folder in your project and select New...
-> Directory
and name it menu
and then you put your menu XMLs inside that folder.
Solution 2
Following are steps to create Menu folder in res:
- Right click on res
- New --> Android Resource Directory
- Name your directory and set Resource type as Menu.
Your Menu is created.
Solution 3
Right-click on res folder → New → Android Resource Directory:
Select "Menu" from resource type:
Click OK:
Author by
riccardo airone
Updated on July 23, 2022Comments
-
riccardo airone almost 2 years
I am newbie with android and android studio.
I am following a book to learn android, I want to create a menu for my activity but in the project structure window, I am unable to find the menu folder and the sample menu files.
I attached a screenshot of my Project Explorer: