[android-developers] Two methods of dialogs button tuning. What the difference

2011-01-28 Thread Aevea
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

Re: [android-developers] Two methods of dialogs button tuning. What the difference

2011-01-28 Thread TreKing
On Fri, Jan 28, 2011 at 6:22 AM, Aevea zi...@mail.ru 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