Tuesday, November 22, 2011

Re: [android-developers] how to dismiss all contextMenus/submenus from an AlertDialog result


On Tue, Nov 22, 2011 at 7:42 PM, Edmund <chang.edmund@gmail.com> wrote:
I have an alert dialog i show after the user selects a certain menu
item. If the answer is 'yes' to the alert dialog it works fine as the
next menu that is shown is the submenu (looks like a context menu) for
that option.

That sounds like a very strange UI flow.
 
however, what i want to try to do is if the answer is 'no' to the
alerg dialog, i want to be able to not have the submenu show up. right
now there's nothing i can do to stop this submenu from showing up.

Then don't use a sub-menu. Use a secondary dialog that has a list of options - essentially the same thing.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment