github material-components/material-components-android 1.7.0-beta01

2 years ago

Important

New minimum requirements for your app project:

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
    • Disable drag handle when restricting expansion (d4da5b1)
    • Handle half-expanded state when drag handle clicked (f0e6625)
  • Catalog
    • Updated Catalog preferences demo to use MaterialSwitch (f82e727)
    • Updated catalog preferences for shape corner sizes. (f162494)
    • Fixed corner family options in preference. (f6942a4)
  • 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
    • Updated catalog to remove M2 options (048c35d)
    • Updated docs (be86168)
    • Small bugs and padding adjustments (949f623)
  • 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)

Full list of changes

1.7.0-alpha03...1.7.0-beta01

Don't miss a new material-components-android release

NewReleases is sending notifications on new releases.