On Fri, Jan 28, 2011 at 6:22 AM, Aevea <[email protected]> wrote:

> There is two methors to add buttons to AlertDialog
> 1. using AlertDialog.Builder and calling builder.setPositiveButton
> or setNegativeButton
> 2. using AlertDialog dialog; dialog.setButton dialog.setButton2.
> What the difference
>

Probably nothing.


> By the way, if I inherit my class from Dialog should I override
> all constructors, or only one
>

You should override the ones you need to use.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/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 [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