Releases: material-components/material-components-android
Releases · material-components/material-components-android
1.6.0
What's new since 1.5.0
- Color harmonization support! Check out the following resources for more information:
Other highlights
Material 3
- Hide shadows on all M3 Toolbar styles, not just Surface style (b49284e)
- Migrate action bar popup themes to M3 (2ae3ca4)
- Update M3 card elevation according to the spec (bb23e2d)
- Add missing attributes to M3 button styles (3c9b452)
- Update M3 navigation rail text appearances (6b57c52)
- Fix M3 date picker styles (fba1a34)
- Change checkedIconGravity values to enum (bc56d5b)
Badging
- Prevent multiple badges being attached to a menu item at the same time (b3db1cc)
- Refactored Badge state managing logic (bbbeacd)
- Added support for different locale on badges (b8f2dd5)
BottomNavigationView
- Added supported NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (1222268)
- Removed font scaling from NavigationBarView item labels. (d66676f)
- Set backgroundTint explicitly to @null in M3 bottom navigation styles (adbcf8c)
BottomSheet
- Fix bottom sheets in EXPANDED state when the expanded height is the same as the collapsed height (493243e)
- Simplify state transition logic (04c483c)
- Fix activity leak when setting states on destroying activities (43114c4)
- Update edge-to-edge paddings when bottom sheet is laid out (19af0ac)
Chip
- Refactored chip group selection logic to a standalone class (f3c6430)
- Added missing attributes to M3 chip styles (cc18f3f)
- Update M3 chip styles with spec (8ed0ac9)
CollapsingToolbarLayout
- Fixed shadow issues when transition between expanded and collapsed states. (86e8b00)
- Constrain adjusted font weight to acceptable values (5dce006)
Color
- Fix resources being re-harmonized when wrapContextIfAvailable() is used. (b402cb3)
- Added ColorGrid classes for color harmonization demo. (fcc1091)
- Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (1dad5f6)
- Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aa)
- Added support for color resources harmonization in XML (869d943)
- Refactor DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052)
- Update DynamicColors to use peekDecorView() instead of getDecorView() when applying dynamic color theme overlay (56ed070)
- Update DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5)
- Update DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f)
- Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4)
- Add Resource Table format for XML color Harmonization. (822a5b2)
Dialog
- Fixed crashes when colorControlHighlight is a CSL (1c5c054)
- Added date and time picker themes to M3 dialog themes (8342f90)
- Fixed dialog icon color tint (246b340)
- Fixed dialog paddings (672e744)
- Start-align message text with centered styles (9980596)
Divider
- Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. (9416b2c)
MaterialDatePicker
- Fixed edge-to-edge mode being applied multiple times (e1ee959)
- Always go edge-to-edge in fullscreen mode (be6050a)
- Start align edit icon in landscape (94cd532)
- Fixed wrong month title with certain months (62e8993)
- Added methods to use custom text for positive and negative button (b2fbace)
MaterialButton
- Fix icon position not being updated when size is not changed (b0f3700)
- Support icon gravity with text alignments other than centered (6c41f07)
MaterialCardView
- Fixed crash on Pre-Q devices when checked icon is null (b4cab87)
- Fixed checked icon gravity issues (283715d)
- Added option to set the checkedIcon gravity (250d56d)
MaterialShapeDrawable
NavigationRail
- Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (c66633b)
Slider
- Added LABEL_VISIBLE to label behavior. (ca8594d)
- Add support for custom thumb drawables (17da000)
Snackbar
- Fixed margins are added multiple times when show() is called (2bfc7ba)
- Fixed the issue that setting margins programmatically does not work (d5856fd)
- Support setting max lines programmatically (4c7be52)
- Enforce vertical layout when action text is too long (ff97a68)
- Fixed NPE on Android 8 & 9 (35d9da8)
- Fixed maxWidth is not applied on Snackbar (6a3ea94)
Tabs
- Tabs with padding in fixed mode shouldn't scroll (9c2df28)
- Added fade indicator animation mode. (a295de9)
- Fix NPE caused by set a position less than 0 (823c34a)
TextInputLayout
- Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (4d78879)
- Extracted start components from TextInputLayout (9a46af2)
- Split icon tinting logic to a helper class (9789f2e)
- Provided set simple items API with default item layout for MaterialAutoCompleteTextView (85ed993)
- Added support for minEms and maxEms (7d46b95)
- Applied edit text's letter spacing to expanded hints (88eb089)
- Text field should comply with system level bold (e8bde75)
- Fixed crashes when text field size is too large (cf5df22)
- Fixed getBoxCornerRadiusBottomEnd and getBoxCornerRadiusBottomStart returning wrong values. (9d2f864)
TopAppBar
- Fixed app:expanded=false not working (2f3110f)
- Fixed centering logic when title and subtitle are the same (f69e3a0)
- Support scaleType and adjustViewBounds for logo (b01051b)
- Make title and subtitle match ActionBar's (0f2b537)
- Save and restore scroll state during scroll range recalculation (698cf9b)
- Fixed top app bar snapping issue (acb7958)
- Fixed expanded title margin not applied (89d80d0)
- Correctly set letter spacing when expanding titles (44d4c3e)
- Fixed text alignment of multi-line title in collapsing toolbar (e6db8a4)
- Fixed snap issue with transparent status bar (b935604)
Dependency Updates
Dependency |
Previous version |
New version |
androidx.fragment |
1.0.0 |
1.2.5 |
Full list of changes
1.5.0...1.6.0
Full list of release notes
Read more
1.6.0-rc01
Dependency Updates
Library Updates
A11y
- Make picker header focusable to improve TalkBack response (9dd0952)
- Attach/detach badge contentDescription when using menuItem. (bed5c59)
- Make label important for accessibility (ebc9d19)
TextInputLayout
- Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (4d78879)
Material 3
- Add additional condition to check dynamic color supported devices (51093e1)
MaterialDatePicker
- Fix edge-to-edge mode being applied multiple times (e1ee959)
TopAppBar
- Fix app:expanded=false not working (2f3110f)
Color
- Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aa)
Other
- Changed gradle so that tests run in parallel, preventing OutOfMemory errors (a8256c2)
- Make sure targetSdkVersion is applied to all Gradle sub projects (9be224b)
- Update Robolectric to 4.7.3 (aeed987)
- Update library version to 1.6.0-rc01 (9e758af)
Full list of changes
1.6.0-beta01...1.6.0-rc01
1.7.0-alpha01
Dependency Updates
Library Updates
-
TextInputLayout
- Centralize EndIconDelegate listener logic (26308d9)
- Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (784f901)
- Create EndIconDelegates in an on-demand fashion (7c160c8)
- Extract end components from TextInputLayout (6cdf7b5)
-
ExposedDropdownMenu
- Updated the elevation of the popup to match M3 specs. Also fixed bug where elevation wasn't being read via xml. (2c335b5)
- Removed update dropdown background call from setInputType as it indirectly calls setRawInputType (f915ffd)
- Update dropdown background when setRawInputType is called. (f31414a)
- Fixed android:popupBackground not working in xml/styles for the AutoCompleteTextView. (df3a708)
- Update background when setInputType is called so that ripple is or isn't present properly. (1c02b62)
-
DatePicker
- Fix edge-to-edge mode being applied multiple times (c6a654c)
- expand the touch area of a month's days (ffb64c1)
- Fix for issue that causes the month view not to expand to show all days in a month. (a1ec73b)
-
RadioButton
-
Tabs
- tab layout should not ignore focused state ripple color (5a0541f)
-
Slider
- Make slider's height adjustable with track height or thumb radius (dc0d8a9)
-
Button
- Fix icon textStart/End alignment with multiline text (b6b895a)
- Fix icon position with multiline text (19d0500)
-
TopAppBar
- Fix app:expanded=false not working (05be1b9)
-
TextView
- Deprecated 4 arg constructor. (df273cd)
-
NavigationRail
- Fix bottom padding being applied to top bug (5173944)
-
Accessibility
- Added more a11y tests for text fields and exposed dropdown menu. Also updated robolectric version (863d6aa)
- Make picker header focusable to improve TalkBack response (c23daec)
- Attach/detach badge contentDescription when using menuItem. (ee49c5a)
- Make label important for accessibility (0ba0d65)
- Fixed bug where setting the AutoCompleteTextView's input type to TYPE_NULL in code would make it unusable in a11y touch mode, as it was still seen as editable for a11y. (01021a7)
- Update accessibility className used for hour/minute Chips (a51d1dc)
- Fixed text field's focused rect wrong behavior when using a11y magnification. (dce4419)
-
Transitions / Motion
- Open MotionUtils and update resolveThemeInterpolator to load both new and legacy easing attributes. (894edb6)
- Add new motion system duration theming (0ab2068)
- Add motion easing xml interpolators and theme attributes. (0d91f4a)
-
Color
- Add additional condition to check dynamic color supported devices (6fdc114)
- Refactored MaterialColorSpec to take @ColorRes or @ColorInt for the demo. (f43995f)
- Fix MaterialColors cannot handle CSL issue (2544c1f)
- Update link for m3 Color design guidelines (2a7f14a)
-
Catalog
- Make card selection accessible (a49fa6a)
- continuous slider demo should use a single switch (dbfcd35)
- consolidate slider switches to a single switch (315c496)
-
Documentation
- Added a note for shape theming. (e74baff)
- Add status bar / edge-to-edge section to Top App Bar dev doc (b8e1f97)
- Correct style name used in FAB dev doc (d26cb45)
-
Tokens
-
Other
- Changed gradle so that tests run in parallel, preventing OutOfMemory errors (e9b04a6)
- Make sure targetSdkVersion is applied to all Gradle sub projects (06348a0)
- Update Robolectric to 4.7.3 (139f35c)
Full list of changes
1.6.0-beta01...1.7.0-alpha01
1.6.0-beta01
Dependency Updates
Library Updates
Color
- Deprecated previous apply...() APIs and add overload for activity apply method with no options (8363cde)
- Iterated on HarmonizedColors and DynamicColors feedback (b70bbc2)
- Updated dark tone values for ColorRoles. (7b51353)
- Updated getters/setters naming in the
HarmonizedColorsOptions
(bfb6086)
- Fixed formatting and typos for resources harmonization. (d24b3a9)
- Updated Color dev doc and added new section for Apply dynamic colors using
DynamicColorsOptions
and Resource Harmonization. (a81a658)
NavigationRail
- Updated documentation to include window inset attributes. (3b2b56e)
- Fixed bottom padding being applied incorrectly (5173944)
TextInputLayout
- Added class documentation to use TextInputLayout's context to construct the child TextInputEditText. (1085583)
- Fixed end icon focus in a11y mode when a11y mode is turned on/off after views have been attached. Also added a11y tests. (b9a21f0)
- Fixed text field's focused rect wrong behavior when using a11y magnification. (a8d8e70)
Tokens
- Upgraded to v0.79. (ccfc0ee)
- Migrated deprecated motion token generated resources. (91c2530)
- Removed deprecated font family resource. (6a4fa0b)
- Added missing palette token generated resources. (e7a691e)
- Added new shape appearance styles. (a5b78e6)
- Added lineHeight attr into TextAppearance. (b4d4450)
TimePicker
- Updated accessibility className used for hour/minute Chips (981129f)
- Updated to give more context on hour/minute selection (380778f)
- Fixed TalkBack from announcing unavailable action (1b14715)
- Fixed TalkBack announcing wrong selection between hour/minute (47781d5)
- Fixed wrong clock item selection (9cdf4c9)
Tabs
- Fixed tabs with padding in fixed mode from scrolling (9c2df28)
Slider
- Added LABEL_VISIBLE to label behavior and added a demo fragment in catalog. (ca8594d)
- Refined javadocs of thumb radius setters (78b532c)
DatePicker
- Always go edge-to-edge in fullscreen mode (be6050a)
Catalog
- Fixed status bar and action mode glitches in ActionBar demo (ebfb3db)
- Removed the overflow menu from the bottom app bar demo (52daa6f)
Material 3
- Added additional condition to check dynamic color supported devices (69121c8)
NavigationView
- Fixed navigation view item ripple (cfc307e)
TopAppBar
- Fixed centering logic when title and subtitle are the same (f69e3a0)
Other
- Updated bug report template with more instructions for minimal sample app (a147bca)
Full list of changes
1.6.0-alpha03...1.6.0-beta01
1.6.0-alpha03
Dependency Updates
Library Updates
Color
- Refactored DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052)
- Updated DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5)
- Updated DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f)
- Added missing M3 color attributes to public (0c8fc41)
- Add support for color resources harmonization in XML (869d943)
TextInputLayout
- Provide set simple items API with default item layout for MaterialAutoCompleteTextView (85ed993)
- Updated documentation to clarify end icon mode's expected usage and behaviors relating to the icon's drawable. (1b7e92d)
- Fixed icons behaving unexpectedly when switching modes + bug of wrong icon tint state when setting an icon programmatically. (ae16efd)
- Added line mask expansion animation to filled box underline. (2463946)
- Added support for minEms and maxEms (7d46b95)
MaterialButtonToggleGroup
- Removed getAccessibilityClassName() override since TalkBack doesn't recognize the class name, in favor of getting identified as a generic list container (96fa85e)
Catalog
- Added Navigation Drawer demo (2ce5f3b)
- Removed Nav Rail Fab elevation to remove shadow in catalog demo. (6c1bdd7)
- Updated Fonts section title (8b9be72)
- Updated catalog preferences menu to a nested scroll view. (9a5ec35)
Dialog
- Fixed crashes when colorControlHighlight is a CSL (1c5c054)
NavigationRail
- Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (c66633b)
- Enabled Resources Harmonization with Material defaults in Catalog app (d7a07ab)
Tokens
- Better output ordering (37fcd24)
- Generated TextAppearance styles instead of atomic typography resources. (878ea36)
- Updated motion token resources. (0de6ad4)
- Updated atomic shape resources to ShapeAppearance styles. (e721c46)
- Re-upgraded to v0.73. (5386328)
Snackbar
- Fixed the issue that setting margins programmatically does not work (d5856fd)
- Added support for setting max lines programmatically (4c7be52)
- Fixed lint error caused by @IntDef (3cf23e4)
Badging
- Prevent multiple badges being attached to a menu item at the same time (b3db1cc)
CollapsingToolbarLayout
- Fixed shadow issues when transition between expanded and collapsed states. (86e8b00)
- Constrain adjusted font weight to acceptable values (5dce006)
A11y
- Fixed prefix/suffix not being properly announced when the text field is focused and they show up. Improved their screen reader focus order to align with the visual order of the elements: navigating to the left will focus on the prefix and navigating to the right will focus on the suffix. (b690127)
- Fixed Switch Access not being able to reach clock items (f9914da)
TopAppBar
- Support scaleType and adjustViewBounds for logo (b01051b)
- Made title and subtitle match ActionBar's (0f2b537)
MaterialCardView
- Fixed crash on Pre-Q devices when checked icon is null (b4cab87)
BottomNavigationView
- Added NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (1222268)
- Fixed IllegalArgumentException in preview mode. (18554d9)
- Removed font scaling from NavigationBarView item labels. (d66676f)
BottomSheet
- Updated edge-to-edge paddings when bottom sheet is laid out (19af0ac)
- Fixed IME bottom padding being ignored in edge-to-edge mode. (1304522, 6454b87)
- Added support for background tint without shape appearance set (13dbc9f)
- Fixed activity leak when setting states on destroying activities (43114c4)
MaterialDatePicker
- Start align edit icon in landscape (94cd532)
Chip
- Refactored chip group selection logic to a standalone class (f3c6430)
MaterialButton
- Fixed icon position not being updated when size is not changed (b0f3700)
TimePicker
- Added setters for hour and minute (85a4405)
Toolbar
- Hide shadows on all M3 Toolbar styles, not just Surface style (b49284e)
Slider
- Added support for custom thumb drawables (17da000)
Typography
- Refactor how bold typefaces are created (2d90a7a)
- Clamp typeface weight when adjusting it (dff1e4e)
- Support setting text color programmatically. (10edcd1)
Full list of changes
1.6.0-alpha02...1.6.0-alpha03
1.6.0-alpha02
Dependency Updates
Dependency |
Previous version |
New version |
androidx.fragment |
1.0.0 |
1.2.5 |
Library Updates
Material 3
- Migrate action bar popup themes to M3 (2ae3ca4)
- Add additional condition to check dynamic color supported devices (c6527d1)
- Add supporting brand list of dynamic colors (b2f05d5)
TextInputLayout
- Speedup simple inflate. (26d862b)
- Apply edit text's letter spacing to expanded hints (88eb089)
- Refine the hint cutout logic (79b2c3d)
- Text field should comply with system level bold (e8bde75)
MaterialDatePicker
- Replace fragment container with FragmentContainerView (e7bc947)
- Fix wrong month title with certain months (62e8993)
Dialog
- Add date and time picker themes to M3 dialog themes (8342f90)
- Fix dialog icon color tint (246b340)
- Fix dialog paddings (672e744)
- Start-align message text with centered styles (9980596)
Badging
- Refactor Badge state managing logic (bbbeacd)
- Support different locale on badges (b8f2dd5)
TopAppBar
- Save and restore scroll state during scroll range recalculation (698cf9b)
- Fix top app bar snapping issue (acb7958)
Snackbar
- Enforce vertical layout when action text is too long (ff97a68)
- Fix NPE on Android 8 & 9 (35d9da8)
- Fix maxWidth is not applied on Snackbar (6a3ea94)
A11y
- Make dialog icon not important for accessibility (8bc6420)
- Make Talkback announce selected state for clock items (fcc68a2)
Color
- Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4)
- Set android:windowBackground to android:colorBackground (dac9bf3)
- Add additional condition to check dynamic color supported devices (833f410)
- Add Resource Table format for XML color Harmonization. (822a5b2)
Divider
- Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. (9416b2c)
Tabs
- Added fade indicator animation mode. (a295de9)
- Added tab demo for fade mode indicator animation. (1beedec)
MaterialButton
- Support icon gravity with text alignments other than centered (6c41f07)
Slider
- Fix lint error caused by hidden super interface (3cf0647)
Tokens
- Upgrade M3 token resources to v0.71 (4de8565)
Documentation
- Update library version in Getting Started doc to 1.5.0 (e98cee5)
Catalog
Other
- Update library version to 1.6.0-alpha02 (80e50de)
- Replace all jcenter with mavenCentral (ad97f01)
- Horizontally center the checkbox button drawable if there is no text (8f4837e)
- Fix drawables not applying system level bold (90787bf)
- Simplify MaterialButtonToggleGroup's checking logic (3db25be)
- Remove paddingTopSystemWindowInsets from flags checked to apply windowInsetListener (2e73d1a)
Full list of changes
1.6.0-alpha01...1.6.0-alpha02
1.5.0
What's new since 1.4.0
Material3
themes, styles, and functionality! Check out the following resources for more information:
- New
Divider
component (Docs)
Other highlights
Badging
- Added support for differing offsets for badges with/without text, and support for badge width and padding in styles. (bd4914d)
BottomAppBar
- Added attr to set the color of navigation icon. (0ed7c76)
- Added support for showing/hiding immediately (34740b6)
BottomNavigationView
- Updated to explicitly read and set minimum height. (943c4f0)
BottomSheet
- Added maxHeight to bottom sheet behavior (a38d2d8)
Chip
- Fixed icon tint states are not updated after setting new icon (c08a07d)
CollapsingToolbarLayout
- Added option to add extra height when title text spans across multiple lines (655dde0)
- Added option to force always applying system window inset top regardless of layout_height (9ebf1a1)
- Fixed multiline RTL collapsed title text position (af35dfb)
- Added support for expanded and collapsed title text color attributes (5c14772)
- Fixed RTL text only laying out as RTL when actual text is RTL (841f229)
- Added title line spacing and hyphenation frequency setters (f0ce498)
- Added support for multiline RTL when using fade title mode (f0ac362)
- Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL (3ad232d)
MaterialButton
- Updated Material Button style to set the preferred maximum width to 320dp. (c5c7a74)
- Fixed MaterialButton lollipop shape issue (153fdee)
MaterialDatePicker
- Avoided NPE caused by getSelection() before created (cb5d622)
- Fixed opening at the selected date in the end month (eb7b114)
- Fixed DatePicker crashes and and potential issue of range selection (281688a)
- Fixed excessive whitespace (8fda897)
Snackbar
- Handled anchor view properly so no memory leak will happen (58ceeab)
- Fixed memory leak caused by not resetting anchor views (b0558dc)
- Fixed maxWidth and maxInlineActionWidth are not applied (8729d8a, 15e2254)
TextInputLayout
- Applied tint when setting start icons (4044183)
- Made clear text icon focusable (8a4f42a)
- Added a fade transition to placeholder TextView's appear and disappear. (c92e693)
- Fixed cutout padding so text field outline doesn't overlap collapsed hint. (87b50c6)
TimePicker
- Hid cancel button when it's not cancelable (35c2af3)
- Updated accessibility event sending when updating input mode (00c0df9)
- Added ability to customize positive and negative button (168c691)
Dependency Updates
Dependency |
Previous version |
New version |
compileSdkVersion |
30 |
31 |
targetSdkVersion |
29 |
31 |
androidx.annotation |
1.0.1 |
1.2.0 |
androidx.drawerlayout |
N/A |
1.1.1 |
Full list of changes
1.4.0...1.5.0
Full list of release notes
1.5.0-rc01
Dependency Updates
Library Updates
Material 3
- Add supporting brand list of dynamic colors (66b1c0e)
- Update M3 card elevation according to the spec (91f1f2e)
- Add missing attributes to M3 button styles (55a67a6)
- Update Button elevation to match specs (835624e)
- Update Button padding to match specs (0ac68ec)
- Update M3 navigation rail text appearances (db5b3d4)
- Do not enforce text appearance with Tab M3 styles (7975920)
- Fix M3 date picker styles (1579272)
Chip
- Add missing attributes to M3 chip styles (d95ad41)
Dialog
- Start-align message text with centered styles (287858a)
- Enforce material theme in M3 dialog styles (4d12f80)
BottomNavigationView
- Set backgroundTint explicity to @null in M3 bottom navigation syles (f44d001)
Snackbar
- Fix maxWidth is not applied on Snackbar (15e2254)
Color
- Add additional condition to check dynamic color supported devices (817dc12)
Other
- Update library release version to 1.5.0-rc01 (f14d1a2)
Full list of changes
1.5.0-beta01...1.5.0-rc01
1.6.0-alpha01
Dependency Updates
Library Updates
Material 3
- Update M3 card elevation according to the spec (bb23e2d)
- Add missing attributes to M3 button styles (3c9b452)
- Update elevation to match specs (db64adb)
- Update padding to match specs (f028380)
- Update M3 navigation rail text appearances (6b57c52)
- Do not enforce text appearance with M3 styles (04a6b6c)
- Fix M3 date picker styles (fba1a34)
- Change checkedIconGravity values to enum (bc56d5b)
- Add supporting manufacturer list of dynamic colors (e5023f6)
- Add textAppearanceListItem* styles to theme (bed2ac1)
A11y
- Improved accessibility for switch access. (2d337c5)
- collapsing toolbar layout not respecting system level bold (65754bd)
- accessibilityManager.isEnabled() is not reliable to check if component is in a11y mode, as it may return true unexpectedly. (b878fc3)
- Fix Talkback doesn't announce minutes selection (c07e5f2)
- Make Talkback announce action on clock items (38406e1)
- Fixed dropdown list not showing for non editable dropdown menus in switch access mode. (d8e19dd)
- Fixed RTL support for setting corner radius on TextInputLayout. (dca7fc0)
- Fix system level bold not applied (c6be59c)
- Removed TextInputLayout's placeholder text duplicated announcement. (20c3ad0)
Documentation
- Added note about screen readers skipping decorative text field elements. (a369449)
- Add migration codelab and M2 -> M3 theme mapping to Getting Started doc (05a74bd)
- Removed broken links from divider doc. (3b6c804)
- Reformatted color.md. (735b88e)
- Update Getting Started doc to link to Material Theme Builder (255cc17)
- Small typo fix in checkbox doc (2b441e6)
TextInputLayout
- Remove unneeded logic (1d50ed7)
- Fix crashes when text field size is too large (cf5df22)
- Correctly calculate hint text offset (34cce18)
- Fixed calculateLabelMarginTop() value for filled text field style, which caused getBaseline() to return a wrong offset. (c7c5c7c)
- Fix helper text label for usage (aaac96d)
- Fixed getBoxCornerRadiusBottomEnd and getBoxCornerRadiusBottomStart returning wrong values. (9d2f864)
- Fixed shouldAnimateCaptionView() returning true when captionText is null. (c352dfd)
- Don't add placeholder view to text field's input frame if placeholder is null. (3ca3b71)
Color
- Added Color Scheme demo in Catalog. (f898ba8)
- Move dynamic color public resources to all versions (a455a53)
- Refactored and added the Dynamic Color Palette demo in Catalog. (b808484)
Catalog
- Added update button to customizable text fields. (a3b5440)
- Add example of Preferences screen with Top App Bar (83edbc4)
TopAppBar
- Fix expanded title margin not applied (89d80d0)
- Correctly set letter spacing when expanding titles (44d4c3e)
- Fix text alignment of multi-line title in collapsing toolbar (e6db8a4)
- Fix snap issue with transparent status bar (b935604)
MaterialDatePicker
- Wrapped text fields from range picker selection in a ScrollView so their heights don't change in landscape mode. (9b5356f)
- added methods to use custom text for positive and negative button (b2fbace)
Chip
- Add missing attributes to M3 chip styles (cc18f3f)
- Add input chip elevated styles to public (e9ec82f)
- Update M3 chip styles with spec (8ed0ac9)
MaterialCardView
- Fix checked icon gravity issues (283715d)
- Added option to set the checkedIcon gravity (250d56d)
Tabs
- Fix NPE caused by set a position less than 0 (823c34a)
Dialog
- Enforce material theme in M3 dialog styles (728a1e6)
BottomNavigationView
- Set backgroundTint explicity to @null in M3 bottom navigation syles (adbcf8c)
MaterialShapeDrawable
Other
- update library version to 1.6.0-alpha01 (53ddac4)
- Internal change (a487c89)
- Internal change (9d86d27)
- Add margin flags to BottomSheetBehavior for system inset bars. (185a0f9)
- Automated g4 rollback of changelist 409212345 (d5729d5)
- Removed extra space between the list view container and the navigation bar. (6517aa6)
- Add margin flags to BottomSheetBehavior for system inset bars. (022a05f)
- Small clean-up of CollapsingTextHelper (c80177d)
- Internal change. (33f1e3b)
- Remove IllegalArgumentException in settleToState (dbd37d2)
Full list of changes
1.5.0-beta01...1.6.0-alpha01
1.5.0-beta01
Dependency Updates
Library Updates
Material 3
- Add supporting manufacturer list of dynamic colors (59ca95b)
- Add textAppearanceListItem* styles to theme (644f8c1)
Color
- Move dynamic color public resources to all versions (34c068f)
Chip
- Add input chip elevated styles to public (3651890)
- Update M3 chip styles with spec (b96bbaf)
Tabs
- Fix NPE caused by set a position less than 0 (b262423)
Other
- Remove IllegalArgumentException in settleToState (cdf9a28)
- Update library version to 1.5.0-beta01 (499f4f9)
Full list of changes
1.5.0-alpha05...1.5.0-beta01