github material-components/material-components-android 1.10.0-alpha01

21 months ago

Important

New minimum requirements for your app's project:

  • Update compileSdkVersion to "android-UpsideDownCake"

Dependency Updates

Dependency Previous version New version
compileSdkVersion 33 android-UpsideDownCake
com.android.tools.build:gradle 7.2.0 7.4.2

Library Updates

  • Predictive Back
    • Updated SearchView to support predictive back when set up with SearchBar (a4b6f46)
    • Fixed bug where standard hideable bottom sheets don't stay hidden after predictive back (2c23d2a)
    • Added top-level developer documentation (8105cb7)
    • Updated Bottom Sheet to support predictive back (d6fad95)
    • Infrastructure for back handling in components + Navigation Drawer predictive back support (2c297fa)
    • Migrated Catalog to use AndroidX back pressed callbacks and enable predictive back-to-home (22c4e0d)
  • Badging
    • Allowed text strings in badges (c1ef52b)
    • Center badge content more correctly (fc0de1b)
    • Added padding in between top and bottom edges of badge and text (8499b83)
    • Fixed doc formatting for github (e75654d)
    • Integrated tokens (68c844c)
    • Added shape appearance for badges (2ddcfe4)
    • Updated badge images (c1eba1b)
  • BottomAppBar
    • Fixed bug with transparent top app bar when in bottom app bar layout (c22eb0d)
    • Fixed issue with pre-21 FAB elevation/shadow sometimes appearing (2ea3df9)
  • BottomSheet
    • Ignored ACTION_MOVE events in BottomSheetBehavior that weren't preceded by an ACTION_DOWN event. (d8c01c1)
  • Carousel
    • Added support for transitions by forcing canvas clipping when detaching from the window. (93ceb7e)
    • Updated MaskableFrameLayout to use Outline path clipping on 33+ only. (43c5077)
    • Updated setForceCompatClipping visibility for testing. (3856af1)
    • Updated MaskableFrameLayout to clip more performantly. (733c9e0)
    • Changed Maskable.add/removeOnMaskChangedListener to Maskable.setOnMaskChangedListener. (359580b)
    • Fixed child index bug causing items to be ordered incorrectly. (9d0732b)
  • Catalog
    • Fixed catalog errors for some demos. (4c3e1d5)
    • Fixed context menu are not themed on S (33e4f84)
  • Checkbox
    • Fixed checkmark icon not updating color on error correctly in pre 21. (62aa802)
  • Chip
    • Fixed hand pointer icon not showing up on whole Chip when using mouse input (2702b1a)
    • Added theme overlays supported on API < 23 (fd0c815)
  • Color
    • Added U color resources for contrast mode support. (93f386c)
  • FloatingActionButton
    • Correctly handle min touch target size (d6f36e8)
  • Material 3
    • Fixed a crash in search components when view attributes inspection dev setting is turned on. (1159923)
    • Color Component demo update (2aa1cf3)
    • Color Component demo update (c786582)
  • MaterialDatePicker
    • Made dialog container color configurable in xml style. (7b2c19b)
    • Fixed hint for Korean (bcc97bf)
    • Integrated tokens. (30ea33e)
    • Fixed keyboard not showing at first in text input mode (4032a74)
  • NavigationRail
    • Added attribute to control the application of start window inset padding. (3f99392)
    • Fixed active item focused state color not being visible. (1d2a59b)
  • NavigationView
    • Removed canvas clipping by default and added an option to enabled/disable manually (e3b493f)
  • SideSheet
    • Added LeftSheetDelegate and left sheet support for standard and coplanar side sheets. (78fa157)
  • Tabs
    • Fixed issue with indicator not being drawn when viewpager starts scrolling before onLayout is called (34d6a14)
  • TextInputLayout
    • Made collapsed hint aligned with prefix and suffix text (d9b97b4)
  • TimePicker
    • Made dialog container color configurable in xml style. (5f542c8)
  • Tokens
    • Updated to v0.162 for a new target. (0be665c)
    • Upgraded to v0.162. (9f1caa2)
  • TopAppBar
    • Fixed dragging the app bar layout overshoots the status bar. (b3f7b66)
    • Added support to pass toolbar style. (cdda1fc)
    • Fixed bug in AppBarLayout that refreshes all its children's drawables instead of just its own (21a7aff)
  • Other
    • Updated to AGP 7.4.2 to get latest lint and fix Android U lint issues (5a37e4b)
    • Updated library version to 1.10.0-alpha01 (c7d31fb)
    • Minor fix. (dfbf4d9)
    • Upgraded to 7.6.1. (500c8eb)
    • Updated gradle-wrapper.jar (bb2716f)
    • Updated string translations (5689ce2)
    • Updated compileSdkVersion to android-UpsideDownCake (3fb6bb2)

Full list of changes

1.9.0-alpha02...1.10.0-alpha01

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

NewReleases is sending notifications on new releases.