Important
Elevation Overlays within default component styles have been replaced by the new Tonal Surface Color system. Instead of blending the Primary color with the Surface color based on an elevation value, components will now use a specific Surface color role which can be more easily understood and customized.
Documentation for the affected components and which Surface color roles they use has been updated in 2114a11.
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.activity | 1.8.0-beta01 | 1.8.0 |
Library Updates
Badging
- Adjust badge vertical offset for certain components to fit design requirements (78cc54b)
- Add note in attachBadgeDrawable method docs about menu item views being re-used when there is a structural change in the menu. Since badges are attached to the views, this may change the menu item that the badge is intended for (5e6ea58)
Carousel
- Ensure that extra small size is not larger than the large size (17baf71)
- Fixed crash when recyclerview has a size of zero. (26c3129)
- When navigating with keyboard, scroll focused item to nearest focal keyline, not the first focal keyline (fb9c1c6)
- Force hero strategy to be start-aligned if there are not enough items to make it center-aligned (9a2347b)
- Add logic for multibrowse strategy to change strategy when number of items is less than the number of keylines (cbb380d)
- Fixed focus order when using keyboard navigation for hero carousels. (0356f24)
- Cleaning up multi-browse strategy and removing compact arrangement (ed4647d)
- Disallowing center aligned hero strategy with only 2 items since it does not make any sense. With only 2 items there can only be a start state and end state with the hero strategy. (d5d604d)
- Fix issue with uncontained carousel not having a proper end scroll value due to assumption made in end scroll calculation (8cb444b)
- Added tests for hero and multibrowse strategies when the carousel container is very small. (8312162)
- Update scroll offset to scroll to the estimated position that it was at upon an initial load (4a6ae4d)
- Fixed strategies crashing when there is not enough available space for a large and a small item (c418063)
Catalog
CollapsingToolbarLayout
- Fix issue where expanded text gets ellipsized too aggressively when using title fade mode and the toolbar has menu items (094e3e2)
Color
Documentation
MaterialCardView
- Support
android:duplicateParentState
. (31af945)
- Support
MaterialDatePicker
Predictive Back
Search
TextInputLayout
Tokens
- Upgraded to v0.175. (bfee8a7)
Other
- Update androidx.activity dependency to version 1.8.0 (733fe20)