Thanks, Dianne!


> You could try attaching a key listener that consumes the search key.

Could you point me in the right direction?  How can I attach a key
listener to a dialog returned from AlertDialog.Builder?

As, obviously,I have access to the parent Activity, can I do something
there?  Wouldn't be ideal, because I went throught a large effort to
decouple my dialogs from the parent activities, but if that's the only
solution...



> I agree it is dumb for it to be dismissing itself when the key is pressed.
>  I think this is left-over from when the search key used to always to a
> global search, so it would be a switch into the search UI and dialogs would
> dismiss to clean things up a bit.  It doesn't make sense how things are now.
>

I will create a bug report for non-cancelable dialogs, which should
not be dismissable like that.

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

Reply via email to