2011-02-22 14:51, Mark Murphy skrev:
I had forgotten about that, sorry. However, have you tried that with
BACK, particularly since 2.0?
Um, isn't onCancelListener() what you are after. Works fine for me.
http://developer.android.com/intl/zh-CN/reference/android/app/AlertDialog.Builder.html#setOnCancelListener(android.content.DialogInterface.OnCancelListener)
See also setCancelable().
Best / Jonas
On Tue, Feb 22, 2011 at 8:32 AM, Kostya Vasilyev<[email protected]> wrote:
22.02.2011 15:58, Mark Murphy пишет:
so does that mean that I cannot use the builder -
Correct.
AlertDialog.Builder has had setOnKeyListener since API level 1:
http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setOnKeyListener(android.content.DialogInterface.OnKeyListener)
--
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