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 -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -