Releases: material-components/material-components-android
Releases · material-components/material-components-android
1.14.0-alpha05
Important
- The
compileSdkVersion
was 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)
Chip
Documentation
- 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)
MaterialCardView
Menu
ProgressIndicator
SideSheet
- Improve keyboard navigation in SideSheet catalog demos (59f0fc5)
TimePicker
TopAppBar
- 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
minSdkVersion
is now 21 or higher, for Material and AndroidX. - Now built with
compileSdkVersion
35, 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
Material3Expressive
themes/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)
BottomNavigationView
BottomSheet
- 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)
Carousel
Checkbox
- Update translations. (7711191)
Chip
CollapsingToolbarLayout
Color
Dialog
DockedToolbar
FloatingActionButton
- 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)
LoadingIndicator
MaterialButton
- 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
checked
state 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
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.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)
Lists
LoadingIndicator
MaterialCardView
- 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)
Gradle
Other
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
setIndeterminateDrawable
andsetDeterminateDrawable
during the initialization. (64867cf)
- Updated to not throw exceptions for calling
Full list of changes
1.14.0-alpha03
Important
- The
compileSdkVersion
was 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)
LoadingIndicator
MaterialButton
- Update corner radius behavior to override StateListShapeAppearance if set (85e2fd0)
MaterialCardView
- Allow selection using keyboard (e889bc2)
MaterialDatePicker
MaterialShapeDrawable
- Introduce ShapeAppearance interface to reduce branching between ShapeAppearanceModel and StateListShapeAppearanceModel (4db1900)
ProgressIndicator
Search
- Set touchscreenBlocksFocus to false to enable keyboard navigation between searchview (ef95e93)
TimePicker
Other
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)
MaterialButton
Other
- Restore binary compatibility of ViewOverlay (61c5a6d)
Full list of changes
1.14.0-alpha02
Important
- The
compileSdkVersion
was updated to 35.
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.core.core | 1.6.0 | 1.16.0 |
Library Updates
AppBar
- Fixed the bug that setBackground will reset the internal MaterialShapeDrawable for lift-on-scroll feature. (1adc501)
BottomSheet
Catalog
- Made buttons tonal instead of outlined (1c2beb1)
- Updated NavRail description in catalog (1dc3923)
- Updated FAB Menu demo title string to make it more clear it is via Compose interop (2554c4f)
- Suppress unchecked cast warning in TocAdapter (b92bc51)
- Added Catalog demo to show using Compose FAB Menu in Views via interop (638156d)
Chip
- Get default minTouchTargetSize from material attributes (ae68654)
Documentation
- Added Material3Expressive theme content to getting started page (a860782)
- Updated Badges doc to make it more user friendly (a1e2f9e)
- Updated Search Bar doc to make it more user friendly (e249abf)
- Updated Switch doc to make it more user friendly (fd5200c)
- Fixed expanded attr and method references in NavigationRail and BottomNavigation (a54e07e)
- Updated Material Text View doc to make it more user friendly (4a5da9a)
- Updated Split Button usage documentation (86372ca)
- Updated Divider doc to make it more user friendly (af387d0)
- Updated Checkbox doc to make it more user friendly. (20d263e)
- Updated Chips doc to make it more user friendly (5a37cf9)
- Fixed Dialog spec link (0764d31)
- Updated Floating and Docked toolbar docs (8f11252)
FloatingActionButton
MaterialButton
- Updated the shapes of buttons when the orientation is changed. (bbd942c)
- Fixed connected button groups to not morph button size. (0e6d4f4)
- Fixed width morph in vertical button groups. (6d8d750)
- Fixed checked non-checkable button not recover shape and container color (7df9b07)
- Overflow menu item's text should be CharSequence (7428b2b)
- Use button's text or content description as default menu item text. (fa0e908)
- Added overflow feature. (981877d)
MaterialDatePicker
- Replaced deprecated announcement API with accessibility pane title (787ad71)
- Avoid re-creating text input picker fragment on configuration changes (f843ab0)
- Set cursor to end of input text field when input is opened (65e7d8a)
- Replaced the deprecated announcement API used for month navigation (91e6a97)
MaterialShapeDrawable
- Updated ShapeAppearanceModel.Builder to not use extra ContextThemeWrapper for shape appearance overlay due to performance concerns (d16a193)
ProgressIndicator
- Fixed stop indicator size when changing track thickness (dadbfa4)
SideSheet
- Added support for enabling edge to edge via setFitsSystemWindows() (d754591)
Slider
TextInputLayout
- Replaced deprecated announceForAccessibility with accessibility live region (d438f09)
TimePicker
TopAppBar
- Fixed Extended FAB behavior demo to shrink and extend as expected. (1501d08)
Other
- Fixed HideOnScrollBehavior bugs where setViewEdge() can't be used because EDGE_ constants are package private, and also client's setViewEdge() was being overridden by the internal setViewEdge() behavior in onLayout() (08de7b0)
- Updated library version to 1.14.0-alpha02 (827e440)
- Updated component string translations (eb935e6, 069bd97)
- Modified some layout params overriden methods. (c1a432f)
Full list of changes
1.13.0-alpha14
Important
- Expressive is moving to 1.14.0 starting with 1.14.0-alpha01, which is currently available. (#4803) (27226d6)
- Updated compileSdkVersion to 35.
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.dynamicanimation:dynamicanimation | v1.0.0 | v1.1.0 |
Library Updates
BottomSheet
Catalog
Checkbox
- Update translations. (7711191)
Chip
Color
Dialog
Documentation
FloatingActionButton
- Fix the width calculation in the wrap_content extend strategy. (1e06f7c)
MaterialButton
- Fixed a bug that
checked
state 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)
- Fixed a bug that
MaterialDatePicker
- Replace the deprecated announcement API used for month navigation. (6a3d13f)
MaterialShapeDrawable
- Update ShapeAppearanceModel.Builder to not use extra ContextThemeWrapper for shape appearance overlay due to performance concerns. (990fdb4)
NavigationRail
- Force NavigationFrameLayout to be the available size at the minimum. (12fad1d)
ProgressIndicator
Search
- Updating centered search bar text to have 8dp content start and end padding. (4070bef)
- Added a clip bounds animation for searchview edit text. (5a600a8)
- Add a placeholder textview to Searchbar that keeps track of searchview edit text in order to gracefully fade it out in searchview collapse animation. (be09936)
- Added Expressive styles. (0b578fd)
- Update centering layout logic to account for padding and content insets. (c2c660b)
Slider
Tabs
- Don't try to detach an already detached TabLayout. (7144370)
TextInputLayout
- Replace deprecated announceForAccessibility with accessibility live region. (e909768)
TopAppBar
- Fix Extended FAB behavior demo to shrink and extend as expected. (13cdaba)
Typography
- Added emphasized typescale to public attributes. (0c1a914)
Other
Full list of changes
1.14.0-alpha01
Important
- The
compileSdkVersion
was updated to 35.
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.dynamicanimation:dynamicanimation | v1.0.0 | v1.1.0 |
Library Updates
BottomSheet
Catalog
Checkbox
- Updated translations. (7711191)
Chip
Color
Dialog
DockedToolbar
Documentation
- Updated GitHub's README to include note and link to compose issue tracker. (8ec6b77)
- Removed {width=} and {height=} tags, and also remove unsupported tabs tags. (2e68da2)
- Updated getting started Gradle, AGP, and studio requirements (30f1850)
- Updated Bottom Sheets doc to make it more user friendly (e97782e)
- Updated Side Sheet doc to make it more user friendly (d0ba483)
MaterialButton
- Added filterTouchesWhenObscured=true to button layout. (2749544)
- Fixed a bug that
checked
state in XML was not respected. (0c5b17a) - Improved memory usage when materialSizeOverlay is used. (571a196)
- Updated split button styles to lessen maker specification requirements and support consistency. (2aadbd1)
- Added 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)
NavigationRail
- Updated to force NavigationFrameLayout to be the available size at the minimum (12fad1d)
ProgressIndicator
Search
- Added attribute to control when to impose max width based on a percentage of available width in parent (43f2b90)
- Updated centered search bar text to have 8dp content start and end padding (4070bef)
- Added a clip bounds animation for searchview edit text (5a600a8)
- Added a placeholder textview to Searchbar that keeps track of searchview edit text in order to gracefully fade it out in searchview collapse animation (be09936)
- Added Expressive styles. (0b578fd)
- Updated centering layout logic to account for padding and content insets (c2c660b)
Slider
Tabs
- Updated to not detach an already detached TabLayout (6b35213)
Typography
- Added emphasized typescale to public attributes (0c1a914)
Other
Full list of changes
1.13.0-alpha13
Important
- Required minSdkVersion is now 21 or higher.
- Library is now built with AGP 8.7.3 and Gradle 8.9.
- New DockedToolbar component!
- New FloatingToolbar component!
- New SplitButton component!
Dependency Updates
None
Library Updates
A11y
- Include "hour" and "minute" in announcements. For example: "Not checked, Hour - 11'0 clock. double tap to select Hour". (960bb4c)
BottomNavigationView
- Fixed deprecated link in LabelVisibilityMode.java source file. (f062532)
BottomSheet
Catalog
Chip
- Updated flow layout to correctly layout padding when in RTL. (1eaf483)
Color
- ColorResourcesTableCreator: Fix resource entry names (443eaa5)
Dialog
- Reorganized styles. (a28f0e0)
DockedToolbar
- Include IME in insets (834ce09)
FloatingActionButton
FloatingToolbar
MaterialButton
- Added adaptation section in dev doc. (f61cea5)
- Added expressive styles. (6c7354a)
- Fixed the bug of size morph not working with layout_weight. (d791fad)
- Added optical center feature. (2667e09)
- Added expressive styles in M3 expressive dialog themes. (696a48a)
- Updated XML for split button examples in documentation for improved accuracy. (ede1bdc)
MaterialDatePicker
Menu
- Fixed Dark Mode for Context Menu (93a5130)
Search
- Add cutout insets to SearchView toolbar (53616ad)
- Fix animation calculations for predictive back (44eabe3)
- Fix long centered text overlapping with menu items (9170221)
- Updated SearchBar styling (3a5861c)
- Add maxWidth attribute and fix SearchBar/SearchView animations to be more flexible in hierarchy (548c15c)
- Fix issue with a custom center view pushing out centered text (04c56f6)
- Update demos to demonstrate an example with a ConstraintLayout (6db122b)
- Update catalog demo to optionally show searchbar menu (e85371f)
- Add a lift on scroll color to SearchBar when used with AppBarLayout (36b285c)
Slider
Tokens
- Updated the shape tokens output. (2ef3aba)
TopAppBar
- Add attribute to center based on whole container (dcfbdff)
Other