Important
New minimum requirements for your app project:
- Update to Android Gradle Plugin (AGP) version 7.2.0
- Update to Gradle version 7.3.3
- Update to Java 8 (version 1.8)
- Update to Android Studio Chipmunk, version 2021.2.1
- Update compileSdkVersion and targetSdkVersion to 32
What's new
- Updated
MaterialCheckBox
component with indeterminate state support! - New icon-only styles for
MaterialButton
component! - Updated
MaterialCheckBox
component with indeterminate state support! - New
MaterialSwitch
component! (Spec) - Updated
BottomAppBar
component! (Spec)
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.appcompat | 1.5.0-beta01 | 1.5.0 |
Library Updates
Divider
- Fixed lastItemDecorated not being applied to horizontal orientation. Also updated the demo to include both orientations. (92caa19)
BottomSheet
Catalog
TopAppBar
- Fixed bug in HeaderScrollingViewBehavior that causes child translation Y not to be reset to default if the behavior is changed from an overlapping to non-overlapping behavior in layoutParams.setBehavior (00c62d2)
Checkbox
- Fixed pre 21 issue where the icon did not update its color according to its state properly (2cc8932)
- Updated checkbox documentation. (130a35c)
- Added indeterminate state support to the checkbox. (4da7ce1)
- Fixed icon color not updating correctly in light mode in pre 21. (a5f8e93)
- Fixed pre-21 issue where a child of the layer drawable (the button and/or the icon drawables) may not have its constant state set up properly. (f76b75a)
- Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used. (04fed55)
- Updated checkbox to M3 look. (1666fbc)
Slider
- Fixed NPE when trying to remove labels when ViewOverlay doesn't exist yet (95e585c)
Badging
- Fixed NPE in BadgeState (4f844ab)
Switch
- Updated doc with the new switch design (f469720)
Documentation
- Updated typography guideline to M3. (104a342)
BottomAppBar
Color
- Added additional condition to check dynamic color supported devices (81c2ded)
ExposedDropdownMenu
- Fixed missing icon activated color. (3af5784)
Button
- Added support for toggleable Icon buttons. (631f0eb)
Other
- Added defensive null check for typeface passed in to util (2e815d2)