android - How can I create a Menu group after clicking a button? -
what want do, create menu checkeable items this:
but after clicking button or icon in main activity, can have different menus depending on button click. don't know if right component or have do.
i need sample button , after clicking it, creates kind of menu options.
thanks in advance.
there's several ways accomplish this. 1 way have layout
want use , use popupwindow. create type of look. create contentview
go inside it.
another way, if need more functionality, create separate activity
dialog theme
, put listview
or whatever need. have shown, popupwindow should work nicely you
Comments
Post a Comment