What's new since 1.4.0
Material3
themes, styles, and functionality! Check out the following resources for more information:- Material 3 site and guidelines
- Start building with Material You blog post
- Migrating to Material Design 3 blog post
- Getting started & dynamic color developer documentation
- 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
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
MaterialDatePicker
Snackbar
TextInputLayout
TimePicker
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 |