The suffix makes it clearer that the attribute is boolean.
This attribute was introduced in an alpha release, so it is fine to rename.
PiperOrigin-RevId: 193964290
Update default icon size from 0dp to 24dp. 24dp is a more reasonable default to be used in cases where itemIconSize is not set in the theme or style provided.
PiperOrigin-RevId: 193675565
Change attributes, setters, getters, resources, and tests for corner radii and box padding to use start/end instead of left/right. The goal is to make TextInputLayout more RTL friendly; beforehand, RTL use cases would have to directly call padding and corner radii methods with RTL values. After this change, TextInputLayout will determine whether it is in RTL mode and apply the relevant attributes appropriately.
PiperOrigin-RevId: 193565849
This commit adds feedback once the character counter limit is exceeded (ex: 11/10), and backs off for every other case to avoid spamming the user.
Also adds a content description with a detailed message to the counter view to make it clear what the overflow is.
PiperOrigin-RevId: 193397006
There is still a bug in ExploreByTouchHelper which will prevent accessibility focus again after the first time a chip gets focus.
PiperOrigin-RevId: 193393825
To make it clearer what the close icon does, use the chip text inside the actual content description, and change "close" to "remove".
If the chip text is not usable (ex: it's an input chip and only spaces were entered), the screen reader will read out "chip" in place of the chip's content.
PiperOrigin-RevId: 192823693
Set the BottomNavigationItemView to selected in setChecked to fix an issue where there was no feedback when a bottom nav item was selected. The solution here also allows for removing the override of onInitializeAccessibilityNodeInfo in favor of BottomNavigationItemView getting selection behavior "for free" from View.
PiperOrigin-RevId: 192717626
Override onInitializeAccessibilityNodeInfo to set the selected state based on whether or not the item is checked. It would be more intuitive to set the AcccessibilityNodeInfo to be checked, since the menu API used for bottom navigation uses checking as opposed to selection, but setChecked does not produce the desire behavior in talkback.
Before this change: Activated item is read out with no indication of its selected state.(ex: "Page 2")
After this change: Activated item is read out with "selected" before its label (ex: "selected, Page 2")
This new behavior is the same behavior seen in tabs.
PiperOrigin-RevId: 192696908