'Does View.IMPORTANT_FOR_ACCESSIBILITY_YES also affect descendants?
I use setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS) to disable the "important for accessibility" flag of a view and its descendants and later enable it again by calling setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES). Does that also enable the flag for the descendants of the view or only for the view itself?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
