It does (but not on all devices, IIRC).

There are tricks you can play with subclassing AlertDialog, getting the
button references after calling super.onCreate and setting your own click
listeners. It works for me, but I don't know if this is really kosher. On
the other hand, I remember seeing code like that in the Settings
application.

--
Kostya Vasilyev
09.06.2011 1:56 пользователь "dashman" <erjdri...@gmail.com> написал:
> building a dialog with own layout.
>
> when i click on any of the positive/neutral/negative buttons,
> it closes the dialog...any way to stop that...i'm intercepting
> the onclicklistener but no sure what to set.
>
> also, is there any way to change the labels of any of the
> buttons from within the onclick listener.
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to