Skip to content

Close Policy Documentation

Christian Caballero edited this page Jul 17, 2019 · 3 revisions

The close Policy will be explained so:

Touch:

INSIDE => hides when clicked INSIDE the tooltip

OUTSIDE => hides when clicked OUTSIDE the tooltip


Consume:

Consume the click on the view, so no click is propagated to the rest of the below views.

False -> When clicking will pass the touches too on the below items

True -> When you try to touch or do a gesture this will not act to your touches


Resumed:

TOUCH_ANYWHERE_CONSUME: Hide on any touch and no elements below will be touched

TOUCH_ANYWHERE_NO_CONSUME: Hide on any touch and the touch will propagated to below views

TOUCH_INSIDE_CONSUME: Hide on tip touched and no other views will be touched

TOUCH_INSIDE_NO_CONSUME: Hide on click inside BUT the elements below will be clicked too

TOUCH_NONE: Will be not dismissed on any touch, will block the view because consume the touch

TOUCH_OUTSIDE_CONSUME: Hide when clicked outside the tip but NO other view will be touched

TOUCH_OUTSIDE_NO_CONSUME: Hide when clicked outside the tip and but other view will be touched

Clone this wiki locally