I want to add a submenu inside my OptionsMenu to a menuItem, programatically according to my parameters. I\'ve checked \"MenuItem\" in android sdk and there is no addSubMenu
The best way to do this is in your xml menu file. You can do this by creating a new menu object inside of an item:
menu
item
... ... ...