i want use menu to show popupwindow and close it.
but when Popupwindow setFousable,my menu could't close it
anyone could fix it ?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
hey all!
meet a question about menu.
i want to push a button to pop-up menu,
my coding is
case R.id.menus:
if(myMenu==null) {
myMenu.add(0, 0, 0,
Add).setIcon(R.drawable.addfolderr);
myMenu.add(0, 1, 0,
i want to realize button pop-up optionmenu,
i write a button setOnClickListener, check this could pop-up menu ,
how to made it?
my code is:
case R.id.tools:
if(myMenu==null) {
myMenu.add(0, 0, 0,
Add).setIcon(R.drawable.addfolderr);
3 matches
Mail list logo