mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-04 00:44:14 +08:00
- Allow single digit badges to be non-circular if the label text is too big horizontally. - Change maxCharacterCount to truncate both strings and numbers, and add new attribute maxNumber to truncate only numbers - Updated maxCharacterCount so that if it doesn't exist, it does not truncate instead of defaulting to a value Resolves https://github.com/material-components/material-components-android/pull/3321 GIT_ORIGIN_REV_ID=a8f5866eef5ffd4d949b8c6d7f1451b563536a6e Co-authored-by: imhappi PiperOrigin-RevId: 523453145