To add sub-menus to Menu button in android
<p>I want to add action on clicking the Menu button on Android device. Suppose user is seeing Graph (one activity) now and he wants to switch to Charts. When user clicks the Menu button it has to show submenu say "Chart" this will be another activity. and then the user will switch to Charts.
How i can accomplish with this? can anybody guide me?</p>
