Stopping a tap from passing through to a widget

Hi,

I’ve started using widgets recently (2.0), but I want to pull up a dialog in front of them. Usually I can do that and just catch the tap event with the dialogbox background to prevent items under it from being clickable, but that doesn’t seem to work with widgets - is there a simple way to handle this without putting code into each of the widgets to sense dialogs?

Thanks,

Nathan.

Hi Nathan,

In your scenario, can you “catch” and void interaction with the dialogbox background using a “touch” listener (with “return true”) instead of “tap”? That should prevent all sensory input from going past the background.

Brent

Perfect - thanks.

Hi Nathan,

In your scenario, can you “catch” and void interaction with the dialogbox background using a “touch” listener (with “return true”) instead of “tap”? That should prevent all sensory input from going past the background.

Brent

Perfect - thanks.