android - How to Add a Menu Without a Bar -


i've seen lot of applications there no actionbar there menu how? picture enter image description here how can create this

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

learn more ^

public void noactionbar(view v) {     popupmenu popup = new popupmenu(this, v);     menuinflater inflater = popup.getmenuinflater();     inflater.inflate(r.menu.actions, popup.getmenu());     popup.show(); } 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

c# - Update a combobox from a presenter (MVP) -

android - Unable to generate FCM token from dynamically instantiated Firebase -