Releases: material-components/material-components-android
Releases Β· material-components/material-components-android
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
Full list of changes
1.13.0-alpha12
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
Dependency | Previous version | New version |
---|---|---|
androidx.appcompat:appcompat | 1.6.1 | 1.7.0 |
androidx.constraintlayout:constraintlayout | 2.0.1 | 2.1.0 |
com.android.tools.build:gradle | 7.4.2 | 8.7.3 |
Library Updates
A11y
- Move responsibility of disabling hide on scroll to HideViewOnScrollBehavior and BottomAppBar (9c33476)
Catalog
Dialog
- Fixed issue with child views overflowing from the alert dialog. (1ee9a86)
DockedToolbar
- Fix typo in DockedToolbar doc (0c83f50)
FloatingActionButton
- 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
- Fix for insets handling adding insets on every onApplyWindowInsets call (3938284)
LoadingIndicator
- Fix handling of negative morphFraction (e169ffc)
MaterialButton
MaterialDatePicker
- Disable next/prev button when the selected month is at the boundary (71287c6)
ProgressIndicator
Search
Tokens
TopAppBar
- Update AppCompat dependency to 1.7.0 stable and remove inflateMenu dispatch pausing now that the fix has landed in AppCompat (09d2566)
Other
- Update library version to 1.13.0-alpha12 (b5ff302)
- Moved component inclusion into afterEvaluation block (27f0cd7)
- Moved back to Java 8 source and target compatibility (a8d492c)
- Enable non transitive R classes (resource namespacing) and fix errors (0697f6f)
- Updated to AGP 8.7.3, Gradle 8.9, Java 21 (2c2a26c)
- Updated string translations (9f52851)
Full list of changes
1.13.0-alpha11
Important
- Required minSdkVersion is now 21 or higher.
- New DockedToolbar component!
- New FloatingToolbar component!
- New SplitButton component!
Dependency Updates
- None
Library Updates
BottomAppBar
- Added guidance to prevent hide on scroll when Talkback is on (d560705)
BottomNavigationView
- Updated catalog demo to demonstrate adaptive bottom navigation bar (76936c4)
Carousel
Chip
- Added missing 'button' mention to Talkback output for close icon. (79bd7d7)
Color
- Added M3 colors in M3 ThemeOverlay. (ede0713)
DockedToolbar
Documentation
- Updated build to use Dackka for documentation generation (580e8d5)
FloatingToolbar
MaterialButton
MaterialDatePicker
NavigationRail
- Use display cutout and system bar insets for start padding (4657afb)
ProgressIndicator
- Added an track inner corner radius API. (8a23e0d)
Search
Shape
Slider
Snackbar
- Added an opt-out for the coming new dismissal behavior for Snackbar with action. (755981a)
Theming
- Added the Expressive themes. (2d3471f)
TimePicker
- Fixed the Talkback focusability of the "Select time" label on the time picker component. (4ed648a)
Tokens
TopAppBar
Other
Full list of changes
1.13.0-alpha10
Important
- Required minSdkVersion is now 21 or higher.
- New FloatingToolbar component!
- New SplitButton component!
Dependency Updates
- None
Library Updates
BottomNavigationView
- Fixed early return in setItemGravity() (8a4d3c6)
BottomSheet
- Removed disruptive announcement "Drag handle double tapped"for BottomSheetDragHandleView. (95025c6)
Chip
- Fixed close icon focus ripple (a7ff8c9)
CollapsingToolbarLayout
Documentation
- Updated shape references in TextField.md and Card.md. (522c9dc)
- Updated images in dev doc. (76d4e85)
- Updated Chip.md (f5b871a)
- Updated BottomAppBar.md (ddbfe29)
- Updated Tabs.md (5dfed19)
- Fixed typo for "spatial" (ed6c81b, 59de693)
- Updated BottomAppBar.md (37a85c3)
- Updated SideSheet.md (64d61d3)
- Updated DatePicker.md (f29063e)
FloatingToolbar
MaterialSplitButton
NavigationRail
Slider
- Improved track icon bounds calculation (54778a9)
- Removed unnecessary code (867fd01)
- Removed warnings about track icons if there isn't any (b31711c)
- Fixed label pivots (d28488d)
- Fixed thumb visibility for vertical slider on API 23 (e6e9385)
- Refactored track icon tinting (9ce14ae)
- Updated track bounds always before drawing icons (ddda777)
TextInputLayout
TimePicker
TopAppBar
Transitions / Motion
Release
- Updated version to 1.13.0-alpha10. (40ec5c5)
Full list of changes
1.13.0-alpha09
Important
- Required
minSdkVersion
is now 21 or higher. - New FloatingToolbar component!
- New SplitButton component!
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.drawerlayout | 1.1.1 | 1.2 |
Library Updates
BottomNavigationView
Carousel
Catalog
- Fixed top app bar container fill (e51767d)
Chip
- Add Override to Chip#setBackgroundTintList (03d2c69)
Documentation
- Fix javadoc links (767f25a)
FloatingToolbar
MaterialSplitButton
NavigationRail
- Consume all touch events to avoid views under from receiving touch events. (2a0dda8)
- Fix issue where large/multi-line text was measured incorrectly when animating to be visible from a GONE state (c77f997)
- Add attributes for scaling label text to font size and for the max lines for the label (5a8c39a)
- Integrate tokens (0e9ab66)
- Update navigation rail docs to include mentions of the expanded nav rail (5f44dbc)
Slider
Shape
- Fixed uneven rotation of pentagon shape. (d4b9d90)
Tabs
- Update ripple to match m3 specs (d68ebbe)
Tokens
- Updated token outputs to v13.2.0 and integrated new AppBar tokens. (4f7bf29)
TopAppBar
Transitions / Motion