disable the button on click. enable it on close event of the dialog or on some other appropriate event
But, if you are tapping with finger, how can you press more than once unwillingly? Regards Sarwar Erfan On Tuesday, January 4, 2011 9:37:53 PM UTC+6, ikalbeniz wrote: > > Hi, > > I have a button that opens a dialog box.. sometimes when i push the > button i press it more than once and opens more than one dialog box.. > is there any way to avoid this easily? > > Regards. -- 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