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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -