[android-developers] Re: Tap Outside Listener for Dialog

2009-05-11 Thread UBZack
Man... I can't believe I didn't see this before! :) Thank you! -Zack On May 2, 8:59 am, Jason Parekh jasonpar...@gmail.com wrote: If you want your dialog to cancel when the user taps outside its area, check out Dialog.setCanceledOnTouchOutside. jason On Thu, Apr 30, 2009 at 2:46 PM,

[android-developers] Re: Tap Outside Listener for Dialog

2009-05-02 Thread Jason Parekh
If you want your dialog to cancel when the user taps outside its area, check out Dialog.setCanceledOnTouchOutside. jason On Thu, Apr 30, 2009 at 2:46 PM, UBZack zferv...@gmail.com wrote: Hi all, I was wondering if anyone knew of an event listener that receives tap outside events, that is,

[android-developers] Re: Tap Outside Listener for Dialog

2009-05-01 Thread UBZack
That should do the trick, thanks for your help! On Apr 30, 4:24 pm, Jeff Sharkey jshar...@android.com wrote: So Theme.Dialog Activities still receive onTouchEvent() calls, even outside of their floating window area.  If you can grab the exact window size, you could do the math to figure out

[android-developers] Re: Tap Outside Listener for Dialog

2009-04-30 Thread Jeff Sharkey
So Theme.Dialog Activities still receive onTouchEvent() calls, even outside of their floating window area. If you can grab the exact window size, you could do the math to figure out if touches are outside the window. j On Thu, Apr 30, 2009 at 11:46 AM, UBZack zferv...@gmail.com wrote: Hi