Bumps material from 1.3.0 to 1.6.0.
Release notes
Sourced from material's releases.
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 (b49284ec75ab16a9f649b97cb26aa4a17bc82512)
- Migrate action bar popup themes to M3 (2ae3ca42985722900f53de9d9a1ef61c143767eb)
- Update M3 card elevation according to the spec (bb23e2d6ad7888713d51e1dc53f36a69b0db62ff)
- Add missing attributes to M3 button styles (3c9b45292d78a80f511d672bb5fe4ef1431dd8bd)
- Update M3 navigation rail text appearances (6b57c52973c2ceb97c88da1df1b72859ed28775a)
- Fix M3 date picker styles (fba1a341c31cbe2c5d71c239afc8bcc14af9d968)
- Change checkedIconGravity values to enum (bc56d5b43b93ab6dbed4d561ad8b8b1351f9535c)
Badging
- Prevent multiple badges being attached to a menu item at the same time (b3db1cc02855453f91353fca9e9cb11ccf0db9cc)
- Refactored Badge state managing logic (bbbeacd64e3b1cc64e8edc6adf430aad45d03e32)
- Added support for different locale on badges (b8f2dd53e0e19ea376639a610a0b51faabf0f9af)
BottomNavigationView
- Added supported NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (12222684370dfb6c3400fd984578059d22741bb3)
- Removed font scaling from NavigationBarView item labels. (d66676fd6bb93556c2cb3b0d9f7885821ac5bd8f)
- Set backgroundTint explicitly to
@null
in M3 bottom navigation styles (adbcf8cbbc6e95921d233c87eb87dc01b6cc8f0d)
BottomSheet
- Fix bottom sheets in EXPANDED state when the expanded height is the same as the collapsed height (493243ea1e5a2a0eee675b652cae0eeaec73b6a3)
- Simplify state transition logic (04c483cf3466cd0a7bf4835cadccc2372ba0da2b)
- Fix activity leak when setting states on destroying activities (43114c4f7c9ca0c70c48c777dbd2957386d539e5)
- Update edge-to-edge paddings when bottom sheet is laid out (19af0ac9d98cc3c504ce69ae38fbc00570cc85f5)
Chip
- Refactored chip group selection logic to a standalone class (f3c6430f94bb7f82afc740e5545fd6302e9bf3aa)
- Added missing attributes to M3 chip styles (cc18f3f7e8ff097b80d774911c2ede92d4b30698)
- Update M3 chip styles with spec (8ed0ac9fd383bbb53fac100e74b2a0e9ee41bc9a)
CollapsingToolbarLayout
- Fixed shadow issues when transition between expanded and collapsed states. (86e8b00ecdc9f9c5212e5a7e0700bd95be4da94b)
- Constrain adjusted font weight to acceptable values (5dce006a5c1649df4eb6631c85619017728726af)
Color
- Fix resources being re-harmonized when wrapContextIfAvailable() is used. (b402cb3c032ea10beb941284b49a9667ee7abe1e)
- Added ColorGrid classes for color harmonization demo. (fcc10914f2b87c0e5f28761e8316bba2d9d1a318)
- Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (1dad5f65d4c54952a3a63efa4b9fd81b9c46d4a2)
- Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aaf3ab11d815e4086b37575e829e0b626db)
- Added support for color resources harmonization in XML (869d9430677e66f9007bee65960dc0539627fd4a)
- Refactor DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052aaf1e824f221057ca3c3acae80d1a521d)
- Update DynamicColors to use peekDecorView() instead of getDecorView() when applying dynamic color theme overlay (56ed07008ba0bff682e99c5d91126596fe9e6ddf)
- Update DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5aefc84a1543eca3056a538120de0b4297)
- Update DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f1211028e7c456ce1ca91685a938f0ffcc)
- Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4e16236ee8ac9dc0052204e6a7be32c0f4)
- Add Resource Table format for XML color Harmonization. (822a5b2cb2dedf133618d981140edf30db0058ef)
Dialog
- Fixed crashes when colorControlHighlight is a CSL (1c5c054b70a55c2567cdfee460d3876158b2945a)
- Added date and time picker themes to M3 dialog themes (8342f9025eefe64ca24312467d021a522e833769)
... (truncated)
Commits
1dbd3dd
[M3][Color] Updated color harmonization demo
b402cb3
[M3][Color] Fix resources being re-harmonized when wrapContextIfAvailable() i...
fcc1091
[M3][Color] Added ColorGrid classes for color harmonization demo.
207cb53
[M3][Color] Refactored MaterialColorSpec to take @ColorRes
or @ColorInt
for t...
1dad5f6
[M3][Color] Add kyocera to dynamic colors allowlist and reorganized based on ...
2bfc7ba
[SnackBar] Fix margins are added multiple times when show() is called
d6cd0e6
Update library version to 1.6.0
a8256c2
[Gradle] Changed gradle so that tests run in parallel, preventing OutOfMemory...
9be224b
[Gradle] Make sure targetSdkVersion is applied to all Gradle sub projects
aeed987
[Tests] Update Robolectric to 4.7.3
- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it
@dependabot merge
will merge this PR after your CI passes on it
@dependabot squash and merge
will squash and merge this PR after your CI passes on it
@dependabot cancel merge
will cancel a previously requested merge and block automerging
@dependabot reopen
will reopen this PR if it is closed
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependencies