Important
New minimum requirements for your app project:
- Update to Android Gradle Plugin (AGP) version 7.2.0
- Update to Gradle version 7.3.3
- Update to Java 8 (version 1.8)
- Update to Android Studio Chipmunk, version 2021.2.1
- Update compileSdkVersion and targetSdkVersion to 32
What's new
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.appcompat | 1.4.0 | 1.5.0-beta01 |
Android Gradle Plugin (AGP) | 4.0.0 | 7.2.0 |
Gradle | 6.1.1 | 7.3.3 |
Java Version | 1.7 (7) | 1.8 (8) |
Library Updates
Switch
- Update to AppCompat 1.5.0-beta01 and remove workarounds (also update compileSdkVersion/targetSdkVersion to 32) (e968929)
- Tokenize the new switch styles (e9b5328)
- Refine tinting logic to have better performance (072578d)
- Add thumb icon tint to the new switch styles (2f33cfc)
- Add associated text styles (06bba00)
- Add material switch style to M3 themes (1e08c68)
BottomSheet
- Add drag handle to scrollable demo (f89a91f)
- Create a drag handle view which support accessibility control (ac7b761)
- Do not find scrolling child that's not visible (1fe1618)
- Update javadoc of setHideable() method (132ff88)
- Fix BottomSheetDialog edge-to-edge mode (2d3024e)
- Fix BottomSheetDialog edge-to-edge mode (fd8d30d)
- Fix full-screen dialog layout after restrict expansion is enabled once (109748e)
ProgressIndicator
Catalog
Documentation
FloatingActionButton
Tokens
- Integrate component tokens. (2719859)
- Included parent display group names in the output file comments. (cc317e1)
- Updated formatter to add an new line between token_set sections for better readability. (cd37b91)
- Integrated elevation overlay color. (d320d48)
- Upgraded token resources to v0.99. (d0c3ea0)
Snackbar
Slider
- Fix label visibility when slider is hidden (ed11e69)
TopAppBar
BottomNavigationView
- Updated item ripple to be contained within active indicator shape when enabled. (11578b3)
ExtendedFloatingActionButton
- Updated show and hide motion specs to use motion tokens. (5c0003c)
Checkbox
- Added support for error state. (8dd9c7e)
MaterialButton
- Add methods to not toggle checked state on buttons on click (a601107)
RadioButton
- Refactored button tint color resource and updated docs (254abc5)
TextInputLayout
CollapsingToolbarLayout
- Added experimental API to allow generic customizations of the StaticLayout.Builder used for the title text (241aa5c)
BottomAppBar
- Changing default Material3 theme to follow M3 specs (53b3001)
- Token integration (f2f588a)
- Add attribute to remove embedded FAB elevation (f2423de)
- Add fab end margin attribute (88a73eb)
- Add menu alignment attribute (397e48f)
- Generated resources from tokens. (4188995)
- Add new anchor mode attribute for FAB that has an embedded option (cab45dd)
Tabs
Transitions / Motion
- Update documentation with new visual assets. (a9752ee)
TimePicker
NavigationView
- Update foreground boundaries of menu items when setting a new foreground (4dc3d93)
Divider
- When lastItemDecorated false then creates a blink with the last view contains a dropdown from visible to gone (03c4353)
ShapeableImageView
- Don't change layer type when view is detached from the window (74b7706)
MaterialDatePicker
- Improve error formatting (be8e4e2)
A11y
- Fix announced Chip count and index (9b1a74b)
Chip
- Fix API requirement (777ba0d)
Other
- Version 1.7.0-alpha03 (a40f5fa)
- Automated g4 rollback of changelist 458265064 (34ac0ec)
- Update guidelines for CollapsingToolbar + PreferenceFragmentCompat (201b4a0)
- Automated g4 rollback of changelist 457744460 (10ac255)
- Automated g4 rollback of changelist 458476376 (c49f961)
- Added support for toggleable Icon buttons. (2d83321)
- Automated g4 rollback of changelist 457648699 (65a3ac5)
- Remove unused public.xml resources (cd80b71)
- Automated g4 rollback of changelist 454163860 (ca2da6c)
- Automated g4 rollback of changelist 457576897 (7e9045b)
- Updated translated strings. We know how to say "Cancel" now :) (3fdfb6e)
- Fixed overlapping of compat shadow of inner corners. (ecb6284)
- Updated dev doc. (36e204f)
- Update Appcompat and Emoji2 libraries from aosp-androidx-g3-release with build id #8479725 (eb54d6a)
- Add glide to catalog dependencies. (8a352fd)
- Automated g4 rollback of changelist 452075757 (a9a57af)
- Added isMaterial3DynamicColorApplied attr to identify whether dynamic colors are being used in a theme. (7d0f1ba)
- Migrated to new shape system. (3db2109)