Skip to content

Releases: material-components/material-components-android

1.10.0-alpha04

15 Jun 18:18
Compare
Choose a tag to compare

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

1.10.0-alpha03

17 May 19:47
Compare
Choose a tag to compare

Important

New minimum requirements for your app's project:

  • Update compileSdkVersion to "android-UpsideDownCake"

Dependency Updates

Dependency Previous version New version
appCompat 1.5.0 1.6.1

Library Updates

  • ExposedDropdownMenu
    • Added attribute to set dropdown menu's container. (1562d0b)
  • Color
    • Updated content-based dynamic colors (e9b485d)
    • Temporarily remove v34 Android U color references which could be causing resource NotFoundExceptions (2a1a67f)
  • Carousel
    • Refactor to reuse logic between different Carousel strategy classes (1c27404)
    • Add CarouselSnapHelper (8938da8)
    • Add option for snapping with multi-browse carousel demo (26c3779)
  • Catalog
    • (deps): Bump com.google.dagger:dagger-android-support from 2.45 to 2.46 in /catalog (8ff92eb)
    • (deps): Bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 from 1.8.20 to 1.8.21 in /catalog (310c7c5)
    • (deps): Bump com.google.dagger:dagger-compiler from 2.45 to 2.46 in /catalog (d1d1165)
  • MaterialDatePicker
    • Fix crash when clicking OK/Cancel on text input mode due to hiding keyboard (7ccf670)
  • Documentation
    • Adds Search class definition link to Search documentation. (e157608)
  • Search
    • Fix expand/collapse animation for non-predictive back cases where rootView bounds are not equal to searchView bounds (577d23e)
  • SideSheet
    • Fixed modal sheet slide offset formatting bug in catalog. (87a45a2)
    • Renamed private references of "origin" to "inner" in SheetDelegate and related delegate classes. (ad9ad20)
  • Other
    • Update library version to 1.10.0-alpha03 (11b8da4)

Full list of changes

1.10.0-alpha02...1.10.0-alpha03

1.9.0

04 May 20:20
Compare
Choose a tag to compare

What's new since 1.8.0

Dependency Updates

  • No dependency updates.

Library Updates

  • Badge
    • Added shape appearance for badges (89a2a64)
    • Updated M3 style to match specs - alignment tweaks and text appearance changes (3c1ac05)
    • Added new 'offsetAlignmentMode' attribute that determines where the offset starts for the badge (d0d0f54)
  • BottomSheet
    • Added animation for bottom sheet position when keyboard is shown using WindowInsetsAnimationCompat API (697d93a)
  • Carousel
    • Added developer documentation (be9f16c)
    • Released carousel component (4ecba81)
  • Color
    • Added new theme attributes for fixed accent colors. (4f3dc3e)
    • Added tonal surface color theme attributes and updated themes. (989d574)
    • Added support for missing color roles. (169bbca)
    • Added framework color roles support for content color (ce68ec6)
  • SideSheet
    • Added detached variant of modal side sheet. (ad3cf5a)
    • Added detached variants of standard and coplanar sheets. (938105a)
    • Added modal side sheet documentation. (2e9b39f)
  • Slider
    • Added mouse support for slider control. (93f8ffb)
    • Added API for setting the radius of active/inactive tick in xml and Java. (7bbbe39)
  • Tokens
    • Introduced new accent color tokens. (dac9450)

Full list of changes

1.8.0...1.9.0

Full list of release notes

1.10.0-alpha02

01 May 20:28
Compare
Choose a tag to compare

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

1.9.0-rc01

13 Apr 18:32
Compare
Choose a tag to compare

What's new

  • Carousel is now available for use in RC!

Dependency Updates

  • No dependency updates

Library Updates

  • Carousel
    • Fix item masking for API 21 (3514524)
    • Updated MultiBrowseCarouselStrategy to find best arrangments using a cost function (93913a4)
    • Fixed mutli-browse catalog demo crashing due to invalid position slider values. (48fd6d2)
    • Add support for transitions by forcing canvas clipping when detaching from the window. (88e1688)

Full list of changes

1.9.0-beta01...1.9.0-rc01

1.10.0-alpha01

30 Mar 20:35
Compare
Choose a tag to compare

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

1.9.0-beta01

16 Mar 18:35
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates.

Library Updates

  • Badging
    • Integrating tokens (842df49)
    • Add shape appearance for badges (89a2a64)
  • Carousel
    • Updated MaskableFrameLayout to use Outline path clipping on 33+ only. (14535c5)
    • Updated setForceCompatClipping visibility for testing. (b0c1edf)
    • Updated MaskableFrameLayout to clip more performantly. (a4669fd)
    • Changed Maskable.add/removeOnMaskChangedListener to Maskable.setOnMaskChangedListener. (67956ee)
    • Fixed child index bug causing items to be ordered incorrectly. (668f03e)
  • Documentation
    • Fix doc formatting for github (78dd5cc)
  • Tabs
    • Fix issue with indicator not being drawn when viewpager starts scrolling before onLayout is called (a84bd90)

Full list of changes

1.9.0-alpha02...1.9.0-beta01

1.9.0-alpha02

21 Feb 19:04
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates.

Library Updates

  • A11y
    • Updated accessibility class name (8656683)
  • Badging
    • Updated M3 style to match specs. Alignment tweaks, text appearance change (3c1ac05)
    • Added new 'offsetAlignmentMode' attribute that determines where the offset starts for the badge. (d0d0f54)
  • BottomNavigationView
  • BottomSheet
    • Made scrollable content demo behave consistently in edge-to-edge mode (3e6a196)
    • Animate bottom sheet position when keyboard is shown using WindowInsetsAnimationCompat API (697d93a)
  • Carousel
    • Restricted MultiBrowseCarouselStrategy's forceCompactArrangement constructor (112a0bd)
    • Implemented smoothScrollToPosition (6166e73)
    • Fixed scroll offset calculation error when last focal keyline comes after the last child (220415d)
    • Fixed MultiBrowseCarouselStrategy method visibility. (795979c)
    • Renamed Maskable.getMaskRect to Maskable.getMaskRectF (4b1a890)
    • Renamed CarouselConfiguration to CarouselStrategy (fc0f53a)
    • Updated CarouselConfiguration visibility and improved documentation (85c006b)
    • Changed CarouselConfiguration to have an empty constructor and pass Carousel in through onFirstChildMeasuredWithMargins (8014267)
    • Improved documentation and throw when CarouselLayoutManager children are not Maskable. (67b251a)
    • Updated to support MaterialDivider and added helper for getting the bounds of a masked item from the layout manager. (e32e625)
    • Updated assets for Carousel demo (0dd220a)
    • Fixed explore by touch causing list to scroll (1a25706)
    • Fixed MultiBrowseCarouselConfiguration javadoc (26697c3)
    • Removed CenteredCarouselConfiguration. (ff48bc5)
    • Added a11y focus scrolling support (0f179b3)
  • Catalog
    • Fixed flickering color fill in preferences demo (2e7979b)
  • CollapsingToolbarLayout
    • Fixed issue with multiline title text flickering when titleCollapseMode=fade (bdb6f5d)
  • Color
    • Added new theme attributes for fixed accent colors. (4f3dc3e)
  • Documentation
    • Updated color.md to have better java/xml code snippet formatting (5eafe9b)
  • MaterialDatePicker
    • Fixed broken layout when custom description is used (56f816c)
    • Fixed NPE (2cef555)
  • ProgressIndicator
    • Fixed linear progress indicator with corner radius (0ce6ae4)
  • Search
    • Fixed anatomy search bar documentation (122ab7a)
    • Fixed expand/collapse animation for large screen devices (e2636ff)
  • SideSheet
    • Modularized side sheet demo. (8c2b511)
  • Snackbar
    • Fixed the snackbar position when the anchor view layout listener is enabled (abd1d1c)
  • Tabs
    • Fixed scrolling issue when using scrollable tab layout with ViewPager (e9246ed)
  • TextInputLayout
    • Fixed cutout not working when backgroundTint is set (25b3c2b)
  • TimePicker
  • Tokens
    • Introduced new accent color tokens. (dac9450)
    • Updated to v0.157. (23dc14c)
  • TopAppBar
    • Added app:layout_scrollEffect to public attributes. (b3f32d4)
    • Added AbsListView to views that support nested scrolling (80ec5cc)
    • Override inflateMenu() to stop dispatching item changes during inflation for a performance improvement (86600c2)
  • Transitions / Motion
    • Updated motion documentation to include motion subsystem (73678f5)

Full list of changes

1.9.0-alpha01...1.9.0-alpha02

1.8.0

24 Jan 23:06
Compare
Choose a tag to compare

What's new since 1.7.0

  • Brand new Side Sheet component with standard, modal and coplanar variants! Check out the Side Sheet design guidance and developer documentation for more details.
  • Brand new Search component! Check out the Search design guidance and developer documentation for more details.
  • Integrated tokens for Bottom Sheet, Checkbox, Chip, Dialog, Divider, MaterialButton, NavigationRail, ProgressIndicator, Slider, Switch, Tabs, and TextInputLayout.

Dependency Updates

Dependency Previous version New version
ext.kotlinVersion 1.3.50 -
errorproneVersion - 2.15.0
compileSdkVersion 32 33
targetSdkVersion 32 33

Library Updates

  • A11y
    • Improve date input validation feedback follow up (1200e25)
    • Improve date input validation feedback (f394903)
    • Improve TalkBack focus order when selecting a day (dff70c0)
    • Improve date selection announcements (5c5b1e8)
    • Announce start/end dates (2f9844b)
    • Announce current year and day (c6539f2)
    • Fix TalkBack announcements when switching between year/day selection views (62b2b19)
    • Announce selection (be8b8d4)
    • Improve focus handling (ceacaa6)
    • Request focus on search menu when showing (968e035)
    • Fix focus when changing input mode (eca825f)
    • Update hour content description for 24h clock (ee19b01)
    • Make Clock text scale with system font size (e9fc0a0)
  • Badging
  • BottomAppBar
    • Request layout for FAB when BAB changes so that FAB will always be aware of BAB changes (10fe695)
    • Add attribute to remove shadow on container (1322e61)
    • Added the handle to the bottom sheet. (4c11606)
    • Update motion specs for show/hide bar (fdd8dae)
    • Updating catalog to remove M2 options (8bec167)
    • Small bugs and padding adjustments (63f98bf)
  • BottomNavigationView
    • Remove elevation shadows (e393748)
    • Updated active text label to use a bold typeface. (11e98f2)
    • Fix hardcoded number of children (a2ce1dd)
  • BottomSheet
    • Update motion attributes for bottom sheet dialog animation (1cdb371)
    • Token integration (e474cf4)
    • Update elevation to match specs (617e582)
    • Sync custom actions with drag handle views (0804031)
    • Only remove round corners in M3 styles when it's fullscreen (6631abb)
    • Add shouldRemoveExpandedCorners attribute (6e6c53a)
    • Add method to calculate slide offset (2958d8d)
    • Add attribute for significant velocity threshold (d845db8)
    • Corrected guidance to use modal bottom sheet default style theme attribute for standard bottom sheets and added a callout explaining that there is no default style theme attribute for standard bottom sheets. (4865639)
    • Disable drag handle when restricting expansion (c9e855e)
  • Catalog
    • Fix incorrect time stamps (305e19d)
    • Updated search demo to change search bar hint (fafee33)
    • Updated Catalog demo to change search bar/view demo title. (df85be2)
    • Applied edge-to-edge to preferences bottom sheet (c440d86)
    • Add themed icon (45a569f)
    • Add input mode selector (09f1ee5)
    • Fix navigation bar overlaps ui #2927 (5c2eb45)
    • Replace android.support dependencies with androidx (3d32f73)
    • Update date picker demo text appearances to M3 (c19efa0)
    • Updated button demo to provide the correct content description for icon only buttons. (2697e0f)
    • Added search/filter functionality to MDC Catalog. (549fe19)
    • Fix the favorite icon vertical alignment on demo landing rows (745acfd)
    • Update Catalog preferences demo to use MaterialSwitch (229eb9d)
    • Fix favorite row button alignment in lower apis. (849be73)
    • Updated catalog preferences for shape corner sizes. (3daa028)
  • Checkbox
    • Update unselected outline color to ?attr/colorOnSurfaceVariant to match tokens. (5d261f5)
    • Integrated tokens (e67e68d)
    • Fixed NPE crash due to layer drawable's constant state issue in APIs < 23. (b8e1b57)
    • Fix a11y announcement for indeterminate state. (6f474b3)
    • Fixed pre 21 issue where the icon did not update its color according to its state properly (ccf67f7)
    • Added indeterminate state support to the checkbox. (8f149b1)
    • Fixed icon color not updating correctly in light mode in pre 21. (a4d6f51)
    • Fix pre-21 issue where a child of the layer drawable (the button and/or the icon drawables) may not have its constant state set up properly. (079371f)
    • Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used. (9ca8a80)
  • Chip
    • Integrate Chip component tokens to Chip styles in M3. (cb65cc6)
  • CollapsingToolbarLayout
    • Exposing methods to set text size for collapsed and expanded text size (29bed9a)
  • Color
    • Updated Builder class for content color (2351fd9)
    • Implement content color with resources loader (4619f31)
    • Added content color api (8ca326a)
    • Added the rest of the library for content color support. (8510596)
    • Updated material color utilities library implementation. (f0e5bda)
    • Refactored material color utilities library into its own directory. (9897bc2)
    • Add additional condition to check dynamic color supported devices (17ac05d)
  • Dialog
    • Updated enter/exit animation to use fade pattern and motion tokens. (8d8a0d1)
  • Divider
    • Change shouldDrawDivider from private to protected to allow for more user flexibility. (b08257b)
    • Integrated M3 tokens and updated color. (2f6ebb4)
    • Fixed logic of determining whether to draw divider in MaterialDividerItemDecoration. (6f547d4)
  • Documentation
    • Added warning about known issue in slider where label doesn't scroll along with the screen. (ca54c65)
    • Add android dev doc and source link to the Material dev doc (00c9ce5)
    • Update docs to remove links to Kotlin docs and remove Kotlin from dependency (bde2092)
    • Update text field doc to include information about android:textColorHighlight (ae788ac)
    • Changing the name for the AGP compatibility variable so that the IDE points to the right documentation. (2527cc2)
    • Update typography guideline to M3. (bc1ec5a)
  • ExposedDropdownMenu
    • Dismiss modal popup in dismissDropDown (644d141)
    • Fix MaterialAutoCompleteTextView.setDropDownBackgroundDrawable(Drawable). (db115f0)
    • Fixed missing icon activated color. (9147704)
  • ExtendedFloatingActionButton
    • Add a extendToWrapContent attribute that can disable the current eFAB behavior of extending to wrap content (thus allowing extend to return to its original width before shrinking) (d5b41c1)
    • Update extend/shrink motion spec (9db041c)
  • MaterialButton
    • Integrate M3 Tokens. (b9e8fb8)
    • Use Layout to measure text width. (3b333ee)
    • Added support for toggleable Icon buttons. (8a4af07)
  • MaterialButtonToggleGroup
    • handle setEnable chil...
Read more

1.9.0-alpha01

18 Jan 22:24
Compare
Choose a tag to compare

What's new

Dependency Updates

  • No dependency updates.

Library Updates

  • Carousel
    • Add developer documentation (be9f16c)
    • Release carousel component (4ecba81)
  • SideSheet
    • Add SideSheetCallback listener to SideSheetBehavior to track @SheetState state change events (2468d6c)
    • Disabled lift on scroll in Side Sheet demo. (e92414c)
    • Renamed references to "outwards" to "outer". (8e12e31)
    • Renamed private calculateSlideOffsetBasedOnOutwardEdge method to calculateSlideOffset in SheetDelegate and RightSheetDelegate. (e88e341)
    • Added accessibilityPaneTitle to side sheet. (3b61327)
    • Integrated tokens. (e7d757a)
    • Removed unused methods in SheetDialog and SideSheetDialog. (af16b05)
    • Add detached variant of modal side sheet. (ad3cf5a)
    • Added detached variants of standard and coplanar sheets. (938105a)
    • Fixed issue where sheet would jump to the far edge of the screen in RTL without temporary fix. (2fd2d66)
    • Added modal side sheet documentation. (2e9b39f)
    • Added explicit style definition to coplanar sheet catalog demo. (2752958)
    • Updated close sheet button content description in catalog. (7096161)
    • Added coplanar side sheet with APIs for setting a coplanar sibling view. (bc61d6d)
    • Set accessibility focus to the side sheet when expanded. (48a3a75)
    • Release Side Sheet catalog demo. (1081537)
    • Rebrand "Adaptive Sheets" demo to "Side Sheet". (f0a0538)
    • Fix vertically scrolling sheet swipe issue by deleting most of the nested scrolling code (401527f)
    • Cancel modal side sheet scrim on STATE_HIDDEN. (d481ddd)
    • Restrict SheetDialog methods from the public API surface and rename getDismissWithAnimation. (c64f572)
    • Renamed SheetEdge#RIGHT to SheetEdge#EDGE_RIGHT. (2ab5430)
    • Made SheetDialog abstract base class and Sheet interface package-private. (0f9c6fc)
    • Add @RestrictTo annotations to restrict SheetEdge annotation interface. (6476acd)
    • Made SideSheetBehavior extendable. (b384b9b)
  • Tokens
  • Badging
    • Integrated component tokens. (03bd77f)
  • MaterialCardView
  • TopAppBar
    • Integrated tokens. (44445fa)
    • Fix input rectangle being modified in onRequestChildRectangleOnScreen() (7b8faef)
  • Tabs
    • Fix confusing documentation (2465192)
    • Fix confusing documentation (1396004)
    • Fix bug with setScrollPosition not updating indicator due to onLayout call drawing the indicator below the selected tab. (3194671)
    • Fixing bug with animation flicker when using tabs with ViewPager2 (84b7bc3)
  • Material 3
    • Updated developer documentation. (5c23aff)
    • Fixed issue that caused the wrong component to be focused on automatically when talkback is active. (e2c8cba)
    • Updated search bar/view UI to match spec and cleaned up the API. (d0b616c)
    • Updated style to match updated M3 spec. (dc2e973)
  • BottomAppBar
    • Change Bottom App Bar to place FAB through y translation rather than through margins (f0053fd)
    • Request layout for FAB when BAB changes so that FAB will always be aware of BAB changes (4bdfb8b)
  • Color
    • Internal color updates (b892849)
    • Internal Color changes. (e7e9747)
    • Added support for missing color roles. (169bbca)
    • Updated content color implementation. (1825b04)
    • Internal Changes (bd89d83)
    • Added framework color roles support for content color (ce68ec6)
    • Internal changes (94c73cc)
    • Added tonal surface color theme attributes and updated themes. (989d574)
    • Interal changes (ef76670)
  • Catalog
    • Fix CardSelectionModeActivity sample (4bd5e61)
    • Applied edge-to-edge to modal side sheet (ee00523)
    • Fix incorrect time stamps (86fc5fa)
    • Updated search demo to change search bar hint (30cc7ce)
    • Updated Catalog demo to change search bar/view demo title. (4bff273)
    • Applied edge-to-edge to preferences bottom sheet (695fb4a)
  • Menu
  • Slider
    • Refactor RTL test utils into common package. (0af0368)
    • Add mouse support for slider control. (93f8ffb)
    • Fixed label breaking near edge. (484281f)
    • Added API for setting the radius of active/inactive tick in xml and Java. (7bbbe39)
  • TimePicker
    • Limit 24h input validation to 23 (7f1def6)
    • Integrated M3 tokens. (14fa66a)
  • Transitions / Motion
  • MaterialDatePicker
    • Fix headerTitle text size (09f2607)
    • Unhide setFirstDayOfWeek (11c1df9)
    • Capitalize standalone date (d4c16e8)
    • Update text appearances (bb3ea6e)
  • A11y
    • Fix incorrect state (3b99749)
    • Improve date input validation feedback follow up (cd5246f)
    • Improve date input validation feedback (e1688f3)
  • Switch
    • Use MaterialSwitch instead of SwitchCompat in Catalog. (68688e9)
  • BottomNavigationView
  • NavigationView
  • Dialog
  • RadioButton
  • Documentation
    • Updated inaccurate anatomy diagram labels and a couple of other minor tweaks. (d5a3701)
    • Add note about the minimum library version required to use the Search and Side Sheets components. (dcf2487)
    • Remove smart characters from doc comments (87ce239)
    • Added coplanar side sheet documentation. (07354f9)
    • Added warning about known issue in slider where label doesn't scroll along with the screen. (6c85b59)
    • Internal change (3dbffd3)
    • Update documentation (eebd04e)
    • Fixed package path in developer documentation. (ee52406)
  • Other
    • Changed the nav drawer's width from 232dp to wrap_content. (08595de)
    • Internal change (88a05f3)
    • Refactored status bar spacer edge-to-edge detection to work based on insets (a241ee9)
    • Internal clean up. (360af30)

Full list of changes

1.8.0-rc01...1.9.0-alpha01