github material-components/material-components-android 1.2.0-beta01

4 years ago

Dependency Updates:

  • No dependency updates.

Library Updates:

  • Transitions/Motion
    • Update transitions to be based on androidx and add transitions platform subpackage to support Activities, Windows, etc. (e33c6d5)
    • Update MaterialContainerTransform to support drawing elevation shadows during transition (fc36640)
    • Update MaterialContainerTransformSharedElementCallback to support custom shape appearances (df977a0)
    • Add support for container transform start and end container colors (f095b0b)
    • Fix Activity container transform unexpected flash and fade (c27de09)
    • Fix container transform start delay flash (95d9320)
  • Slider
    • Split into two classes: slider and range slider (afcda08)
    • Fix slider tooltip in popupwindows (aab7100)
    • Fixed MaterialSharedAxis return transition (5b07d02)
  • ShapeableImageView
    • Support dynamic update of shapeappearance (4518be3)
  • TextInputLayout
    • Fixing crash when calling setBoxCornerRadii when edit text hasn't been added yet (d0f7d49)
    • Fixing end icon having unexpected behaviors when it's switched from another end icon mode (0631c53)
    • Adding setBoxBackgroundColorStateList method and fixing setBoxBackgroundColor method not changing focused and hovered states color like it did originally (7423884)
    • Adding setters and getters for boxStrokeWidth and boxStrokeWidthFocused attrs (008c199)
    • Flipping password icon behavior so that it shows the action (what's going to happen after the click)
      instead of the current status (36bdb70)
    • Add click listener for error icon (3738698)
  • MaterialDatePicker
    • Disable positive button when invalid or incomplete dates are selected (a310f90)
    • Fix check for date input keyboard separator characters for single selection mode (45fb932)
    • Fixed issue that causes the Datepicker to highlight wrong the day as today (0bbc848)
  • MaterialButtonToggleGroup
    • Single visible button corners (680619b)
  • MaterialRadioButton
    • Fix tint from theme attributes on api 21 + add test (7697699)
  • Set buttonBarButtonStyle in full Material Component themes to use
    @style/Widget.MaterialComponents.Button.TextButton (89f2248)
  • Talkback / Screen reader improvements
    • Latest version of Talkback now provides information about grouped context to screen readers (e.g. tabs will now announce x out of y tabs)

Breaking Changes:

  • Transition/Motion
    • Transition classes now extends AndroidX's Transition lib instead of the Framework version. Use platform sub-package for the Framework version.
    • Removed TransitionValues from VisibilityAnimatorProvider methods
    • Removed static create methods from MaterialFade, MaterialFadeThrough and MaterialSharedAxis in favor of regular constructors
    • Made several Transition classes final
    • Renamed MaterialSharedAxis#isEntering method to MaterialSharedAxis#isForward
  • MaterialDatePicker
    • Restricted visibility of customDatePicker method
  • Slider
    • Split into two classes, Slider and RangeSlider
  • ShapeableImageView
    • Change strokeWidth to float and support null for stroke color

Full set of changes: 1.2.0-alpha06...1.2.0-beta01

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

NewReleases is sending notifications on new releases.