setContainerTitle
Sets the container title for app-developer-defined container which can be any type of ViewGroup or layout. Container title will be used to group together related controls, similar to HTML fieldset. Or container title may identify a large piece of the UI that is visibly grouped together, such as a toolbar or a card, etc.
Container title helps to assist in navigation across containers and other groups. For example, a screen reader may use this to determine where to put accessibility focus.
Container title is different from pane titlesetPaneTitle which indicates that the node represents a window or activity.
Example: An app can set container titles on several non-modal menus, containing TextViews or ImageButtons that have content descriptions, text, etc. Screen readers can quickly switch accessibility focus among menus instead of child views. Other accessibility-services can easily find the menu.
Compatibility:
- API <19: No-op
Parameters
The container title that is associated with a ViewGroup/Layout on the screen.