Releases: material-components/material-components-android
Releases · material-components/material-components-android
1.13.0-alpha08
Important
- Required
minSdkVersion
is now 21 or higher. - New FloatingToolbar component!
- New SplitButton component!
Dependency Updates
- None
Library Updates
Carousel
FloatingToolbar
- Added new Floating Toolbar component with package and updated catalog demo. (72e61c9)
- Updated button type to fill for FloatingToolBar demo to comply with NTC (bf2bc10)
- Renamed Floating App Bar catalog demos to Floating Toolbar. (53efceb)
- Added motion for horizontal and vertical configurations of the floating toolbar. (c0231d7)
- Added vertical floating toolbar configuration. (655dba1)
- Added content descriptions for floating toolbar icon buttons. (11173a4)
Catalog
ExtendedFloatingActionButton
- Added a method to ExtendedFloatingActionButton to enable/disable animations. (31fa412)
SplitButton
- Added a new component SplitButton. (43a5dd3)
- Generate tokens for Split Button component. (06c9ab9)
- Update split button chevron overshoot interpolator tension to 1.0 for standard animation. (c40e857)
- Add documentation about SplitButton (9f801b8)
- Migrate trailing icon related resources for SplitButton. (3bb2df8)
MaterialButton
- Added sizes and shape support. (7f8d63b)
NavigationRail
- Added Navigation rail expansion (08c23dc)
- Added a11y announcements for when nav rail is expanded or collapsed (d148048)
- Added horizontal spacing attribute for space in between the icon and the text when the item is in the start icon gravity configuration (ebcfcd1)
- Design review adjustments (3b11e74)
ProgressIndicator
Slider
TextInputLayout
- Fixed counter text order for locales AR. (39be13c)
TimePicker
- Fixed Japanese translation. (9fe362f)
Tokens
- Integrated tokens for floating toolbar and add new styles for the horizontal, vertical and vibrant style variations. (699302a)
LoadingIndicator
Full list of changes
1.13.0-alpha07
Important
- Required
minSdkVersion
is now 21 or higher.
Dependency Updates
- None
Library Updates
A11y
BottomNavigationView
- Added new textviews for horizontal textview instead of moving it between layouts. (13dbcfc)
BottomSheet
- Added new non-expandable demo for debugging. (ade1437)
Carousel
- Made
KeylineState.Builder
constructor public for customizing strategies. (885f3b7)
- Made
Catalog
- Added initial catalog demo for Floating Toolbar. (541433b)
- Fixed issue with ListPopupWindow a11y. (90ab51e)
- Changed checkboxes in checkbox demo to be displayed vertically since there isn't enough horizontal space when font is large. (38124d1)
- Removed horizontal padding from toolbar demo. (75c1d30)
- Fixed toolbar close button not having a content description. (43b0e46)
- Fixed issue with TextField demo getting cut off in horizontal orientation. (81907eb)
Color
- Integrated extended palettes. (0ea7b58)
Documentation
MaterialButton
- Made the "checked" state independent to the "enabled" state. (dac7d5a)
MaterialDatePicker
- Fixed contrast for hint color. (f141ed3)
- Updated string translations for date picker and loading indicator. (18fd815)
- Properly announce selected year. (d049a42)
- Properly announce the change of selection between year/day. (c06ef1b)
- Updated header layout to include horizontal insets so that buttons are not overlapped by navigation system UI in fullscreen mode. (8932a81)
NavigationRail
- Added scrollingEnabled attribute and update NavigationRail to have unlimited items when expanded while keeping the limit of 7 items while collapsed, and add demo to catalog. (cc09ce8)
- Fixed issue where top padding was not respected if menu gravity was center or bottom in certain scenarios. (c08ee83)
NavigationView
- Changed navigation item pointer icon to arrow instead of hand, since they are not external links. (8f5a04c)
Predictive Back
- Added safety checks for float != NaN. (1106890)
ProgressIndicator
- Added top and bottom paddings to ensure the focus indicator (green box with talkback) to draw properly in catalog. (d164796)
Search
Slider
- Made sure label is removed with slider is hidden. (9bf5edd)
- Updated to show tooltips when focus by a11y. (237f5ec)
- Fixed an exception caused by DecimalFormat not taking into account locale. (1f56cd1)
- Fixed a scroll demo fragment to have more granular steps. (0443585)
- Limit values to 2 decimals in the content description. (cebb057)
TextInputLayout
Tokens
- Upgraded to 10.0.1. (47cbd7e)
Transitions / Motion
- Removed API 21 sections from documentation. (b11064c)
Other
- Updated to 1.13.0-alpha07. (fa51cb9)
Full list of changes
1.13.0-alpha06
Important
- Required
minSdkVersion
is now 21 or higher.
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.graphics:graphics-shapes | N/A | 1.0.1 |
Library Updates
A11y
Badging
- Fixed issue where menu item content description is not reset after clearing badge content (7628351)
BottomNavigationView
Catalog
- Added more variants in catalog. (2901dca)
Dialog
- Reduced insets for Material Alert Dialog to 10dp for screens with minimum height less than h480dp. (bedc6bd)
Documentation
FloatingActionButton
- Added an accessibility role to FloatingActionButton and ExtendedFloatingActionButton. (f3aacd7)
MaterialButton
- Integrated tokens. (e40bc47)
- Integrated new tokens. (5274e55)
- Integrated new tokens. (7bccdc2)
- Updated the icon in catalog and test to filled for non-toggle buttons. (d408906)
- Added a new component ButtonGroup. (29ce8d3)
- Updated spring damping and stiffness for MaterialButton. (cfef899)
- Refactored the main demo. (4efcf87)
NavigationRail
- Added submenu support (9285220)
NavigationView
- Added start/end scrim enable/disable methods (1795035)
Shapes
Slider
- Fixed slider label not moving (967dcd5)
Tokens
Typography
Other
Full list of changes
1.13.0-alpha05
Dependency Updates
- None
Important
- Required
minSdkVersion
is now 21 or higher.
Library Updates
A11y
- Add an accessibility pane title of "Alert" (d7645ae)
BottomNavigationView
Carousel
- Fix carousel spamming view re-binding (6b263fa)
Catalog
Color
- Replaced computeIfAbsent with equivalent code for API 21 - 23. (703b884)
MaterialButton
MaterialDatePicker
- Make picker not final and expose onPositiveButtonClick and onNegativeButtonClick (6617342)
NavigationRail
- Add expanded state (b36919f)
ProgressIndicator
Slider
- Updates tick marks color to fix the contrast in medium / high contrast modes. (968a7ee)
Typography
- Added workaround for fontVariationSettings being set through a TextAppearance (fa5224e)
Other
- Fixed a bug in loading state list corner size. (629e24f)
- Optimized getOutline(). (e1a103e)
- Added state list support to shape appearance and corner size. (8e63e7f)
- Fixed lint error when calling force refresh font variation settings (4abc9c6)
- Moved unnecessary object from the drawable state. (eb56238)
- Added state list support to shape appearance and corner size. (2799892)
Full list of changes
1.13.0-alpha04
Dependency Updates
- None
Important
- Required
minSdkVersion
is now 21 or higher.
Library Updates
BottomNavigationView
- Update max item count to 6 (3fbb198)
Carousel
- Remove library group restriction on Uncontained strategy (c714328)
CollapsingToolbarLayout
- Refactor multiline rotation fix to address related issue caused by keyboard (5371290)
Color
FloatingActionButton
- Updated catalog content description. (b345f37)
MaterialDatePicker
NavigationRail
- Add an attribute to control how we measure the bottom padding of the navigation item (87ab660)
NavigationView
ProgressIndicator
- Fixed that the wavy path isn't cached correctly when initializing with 0 progress. (0f3975d)
Search
- Restore modal for accessibility and back handling state in onAttachedToWindow() and remove modal for accessibility state in onDetachedFromWindow() (34adcb0)
TimePicker
- Prevent setting wrong time while the clock is animating (40cfb07)
Tokens
- Refreshed tokens in version "4.0.0" (61597e1)
Typography
- Add variable font support to TextAppearance (a9debc7)
Other
Full list of changes
1.13.0-alpha03
Dependency Updates
None
Library Updates
Badging
BottomNavigationView
BottomSheet
- Updated to recycle the TypedArray after usage (a89e38c)
Catalog
CollapsingToolbarLayout
- Fixed issues related to rotating multiline collapsing toolbars (2bc1a2f)
Documentation
MaterialButton
- Renamed insideCorner to innerCorner. (63bb499)
MaterialDatePicker
- Fixed arrangement of range text fields (501ae36)
NavigationRail
NavigationView
Predictive Back
- Updated SearchView and NavigationView to unregister back callbacks when detached from window (d13bfdf)
ProgressIndicator
- Fixed ArithmeticException when calculating the phase (ce00ba3)
Slider
- Fixed the handle width when touched in a scrolling container and when more than one handle is in the touch position. (d85b73f)
TimePicker
- Prevent the accumulation of listeners in rotationAnimator (182a507)
Other
Full list of changes
1.13.0-alpha02
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.transition | 1.5.0-rc01 | 1.5.0 |
Library Updates
Badging
BottomNavigationView
- Modify test usage to use icon container so we don't have to special case the existence of the icon container (cf143d0)
BottomSheet
- Prevents nested scroll from occurring in a scroll session when the bottom sheet is already being resized. (a7a234b)
Chip
- Update Chip javadoc to reference CompoundButton.OnCheckedChangeListener instead of AppCompatCheckBox.OnCheckedChangeListener. (41eb087)
Dialog
Documentation
- Update Getting Started instructions with latest requirements and info (5b6cf55)
MaterialButton
ProgressIndicator
Tabs
- Fix selected text appearance not being applied correctly. (500dae8)
TimePicker
- Fix color of unselected state in AM/PM picker. (d04da7d)
Tokens
- Update tokens to v4.0.0 (9b09b69)
Transitions / Motion
Other
- Update library version to 1.13.0-alpha02 (2068592)
- Update Maven library description to min sdk version of 19 (8f8c6ee)
- [Drawable] Add constant state support to ScaledDrawableWrapper which fixes NPE crash in APIs <= 23 (9da9993)
- Fixed stroke path calculation for custom interpolation start shape. (e4fbb84)
- Add interpolation between default and an arbitrary corner radius for Android Material Views. (cc125d9)
- Update font loading to load synchronously for system font families (25d189b)
Full list of changes
1.12.0
What's new since 1.11.0
Slider
andProgress Indicator
have been updated to better support Non-Text Contrast Accessibility requirements.- Predictive Back Fragment/View support added to Material motion transitions (
MaterialSharedAxis
,MaterialFadeThrough
,MaterialFade
,MaterialElevationScale
).
Important
Required minSdkVersion
is now 19 or higher, for Material and AndroidX (blog post).
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.transition | 1.2.0 | 1.5.0 |
Library Updates
Gradle
Carousel
- Shifted keylines in contained strategies when there exists padding, and clipToPadding=false (1ef42e2)
- Fixed Javadoc formatting error in
FullScreenCarouselStrategy
class documentation. (a0a1c6e) - Added support for cross axis wrap_content RecyclerViews (e88a1b9)
- Added documentation recommending snapping for multi-browse strategy (9e64a1f)
- Add attributes to change small item size (92a5444)
CollapsingToolbarLayout
- Fix text shadow fading when transitioning between expanded and collapsed states (7674e12)
Checkbox
- Updated string translations (198e08c)
Dialog
- Unified scrim opacity in Material themes/theme overlays. (f3e4439)
Divider
- Fixed divider instantly appearing or disappearing on insertion or removal (ef4a0c5)
i18n
- Update translated strings (a8307ef)
MaterialDatePicker
- Fix date validation on Samsung devices (5aa6edf)
MaterialAutoCompleteTextView
- Enabled switch access in MaterialAutoCompleteTextView. (14a7b40)
NavigationDrawer
- Fixed wrong item selected after click (a3af20a)
NavigationRail
Predictive Back
- Animated corners during predictive back when no drawerLayoutCornerSize is set (c8b9b1c)
ProgressIndicator
- Updated inactive track color from primary container to secondary container. (c8cb0c6)
- Updated the setter of track thickness to not update track corner radius. (540f5ee)
- Added the limit to not have stop indicator size bigger than track thickness. (689e04f)
- Fixed the rounded ends overlapping bug with semi-transparent track/indicator color in Circular default style. (8167c11)
- Removed the call to draw a transparent full track. (3f80fdb)
- Flipped the canvas for different circular directions. (bcc27a3)
- Split stop indicator drawing from indicator drawing. (76207cb)
- Added ActiveIndicator to improve readability. (6fd920a)
- Fixed ESCAPE animation in linear and added ESCAPE animation in circular. (98284e7)
- Updated to use the same drawing delegate object between determinate drawable and indeterminate drawable to prevent inconsistent drawings when specs update. (52b4845)
- Added missing graphics updates when spec changes. (93b3010)
- Update styles for new Accessibility updates (15b533f)
- Added static drawable for Circular type when system animator is disabled. (22e054b)
Search
SideSheet
- Moved the modal side sheet default width/height into style so they can be customized
- Updated string translations (198e08c)
Slider
- Made tick size defaults to the stop indicator size if set (92bc02c)
- Fixed incorrect style of stop indicators near handles (d61cffd)
- Resolved issues that crash when assigning a large value to
valueTo
(4d1b9e5) - Updated the track drawing for some corner cases. (10484df)
- Fixed ripple not transparent on API 33 (cd4f618)
- Updated documentation (a641e18)
- Updated styles (c218b3c)(3b278d7)
- Fixed slider label not moving while scrolling (144b515)
Tabs
- Fixed title being announced twice when there's a badge in TalkBack mode. (aaa7034)
Theming
Tokens
TopAppBar
TextInputLayout
Transitions / Motion
- Updated androidx transition dep to version 1.5.0-beta01 (8c63848)
- Added predictive fade through fragment transition demo to Catalog. (6092a7d)
- Added titles to fade through demo fragments in Catalog. (104043c)
- Added predictive transition support for fragments and views to the Material motion library, and enabled it in shared axis fragment transition demo. (8ccec33)
Full list of release notes
Full list of changes
1.13.0-alpha01
Dependency Updates
None
Library Updates
BottomSheet
Carousel
Catalog
Dialog
- Updated docs to have a short description of each available dialog theme overlay (0a21fe7)
Predictive Back
- Update predictive back animations to use interpolation curve of (0.1, 0.1, 0, 1) (136a685)
ProgressIndicator
- Improved cold start performance. (c153139)
- Added ramping animation to wave amplitude for both Linear and Circular types. (roll forward) (23bcd50)
- Added demos for wave effects with wave speed. (0849c14)
- Improved the smoothness of the animation when inactive track's ends are close. (2a80e16)
- Applied a workaround in Circular counter-clockwise. (e8452fb)
- Added waggle animation (wave speed) to active indicator in both Linear and Circular types. (roll forward) (b50cb1e)
- Added ramping animation to wave amplitude for both Linear and Circular types. (627d141)
- Added waggle animation (wave speed) to active indicator in both Linear and Circular types. (0f47e78)
- Added demos for wave effects. (b32512a)
- Refactored the catalogs for more demos in future. (b61ab85)
- Updated outdated string description in the catalog. (747fe8c)
- Added wavy active indicator drawing for circular type. (da108f3)
- Updated the default value of wavelength and setters of wavelength and amplitude. (e2cc0bb)
Search
TimePicker
TopAppBar
Other
- Updating library version to 1.13.0-alpha01 (51f7d5d)
Full list of changes
1.12.0-rc01
Important
Required minSdkVersion
is now 19 or higher, for Material and AndroidX (blog post).
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.transition | 1.5.0-beta01 | 1.5.0-rc01 |
Library Updates
- No library updates