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)