Menu resource

A menu resource defines an application menu—an options menu, context menu, or submenu—that can be inflated with MenuInflater.

For a guide to using menus, see Add menus.

file location:
res/menu/filename.xml
The filename is used as the resource ID
compiled resource datatype:
Resource pointer to a Menu (or subclass) resource
resource reference:
In Java: R.menu.filename
In XML: @[package:]menu.filename
syntax:
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:id="@[+][package:]id/resource_name"
          android:title="