creating menu in Android -


i creating android application involves menu.can provide me sample code code of creating menu. in advance

tushar

http://developer.android.com/guide/topics/ui/menus.html

for pleasure, some code:

@override public void oncreatecontextmenu(contextmenu menu, view v,                             contextmenuinfo menuinfo) { super.oncreatecontextmenu(menu, v, menuinfo); menuinflater inflater = getmenuinflater(); inflater.inflate(r.menu.context_menu, menu); } 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -