github material-components/material-components-android 1.2.1

4 years ago

Bug fix release

Library Updates

  • Slider
    • Added a warning message if the stepSize or any values are set to float values with a decimal to suggest using integers. (ec7f7cb)
    • Fixed the validation of the slider step size and values. (194a0aa)
    • Added XML enabled property to constructor attrs evaluation (86ab1ae)
  • BottomSheet
    • Fixed issue where peekHeight is more than the height of the contents (bb0bfe1)
    • Changed bottom gesture inset handling to ensure a minimum peek height with a buffer built in, instead of always adding the inset to the peek height (when gesture nav is enabled) (53d49e3)
    • Added missing defensive checks to viewDragHelper calls (775d286)
  • Transitions / Motion
    • Removed internal listener from container transform after transition ends. (42b03b3)
    • Improved MaterialContainerTransform approximation of native elevation shadows by using location of bounds on screen (c9e2ba0)
  • ShapeableImageView
    • Fixed shadows for non round rects (821bf26)
  • MaterialCardView
    • Fixed NPE if android:onClick is defined in the layout (475e63b)
  • NavigationView
    • Fixed obtaining Activity in setupInsetScrimsListener (8059ac1)
  • Other
    • Removed re-throw of exception on ViewOverlayApi14 (bc7b108)

Full list of changes
https://github.com/material-components/material-components-android/compare/1.2.0..1.2.1

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

NewReleases is sending notifications on new releases.