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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -