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

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

-- 
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