Skip to content

1.12.0

Compare
Choose a tag to compare
@leticiarossi leticiarossi released this 02 May 20:00

What's new since 1.11.0

  • Slider and Progress Indicator have been updated to better support Non-Text Contrast Accessibility requirements.
  • Predictive Back Fragment/View support added to Material motion transitions (MaterialSharedAxis, MaterialFadeThrough, MaterialFade, MaterialElevationScale).

Important

Required minSdkVersion is now 19 or higher, for Material and AndroidX (blog post).

Dependency Updates

Dependency Previous version New version
androidx.transition 1.2.0 1.5.0

Library Updates

  • Gradle
    • Update library minSdkVersion to 19. (1bbb43d)
    • Upgrade to //third_party/gradle to 8.4 (1756f23)
  • Carousel
    • Shifted keylines in contained strategies when there exists padding, and clipToPadding=false (1ef42e2)
    • Fixed Javadoc formatting error in FullScreenCarouselStrategy class documentation. (a0a1c6e)
    • Added support for cross axis wrap_content RecyclerViews (e88a1b9)
    • Added documentation recommending snapping for multi-browse strategy (9e64a1f)
    • Add attributes to change small item size (92a5444)
  • CollapsingToolbarLayout
    • Fix text shadow fading when transitioning between expanded and collapsed states (7674e12)
  • Checkbox
    • Updated string translations (198e08c)
  • Dialog
    • Unified scrim opacity in Material themes/theme overlays. (f3e4439)
  • Divider
    • Fixed divider instantly appearing or disappearing on insertion or removal (ef4a0c5)
  • i18n
    • Update translated strings (a8307ef)
  • MaterialDatePicker
    • Fix date validation on Samsung devices (5aa6edf)
  • MaterialAutoCompleteTextView
    • Enabled switch access in MaterialAutoCompleteTextView. (14a7b40)
  • NavigationDrawer
    • Fixed wrong item selected after click (a3af20a)
  • NavigationRail
    • Added label padding for when the label is long enough to reach the sides of the nav rail (2439dc0)
    • Increased padding in between items as per design specs (16eca7e)
  • Predictive Back
    • Animated corners during predictive back when no drawerLayoutCornerSize is set (c8b9b1c)
  • ProgressIndicator
    • Updated inactive track color from primary container to secondary container. (c8cb0c6)
    • Updated the setter of track thickness to not update track corner radius. (540f5ee)
    • Added the limit to not have stop indicator size bigger than track thickness. (689e04f)
    • Fixed the rounded ends overlapping bug with semi-transparent track/indicator color in Circular default style. (8167c11)
    • Removed the call to draw a transparent full track. (3f80fdb)
    • Flipped the canvas for different circular directions. (bcc27a3)
    • Split stop indicator drawing from indicator drawing. (76207cb)
    • Added ActiveIndicator to improve readability. (6fd920a)
    • Fixed ESCAPE animation in linear and added ESCAPE animation in circular. (98284e7)
    • Updated to use the same drawing delegate object between determinate drawable and indeterminate drawable to prevent inconsistent drawings when specs update. (52b4845)
    • Added missing graphics updates when spec changes. (93b3010)
    • Update styles for new Accessibility updates (15b533f)
    • Added static drawable for Circular type when system animator is disabled. (22e054b)
  • Search
    • Excluded icons from search bar handwriting bounds (387f59b)
    • Made searchbar_scrolling_view_behavior string public (ce386e4)
    • Updated string translations (198e08c)
  • SideSheet
    • Moved the modal side sheet default width/height into style so they can be customized
    • Updated string translations (198e08c)
  • Slider
    • Made tick size defaults to the stop indicator size if set (92bc02c)
    • Fixed incorrect style of stop indicators near handles (d61cffd)
    • Resolved issues that crash when assigning a large value to valueTo (4d1b9e5)
    • Updated the track drawing for some corner cases. (10484df)
    • Fixed ripple not transparent on API 33 (cd4f618)
    • Updated documentation (a641e18)
    • Updated styles (c218b3c)(3b278d7)
    • Fixed slider label not moving while scrolling (144b515)
  • Tabs
    • Fixed title being announced twice when there's a badge in TalkBack mode. (aaa7034)
  • Theming
    • Add NoActionBar dynamic color themes (81d1b77)
    • Update Shape Theming bottom sheet text color (8ca016f)
  • Tokens
    • Update tokens to v4.0.0. (88acfcd)
    • Added formatting to break long lines and differentiate different comments. (857d6a2)
  • TopAppBar
    • Use an accessibility delegate to add and perform actions (929c80f)
    • Fixed compress effect clipping on API 21-24 (2ac8c1c)
  • TextInputLayout
    • Limited the min height reset in text change listener only when line count changes. (9b9449c)
    • Fixed unnecessary min height when losing focus with multiple lines. (4a2654a)
  • Transitions / Motion
    • Updated androidx transition dep to version 1.5.0-beta01 (8c63848)
    • Added predictive fade through fragment transition demo to Catalog. (6092a7d)
    • Added titles to fade through demo fragments in Catalog. (104043c)
    • Added predictive transition support for fragments and views to the Material motion library, and enabled it in shared axis fragment transition demo. (8ccec33)

Full list of release notes

Full list of changes

1.11.0...1.12.0