Releases: material-components/material-components-android
Releases · material-components/material-components-android
1.14.0-alpha09
Important
- The
compileSdkVersionwas updated to 35. - The
minSdkVersionwas updated to 23. - Library is now built with AGP 8.11.1 and Gradle 8.13.
Dependency Updates
None
Library Updates
Catalog- Make SearchView in Catalog full-screen (9b413fc)
- Update List docs and demo to be more clear on the primary action triggered corresponding with the growing element in the list swipe for a11y (5cb1500)
- Fix initial content description of the navigation drawer toggle in demos (67bd159)
- Fix MultiSectionListDemoFragment to correctly read view type (4dba971)
- Add tooltips to FABs and expand/collapse button (dd70ef9)
CollapsingToolbarLayout- Fix jumping when multiline title changes while collapsed (d227870)
Divider- Hide search view divider for M3E (81373b7)
FloatingActionButton- Override setContentDescription to also set the tooltip text on API 26+ (f1193e3)
ListsMaterialButtonMaterialDatePicker- Add tooltips to icon buttons (1fd35bc)
SideSheet- Prevent NullPointerException when viewRef was nullified and only then accessed by runAfterLayout lambda (88717fc)
TextInputLayout- Announce helper text on focus (85c910f)
TimePicker- Fix ClockFaceView cropping in split-screen (71d88f5)
Tokens- Update token version to 31.0.0 (57f3cdb)
TopAppBar- Make letter spacing dependent on text size in CollapsingTextHelper (58ad14e)
Other
Full list of changes
1.14.0-alpha08
Important
- The
compileSdkVersionwas updated to 35. - Library is now built with AGP 8.11.1 and Gradle 8.13.
Dependency Updates
None
Library Updates
CatalogFloatingActionButton- Allow collapsed size to be set (0153138)
Lists- Support skipping the open swipe state so clients can go straight to the primary action (d5934ee)
- Add getSwipeState method and demo, and refactored to set necessary swipe elements before drag so they are available for programmatic swipes (75f0a4e)
- Updates to styles (50bca32)
- Create expandable demo (c24017b)
- Make SwipeableListItem and RevealableListItem public and add swipe state callback (1dbfdd7)
- Add styles and theme overlays for material icon buttons inside lists (93ae730)
MaterialButton- Defer icon changes during width animation in MaterialButton (f86cedd)
MaterialDatePicker- Cache isFullscreen state in MaterialCalendar (dcd9898)
SliderSnackbar- Added optional close icon (71f014f)
Full list of changes
1.14.0-alpha07
Important
- The
compileSdkVersionwas updated to 35. - Library is now built with AGP 8.11.1 and Gradle 8.13.
Dependency Updates
None
Library Updates
BottomAppBar- Remove special key shortcut and keyboard navigation cluster for bottom app bar for correct keyboard navigation a11y. (5c73d7a)
Catalog- Use wrap overflowMode for button groups in theme picker (861ec3f)
Lists- Add attr for min child width (32e9fb2)
- Support RTL swiping (176e92d)
- Added onSwipeStateChanged callback, drawable swiped state for ListCardView, and alpha changes to swiped view as it reaches the swipe-to-action state (3e5a7fd)
- Add styles for control elements in lists (3c1a61c)
- Re-measure intrinsic width when measure specs change (69e9676)
- Add more optional styles and update demos to show more variety of sample list content (692bd11)
- Add swipe for action state (07a3be5)
MaterialButton- Fixed width morph with contents change. (dc98ca0)
MaterialDatePickerMaterialShapeDrawableNavigationView- Set navigation menu item's a11y role description so it doesn't default to 'radio button' due to being checkable (0e17248)
Search- Make SearchView root unfocusable (f307771)
Slider- Fix ACTION_CANCEL motion touch event handling so that the slider resets its state if a cancel happens. Also don't let slider update incorrectly when a touch event may be overlapping with back gesture inset areas, as the back event takes precedence. (c4d19f6)
TimePicker- Use ViewCompat.performHapticFeedback (6c4db77)
TopAppBar- Updated ripple color on actions in M3 toolbar. (3b971c9)
Full list of changes
1.14.0-alpha06
Important
- The compileSdkVersion was updated to 35.
- Library is now built with AGP 8.11.1 and Gradle 8.13.
Dependency Updates
| Dependency | Previous version | New version |
|---|---|---|
| androidx.customview | None | 1.2.0 |
Library Updates
BottomSheet- Added support for Nested Scrolling with multiple nested scroll children. (4e4e8f3)
CatalogChip- Fixed chip group forcing importantForAccessibility=yes (1867bb0)
Documentation- Updated images in Chip, Button, and Extended FAB. (1390517)
Lists- Added dependency to androidx.customview for ViewDragHelper and added swiped states + settling (1e6a8b7)
- Fixed issue where the first drag may have not clamped to the end properly since originalContentLeft is 0 (a5be0f7)
- Added ListItemRevealLayout, ListItemCardView, and relevant interfaces to introduce swiping in ListItemLayout (400d695)
- Added ViewDragHelper (3236292)
MaterialCardViewMaterialShapeDrawableSearchSlider- Changed thumb width when it's keyboard focused. (1bf522f)
- Fixed slider D-Pad keys to modify value instead of focus (aa623f0)
- Updated: only one value label should be shown at a time for the range slider (except for the mode where the labels are always visible). (ce092fa)
- Used arrow keys for value adjustment and TAB for navigation (3d8d23d)
TimePickerTopAppBar- Removed special key shortcut and keyboard navigation cluster for top app bar for correct keyboard navigation a11y. (ee52adb)
Release- Updated library version to 1.14.0-alpha06. (cc2218e)
Full list of changes
1.14.0-alpha05
Important
- The
compileSdkVersionwas updated to 35. - Library is now built with AGP 8.11.1 and Gradle 8.13.
Dependency Updates
None
Library Updates
Catalog- Update nav drawer demo to use dispatchKeyEvent instead of onKeyDown since onKeyDown can sometimes be consumed by a view with focus (fe1c0d6)
ChipDocumentation- rename buttongroup-overflow-menu.png to buttongroup-overflow-wrap.png (add buttongroup-overflow-menu.png) (14cb33b)
- Removed the default style and updated the theme attribute code for non-default (9e1c68d)
- Updated documentation with Expressive code/info for: (fca1418)
- Updated documentation with additional code/info and updated the nomenclature of images in the following docs: (cc2390f)
- Updated docs with Expressive code/info. (2b29a26)
Lists- Add selector for optional leading icon (14a6267)
MaterialButton- Added the "wrap" overflow mode. (7c66a2e)
MaterialCardViewMenuProgressIndicatorSideSheet- Improve keyboard navigation in SideSheet catalog demos (59f0fc5)
TimePickerTopAppBar- Improve keyboard navigation in TopAppBar catalog demos (98a73a6)
Full list of changes
1.13.0
New in 1.13.0!
DockedToolbarLayout(source, doc, spec)FloatingToolbarLayout(source, doc, spec)LoadingIndicator(source, doc, spec)MaterialSplitButton(source, doc, spec)MaterialButtonGroup(source, doc, spec)
Important
- Required
minSdkVersionis now 21 or higher, for Material and AndroidX. - Now built with
compileSdkVersion35, Android Gradle Plugin (AGP) 8.7.3, Gradle 8.9, andandroid.nonTransitiveRClass=true.- This means that R classes are no longer transitive and resources must be fully qualified with their library path when used programmatically (see the Getting Started guide for more info).
- Material 3 Expressive has moved to the 1.14.0 versions of the library. To get a sneak peak, update to version 1.14.0-alpha04 and use the
Material3Expressivethemes/styles in conjunction with new components mentioned above.
Dependency Updates
| Dependency | Previous version | New version |
|---|---|---|
| androidx.appcompat:appcompat | 1.6.1 | 1.7.0 |
| androidx.constraintlayout:constraintlayout | 2.0.1 | 2.1.0 |
| androidx.dynamicanimation:dynamicanimation | 1.0.0 | 1.1.0 |
| androidx.graphics:graphics-shapes | N/A | 1.0.1 |
| com.android.tools.build:gradle | 7.4.2 | 8.7.3 |
Library Updates
A11y- Include "hour" and "minute" in announcements. For example: "Not checked, Hour - 11'0 clock. double tap to select Hour". (960bb4c)
- Move responsibility of disabling hide on scroll to HideViewOnScrollBehavior and BottomAppBar (9c33476)
- Prevent hide on scroll when Talkback is on (d560705)
- Add missing 'button' mention to Talkback output for close icon. (79bd7d7)
BottomNavigationViewBottomSheet- Prevent ACTION_DOWN events on the BottomSheetHandleDragView from setting touchingScrollChild to true. (af7f254)
- Fix keyboard animation on Android 14 (a0b4dfa)
- Fixed main catalog demo cutting off content when screen size is too small. (005687d)
- Remove disruptive announcement "Drag handle double tapped"for BottomSheetDragHandleView. (95025c6)
CarouselCheckbox- Update translations. (7711191)
ChipCollapsingToolbarLayoutColorDialogDockedToolbarFloatingActionButton- Fix the width calculation in the wrap_content extend strategy (1e06f7c)
- Added medium FAB and s/m/l extended FABs to Material3. (870ace3)
- Restored public jumpDrawablesToCurrentState method (6f41625)
- Fixed wrong elevation per state. (f513914)
- Improved readability. (949b057)
- Fixed wrong elevation per state. (db7fe20)
- Merged FABImpl and FABImplLollipop classes, since no pre-lollipop is supported. (da442be)
- Integrated new token sets. (4a841f5)
- Integrated to new token sets. (7e63ca1)
FloatingToolbar- Added m3 styles for buttons and theme overlays (4b9df08)
- Integrate tokens and add m3 styles (f223b26)
- Fix for insets handling adding insets on every onApplyWindowInsets call (3938284)
- Floating toolbar should not enforce disappear on scroll behaviour within CoordinatorLayouts (85c4e0f)
- Add inset handling (05f8c52)
- Removed floating toolbar-specific icon button styles from theme overlay (7f88784)
- Update styles to consolidate horizontal/vertical styles to a single style (b07e48b)
LoadingIndicatorMaterialButton- Updated the shapes of buttons when the orientation is changed. (e722464)
- Fixed connected button groups to not morph button size. (df9074c)
- Fixed width morph in vertical button groups. (fb81974)
- Fixed a bug that
checkedstate in XML was not respected. (0c5b17a) - Test improve memory usage when materialSizeOverlay is used. (571a196)
- Update split button styles to lessen maker specification requirements and support consistency. (2aadbd1)
- Add a demo to programmatically add/remove buttons in a button group. (4f55422)
- Added a click action and toggleable control in button group demo. (8e52e94)
- Fixed minor issues in button group demo and toggle group demo. (5161e71)
- Added adaptation section in dev doc. (f61cea5)
- Fixed the bug of size morp...
1.14.0-alpha04
Important
- The
compileSdkVersionwas updated to 35. - Library is now built with AGP 8.11.1 and Gradle 8.13.
Dependency Updates
| Dependency | Previous version | New version |
|---|---|---|
| androidx.constraintlayout:constraintlayout | 2.1.0 | 2.2.1 |
| com.android.tools.build:gradle | 8.7.3 | 8.11.1 |
Library Updates
BottomNavigationView- Fix navigation item layout in non-compact windows (7818901)
BottomSheet- Delete duplicate "Handling insets and fullscreen" section (5e7e823)
ExposedDropdownMenu- Add keyboard support for dropdown menus (d8cc690)
ListsLoadingIndicatorMaterialCardView- Support StateListShapeAppearance in MaterialCardView (2f0935a)
MaterialDatePicker- Fix header layout overlapping in landscape (223bf15)
ProgressIndicator- Moved showDelay and minHideDelay attrs to resources module. (90a1f22)
SideSheet- Added tooltip to close buttons (414a1a6)
TextInputLayout- Add tooltip support to TextInputLayout icons (c7fa5dc)
Theming- Added missing Shape Attributes to Dialog themes (7fe9ef9)
TimePicker- Add keyboard support to clock input mode (089372f)
TopAppBar- Add support for navigation button with circle background (015e053)
GradleOther
Full list of changes
1.13.0-rc01
Important
Expressive is moving to 1.14.0 starting with 1.14.0-alpha01, which is currently available. (#4803) (27226d6)
Dependency Updates
None
Library Updates
LoadingIndicator- Added a default static drawable, which is displayed when the animation is disabled. (f89b8af)
ProgressIndicator- Updated to not throw exceptions for calling
setIndeterminateDrawableandsetDeterminateDrawableduring the initialization. (64867cf)
- Updated to not throw exceptions for calling
Full list of changes
1.14.0-alpha03
Important
- The
compileSdkVersionwas updated to 35.
Dependency Updates
None
Library Updates
BottomSheet- Make handle respond to keyboard input (1ee0768)
Catalog- Deleted BottomWindowInsetsView and replaced with setOnApplyWindowInsetsListener (3042829)
- Add tooltip to overflow button in Overflow Layout and update docked toolbar + floating toolbar demos to have tooltips (ef6e07d)
- Fix Navigation Drawer demo to undo keyboard navigation clusters in AppBarLayout/Toolbar (26ced72)
- Update demos to close drawers on esc key press and add guidance in docs (1f10e0b)
- Set container content to non-focusable to avoid the container getting focus (ac47c7f)
Chip- Fix close icon tint (09e77fa)
Documentation- Updated getting started page for new change in R files starting in 1.14.0. (88f76e3)
FloatingActionButton- Use the current labelOpacity as the initial animation value (1b08336)
LoadingIndicatorMaterialButton- Update corner radius behavior to override StateListShapeAppearance if set (85e2fd0)
MaterialCardView- Allow selection using keyboard (e889bc2)
MaterialDatePickerMaterialShapeDrawable- Introduce ShapeAppearance interface to reduce branching between ShapeAppearanceModel and StateListShapeAppearanceModel (4db1900)
ProgressIndicatorSearch- Set touchscreenBlocksFocus to false to enable keyboard navigation between searchview (ef95e93)
TimePickerOther
Full list of changes
1.13.0-beta01
Important
Expressive is moving to 1.14.0 starting with 1.14.0-alpha01, which is currently available. (#4803) (27226d6)
Dependency Updates
None
Library Updates
LoadingIndicator- Fixed the animation no constant rotation. (1886cf0)
MaterialButtonOther- Restore binary compatibility of ViewOverlay (61c5a6d)