mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
This fix resolves a regression where the corner morph animation in MaterialButtonToggleGroup was abrupt or interrupted in recent versions (1.14.0-alpha07+). The issue was caused by unconditional calls to setShapeAppearanceModel() during layout updates. This triggered a reset in MaterialShapeDrawable (due to stricter checks in recent optimizations), cancelling the ongoing animation. We added a check to compare the calculated corner sizes with the current button's shape. If they are effectively equal, the update is skipped to preserve the ongoing animation. Closes #4990
…
Material Components for Android
Material Components for Android (MDC-Android) help developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional Android apps.
Material Components for Android is a drop-in replacement for Android's Design Support Library.
Getting Started
For information on how to get started with Material Components for Android, take a look at our Getting Started guide.
Submitting Bugs or Feature Requests
For usage questions: ask on Stack Overflow.
Bugs or feature requests should be submitted at our GitHub Issues section.
Note: If your issue or feature request is for Material Jetpack Compose, please file it at the Compose Issue Tracker instead.
Useful Links
- All Components
- Getting Started
- Contributing
- Using Snapshot Version
- Building From Source
- Catalog App
- Class documentation (external site)
- MDC-Android on Stack Overflow (external site)
- Android Developer’s Guide (external site)
- Material.io (external site)
- Material Design Guidelines (external site)
Documentation
Description
Languages
Java
99.9%
Kotlin
0.1%