Update dependency com.google.android.material:material to v1.6.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
com.google.android.material:material | minor |
1.5.0 -> 1.6.0
|
Release Notes
material-components/material-components-android
v1.6.0
What's new since 1.5.0
- Color harmonization support! Check out the following resources for more information:
- Designing Harmony into Dynamic Color blog post
- Using color harmonization documentation
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
)
- Hide shadows on all M3 Toolbar styles, not just Surface style (
-
Badging
-
BottomNavigationView
-
BottomSheet
-
Chip
-
CollapsingToolbarLayout
-
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
)
- Fix resources being re-harmonized when wrapContextIfAvailable() is used. (
-
Dialog
-
Divider
- Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. (
9416b2c
)
- Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. (
-
MaterialDatePicker
-
MaterialButton
-
MaterialCardView
-
MaterialShapeDrawable
- Implement getAlpha() (
5ff917d
)
- Implement getAlpha() (
-
NavigationRail
- Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (
c66633b
)
- Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (
-
Slider
-
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
)
- Fixed margins are added multiple times when show() is called (
-
Tabs
-
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
)
- Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (
-
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
)
- Fixed app:expanded=false not working (
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.fragment | 1.0.0 | 1.2.5 |
Full list of changes
Full list of release notes
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.