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:

  1. Right click on res
  2. New --> Android Resource Directory
  3. 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:

Share:
13,589
riccardo airone
Author by

riccardo airone

Updated on July 23, 2022

Comments

  • riccardo airone
    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:

    enter image description here