That's not what you want.  Please read the docs, the code you are
using is clearing all of the other flags:

http://code.google.com/android/reference/android/view/Window.html#setFlags(int,%20int)

On Jul 10, 5:25 am, Disco Stu 010 <[EMAIL PROTECTED]> wrote:
> Hi Hackbod,
>
> Thanks a bunch. That fixed it.
>
> The method setFlags() has a second argument to it called mask, it  
> works when I pass it 0xffffffff and not 0. I take it that is expected.
>
> Thanks,
> DS.
>
> On Jul 9, 2008, at 5:18 PM, hackbod wrote:
>
>
>
> > You can do this to make it non-modal for touch events:
>
> > Dialog
> > .getWindow
> > ().setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL);
>
> > On Jul 9, 8:09 am, Disco Stu 010 <[EMAIL PROTECTED]> wrote:
> >> Hi,
>
> >> Have a question w.r.t the Dialog object. Is it at all possible to  
> >> have
> >> a Dialog object overlaid on an Activity such that if a touch event is
> >> registered outside the bounds of the Dialog, then the event is sent  
> >> to
> >> the View behind the Dialog. From what little experiments I have done,
> >> it appears that a Dialog is completely modal and consumes every event
> >> on the screen. There does not seem to be a way to hand the event off
> >> to other view objects.
>
> >> Any thoughts?
>
> >> Thanks,
> >> DS.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to