github material-components/material-components-android 1.10.0-alpha04

17 months ago

Important

New minimum requirements for your app's project:

  • Update compileSdkVersion to 34

Dependency Updates

Dependency Previous version New version
compileSdkVersion android-UpsideDownCake 34
androidx.activity - 1.8.0-alpha05
androidx.resourceInspectionAnnotation - 1.0.1
androidx.resourceInspectionProcessor - 1.0.1
org.jetbrains.kotlin:kotlin-bom - 1.8.22

Library Updates

  • BottomSheet
    • Updated bottom sheet documentation (af1fa70)
  • Carousel
    • Ensure that masks are pushed out beyond the parent bounds if they are on the parent bounds (9486de5)
    • Carousel updates and fixes (16c1575)
    • Fixed contained mask logic to only update masks when it is still in view, and remove restrictions on mask size with childWidth/2F. The only restriction is that the right of the mask must be greater than the left of the mask. (7d6a977)
    • Fixed multi browse strategy clipping extra small items before being fully collapsed (85b6d50)
    • Added Carousel Hero strategy demo (b57dae5)
    • Added Hero carousel strategy (340cd44)
  • Dialog
    • Updated DialogWhenLarge theme to have correct parent theme (dae89b7)
  • Documentation
    • Revised version guidance for Search usage. (0bcb570)
  • Material 3
    • Fixed harmonization demo bug (836c51e)
    • Updated Color doc (d7f9a06)
    • Updated content-based dynamic colors (a511501)
  • MaterialButton
    • Set up Android Studio resource inspection annotation and annotation processor, and add @Attribute annotation to MaterialButton#getIconPadding (2b5c75f)
  • MaterialDatePicker
    • Allow client app to access user selected inputMode (4d80434)
  • NavigationRail, BottomNavigationView, NavigationView
    • Add itemTextAppearanceActiveBoldEnabled attr (022e217)
  • NavigationRail
    • Added bigger padding in between items on the navigation rail when font scale is large so there is more room for the badges when they are forced inside the view bounds (8b016a0)
  • Predictive Back
    • Updated components to use BackEventCompat (a67a885)
    • Made MaterialMainContainerBackHelper collapsedView optional (fb56ab4)
    • Fixed issue on Android U where clicking SearchView back button causes SearchBar to disappear and back arrow animation to not run (e69a324)
    • Dev doc updates (82a91c8, 47c307d)
  • SideSheet
    • Fixed SideSheetDialog documentation class definition and source links (e4d0fd3)
    • Aligned close affordance and title text along the baseline rather than the top. (7a3f30b)
    • Mapped close affordance to ?attr/colorOnSurfaceVariant in catalog. (7ee0b72)
    • Added links to class definitions in Side Sheet documentation and revised version guidance. (d005ad7)
    • Changed side sheet child containers in Catalog from LinearLayouts to FrameLayouts. (690cd5d)
    • Changed side sheet title text appearance to Title Large. (a0d4fa0)
  • TimePicker
    • Fixed crash when clicking OK/Cancel/Icon on text input mode due to hiding keyboard (1fcde2c)
  • Other
    • Updated to compileSdkVersion 34 and update catalog to use androidx.activity:activity:1.8.0-alpha05 (2336c23)
    • Fix kotlin version alignment (fc6f0a2)
    • Update library version to 1.10.0-alpha04 (9123e4f)
    • Replaced BuildCompat#isAtLeastU() method calls with explicit SDK checks for UPSIDE_DOWN_CAKE. (f2e70d2)

Full list of changes

1.10.0-alpha03...1.10.0-alpha04

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

NewReleases is sending notifications on new releases.