menu directory is missing

后端 未结 5 756
有刺的猬
有刺的猬 2020-12-14 17:15

I\'m a very new programmer in Android. I\'m trying to define an action overflow button in my app. From what I\'ve read it involves modifying the menu.xml file.

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 17:35

    Right click on res and you will android resource directory ->give directory name ->give resource type as menu : a menu folder will be created inside res, now right click on menu->new-> menu resource file->file name-> ok . Now you see the menu xml file inside res/menu/yourfile.xml

提交回复
热议问题