Working on Android Menus – UI Widget

Posted on .
Option Menu

Android Menus is one of the best Part in Android Apps . As a Android developer we should use it whenever we need Views which are not so important like “About us”,”Like and share” etc. Lets explore –

Download Code

STEPS – 

1) .  create new project in eclipse IDE  , goto File => New => Android Project . Give your desire Project Name .

2). create menu.xml under Layout folder .

menu.xml

main.xml

AndroidMenusActivity.java is your main activity in which you will inflate the menu .

Final Output

Output

Final Output

 

Now RUN your project and for queries and errors do post happy coding 🙂