In an XML file, create an Android Options Menu:
- To design an options menu in Android, we must create a new folder menu within our project resource directory (res/menu/) and a new XML (menu example) file to build the menu. The example of defining a menu in an XML file (menu example. xml) is shown below.
Share a personalized message with your friends.