Nudges - Handling Invisible Containers

If there is an invisible container, please follow the below steps for Product Experience SDK to ignore that container:

  1. Add a file named tags.xml in the values folder of resources.

  2. Add the following lines in tags.xml:

<resources>
    <item name="hansel_ignore_view" type="id"/>
</resources>
  1. Add this as a tag to the transparent view which you want Product Experience SDK to ignore:
findViewById(R.id.viewToBeIgnoredId).setTag(R.id.hansel_ignore_view,true);

Did this page help you?