github material-components/material-components-android 1.10.0-alpha02

16 months ago

Important

New minimum requirements for your app's project:

  • Update compileSdkVersion to "android-UpsideDownCake"

Dependency Updates

None

Library Updates

  • Predictive Back

    • Add ability to opt-out of back handling in SearchView 176ce5e
    • Make back helpers support generified View type 69b5386
    • Only use device corner radius if SearchView reaches edge of screen a93c91a
    • Update side container back helper to support containers with arbitrary child views 9405121
    • Added predictive back support for standard 562285e and modal f335a50 side sheets
    • Fixed subtle detached side sheet glitch where after predictive back the sheet did not fully slide off screen 52f1737
    • Added handleBackInvoked() predictive back support for coplanar side sheets. b984e64
    • Added updateBackProgress() predictive back support for coplanar side sheets 5ba704a
  • Badge

    • Added getters/setters for vertical and horizontal badge padding a0d0b53
    • Added attribute to automatically adjust badge so that it is within the anchor view's grandparent view's bounds b706506
    • Cleanup/fixes 4d50aa4
    • Fixed crash caused by non-ascii strings 532b65d
    • Fixed table formatting and remove unnecessary badge invalidation 44a97f4
  • Bottom sheet

    • Fix for detached from bottom sheet behavior 9c4b73d
    • Updated expanded corner removal to check if sheet view is actually at top of screen 1c01e82
    • Added method to allow programmatically changing shouldRemoveExpandedCorners behavior c8a0d47
  • Carousel

    • Fixed mutli-browse catalog demo crashing due to invalid position slider values 5bc7a50
    • Updated MultiBrowseCarouselStrategy to find best arrangments using a cost function 0184b5b
    • Fixed item masking for API 21 7bc26e5
  • Color

    • Code style update 1fd695c
    • Updated content-based dynamic with contrast levels b335436
    • Added ColorContrast API a6cf098
  • Dialog

    • Made dialog background color configurable in XML styles 77cdc1e
  • MaterialDatePicker

    • Updated screen width at which days size is 48dp in portrait mode ec511a5
    • Fixed time zone when custom text input format is set 619d5a6
    • Fixed ContentDescription for "DayName" not properly getting read by talkback for the German language 35bd1fc
    • A11y/i18n alignment f4d0f56
    • Added getTextColor to DayViewDecorator 29b59c2
  • Navigation View

    • Updated NavigationView to use ViewOutlineProvider to handle corner clipping when possible and remove drawerLayoutCornerClippingEnabled attribute c031144
  • Search

    • Made SearchBar and SearchView's container colors configurable in XML style cf006c5
    • Improve performance by preventing item change notifications during inflation 203d5ec
    • Updated search styles to set the default style attributes in the related theme overlay 9ffaa8d
    • Support stylus handwriting in SearchBar 884a454
    • Fix Search view prefix style e56e9b1
    • Updated SearchDemoUtils to mark the class and methods as public so that it can be resued 3b43d41
  • SideSheet

    • Removed the hasValue check for shapeAppearance to guarantee it always has a user value or default value to avoid NPE 5e427da
    • Fixed container color assigned to incorrect attribute a4c65d8
    • Added left/start modal sheet d0ad45e
    • Fixed side sheet swipe calculations in RightSheetDelegate 8ae8a37
  • Switch

    • Added support for setting thumb icon size 2e85f06
  • Tokens

    • Upgraded outdated token output in textfield & appbar d722a78
    • Integrated tokens and add shape appearance support in bottom navigation view 7bd9724
    • Integrated tokens in bottom sheets 86cd9d7
    • Integrated tokens and add shapeAppearance attribute in navigation rail 3b2b827
    • Integrate container color token in Snackbar 206928b
  • Text fields

    • Added API to set cursor colors for API 28+ c598ccd
  • Top App Bar

    • Removing keyboard scroll event workaround for AppBarLayou…t since CoordinatorLayout issue has been fixed in androidx.core:core:1.10.0 fdaff78
    • Updated to take a CSL as the AppBarLayout background color 6980c40

Full list of changes

1.10.0-alpha01...1.10.0-alpha02

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

NewReleases is sending notifications on new releases.