Are you sure that you are just opening a dialog? If you are doing some other computations and stuff before actually opening it you might have the UI locked..
On Tue, Jan 4, 2011 at 4:52 PM, ikalbeniz <[email protected]> wrote: > the problem is that sometimes it takes a lot of time to open the > dialog.. so i press more than one times because i think that i have > note pressed correctly... > > On Jan 4, 4:42 pm, Sarwar Erfan <[email protected]> wrote: > > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- YuviDroid Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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

