Releases: material-components/material-components-android
Releases · material-components/material-components-android
1.6.0-alpha01
29 Nov 21:45
Compare
Sorry, something went wrong.
No results found
Dependency Updates
Library Updates
Material 3
Update M3 card elevation according to the spec (bb23e2d )
Add missing attributes to M3 button styles (3c9b452 )
Update elevation to match specs (db64adb )
Update padding to match specs (f028380 )
Update M3 navigation rail text appearances (6b57c52 )
Do not enforce text appearance with M3 styles (04a6b6c )
Fix M3 date picker styles (fba1a34 )
Change checkedIconGravity values to enum (bc56d5b )
Add supporting manufacturer list of dynamic colors (e5023f6 )
Add textAppearanceListItem* styles to theme (bed2ac1 )
A11y
Improved accessibility for switch access. (2d337c5 )
collapsing toolbar layout not respecting system level bold (65754bd )
accessibilityManager.isEnabled() is not reliable to check if component is in a11y mode, as it may return true unexpectedly. (b878fc3 )
Fix Talkback doesn't announce minutes selection (c07e5f2 )
Make Talkback announce action on clock items (38406e1 )
Fixed dropdown list not showing for non editable dropdown menus in switch access mode. (d8e19dd )
Fixed RTL support for setting corner radius on TextInputLayout. (dca7fc0 )
Fix system level bold not applied (c6be59c )
Removed TextInputLayout's placeholder text duplicated announcement. (20c3ad0 )
Documentation
Added note about screen readers skipping decorative text field elements. (a369449 )
Add migration codelab and M2 -> M3 theme mapping to Getting Started doc (05a74bd )
Removed broken links from divider doc. (3b6c804 )
Reformatted color.md. (735b88e )
Update Getting Started doc to link to Material Theme Builder (255cc17 )
Small typo fix in checkbox doc (2b441e6 )
TextInputLayout
Remove unneeded logic (1d50ed7 )
Fix crashes when text field size is too large (cf5df22 )
Correctly calculate hint text offset (34cce18 )
Fixed calculateLabelMarginTop() value for filled text field style, which caused getBaseline() to return a wrong offset. (c7c5c7c )
Fix helper text label for usage (aaac96d )
Fixed getBoxCornerRadiusBottomEnd and getBoxCornerRadiusBottomStart returning wrong values. (9d2f864 )
Fixed shouldAnimateCaptionView() returning true when captionText is null. (c352dfd )
Don't add placeholder view to text field's input frame if placeholder is null. (3ca3b71 )
Color
Added Color Scheme demo in Catalog. (f898ba8 )
Move dynamic color public resources to all versions (a455a53 )
Refactored and added the Dynamic Color Palette demo in Catalog. (b808484 )
Catalog
Added update button to customizable text fields. (a3b5440 )
Add example of Preferences screen with Top App Bar (83edbc4 )
TopAppBar
Fix expanded title margin not applied (89d80d0 )
Correctly set letter spacing when expanding titles (44d4c3e )
Fix text alignment of multi-line title in collapsing toolbar (e6db8a4 )
Fix snap issue with transparent status bar (b935604 )
MaterialDatePicker
Wrapped text fields from range picker selection in a ScrollView so their heights don't change in landscape mode. (9b5356f )
added methods to use custom text for positive and negative button (b2fbace )
Chip
Add missing attributes to M3 chip styles (cc18f3f )
Add input chip elevated styles to public (e9ec82f )
Update M3 chip styles with spec (8ed0ac9 )
MaterialCardView
Fix checked icon gravity issues (283715d )
Added option to set the checkedIcon gravity (250d56d )
Tabs
Fix NPE caused by set a position less than 0 (823c34a )
Dialog
Enforce material theme in M3 dialog styles (728a1e6 )
BottomNavigationView
Set backgroundTint explicity to @null in M3 bottom navigation syles (adbcf8c )
MaterialShapeDrawable
Other
update library version to 1.6.0-alpha01 (53ddac4 )
Internal change (a487c89 )
Internal change (9d86d27 )
Add margin flags to BottomSheetBehavior for system inset bars. (185a0f9 )
Automated g4 rollback of changelist 409212345 (d5729d5 )
Removed extra space between the list view container and the navigation bar. (6517aa6 )
Add margin flags to BottomSheetBehavior for system inset bars. (022a05f )
Small clean-up of CollapsingTextHelper (c80177d )
Internal change. (33f1e3b )
Remove IllegalArgumentException in settleToState (dbd37d2 )
Full list of changes
1.5.0-beta01...1.6.0-alpha01
1.5.0-beta01
11 Nov 19:10
Compare
Sorry, something went wrong.
No results found
Dependency Updates
Library Updates
Material 3
Add supporting manufacturer list of dynamic colors (59ca95b )
Add textAppearanceListItem* styles to theme (644f8c1 )
Color
Move dynamic color public resources to all versions (34c068f )
Chip
Add input chip elevated styles to public (3651890 )
Update M3 chip styles with spec (b96bbaf )
Tabs
Fix NPE caused by set a position less than 0 (b262423 )
Other
Remove IllegalArgumentException in settleToState (cdf9a28 )
Update library version to 1.5.0-beta01 (499f4f9 )
Full list of changes
1.5.0-alpha05...1.5.0-beta01
1.5.0-alpha05
25 Oct 19:10
Compare
Sorry, something went wrong.
No results found
Dependency Updates
Library Updates
Material 3
Unify the theme/style names of time pickers (841fe97 )
Remove redundant day-night theme overly aliasing (f6426f6 )
Fix month navigation button alignment (ca09b7b )
Color
Add public dynamic color resources (dc0c5f3 )
Harmonize iteration (df87316 )
Add M3 Dynamic Color Themes for AppWidgets (90c78b9 )
Reformat ColorRoles and Custom Color's table (fba7e79 )
Dialog
Simplify M3 dialog theme structure (a1e33f1 )
Update M3 dialog elevation (d045b2d )
Slider
addOnChangeListener should take NonNull value (8297cf8 )
ProgressIndicator
Fix typo in ProgressIndicator.md (bf3a87e )
TopAppBar
Defines collapsing text alpha value to be at most as transparent as the user defines. (a290c38 )
Fix the issue that top app bars not collapsed when top padding is set (7fc006c )
MaterialButton
Update icon state on Drawable state change. (5844d3c )
MaterialDatePicker
Replace confirm button strings (cde684a )
CollapsingToolbarLayout
Allow customizing the title position interpolator (1b8fb30 )
BottomNavigationView
TextInputLayout
Fix collapsed hint cutout is not correctly applied (d10c75b )
Create label cutout only on borders (79ae9b1 )
TimePicker
Attempt to fix onDoubleTap() NullPointerException (3a57f5d )
Make MaterialTimePicker implement OnDoubleTapListener interface instead of instantiating anonymous inner class (93cdd95 )
Fix showing keyboard requires 2 taps in text input mode (e906367 )
Fix Input mode is not changed when keyboard icon is clicked when the app is returned from background (0181029 )
FloatingActionButton
[FloatingActionButton]add setter for max image size (1f7202a )
Snackbar
Fix maxWidth and maxInlineActionWidth are not applied (8729d8a )
Chip
Update chip styles with spec (abb9d5b )
Tokens
Updated resources to v0.54. (c1f7dfc )
A11y
Removed TextInputLayout's placeholder text duplicated announcement, and fixed edge case where placeholder text was being enabled and added to the input frame while it was set to null. (2701161 )
Removed TextInputLayout's placeholder text duplicated announcement. (aa58657 )
Announce time has changed after clock selection (228ad85 )
Catalog
add snackbars to toggles (7cc64fd )
Simplified getting the fold position for the Adaptive demos. Included considering whether there's a hinge for some cases. (3668ca7 )
Fixed Activities in manifest for single module Gradle build (79e6834 )
Changed ListView adaptive demo to include fold position if needed. (82ca11a )
Implemented M3 Supporting Panel demo. (a2815ae )
Documentation
Update for FAB developer documentation (d247b5b )
Update Button developer documentation (f14c86d )
Fix container transform links in Motion dev doc (9954963 )
Update title case to sentence case in developer documentation (905520e )
Minor punctuation and formatting fixes (84e60c9 )
Update Getting Started doc link to DSL -> MDC migration guide (e4f70b6 )
Update Motion dev doc assets (a5f6d10 )
Small doc fixes. (11c59d6 )
Small fixes. (844248c )
Fix links in CanonicalLayouts.md (adb1ef5 )
Updated Canonical Layouts doc. (f664923 )
Update library version in Getting Started doc to 1.5.0-alpha04 (2e5957e )
Fixed formatting of multiline tables in dev docs (a013230 )
Fix dev doc format (615954d )
Update Divider developer documentation (7879b27 )
Added initial canonical layouts guide doc. (5290988 )
Other
update library version to 1.5.0-alpha05 (fb8e131 )
Automated g4 rollback of changelist 404871534 (8bf3bde )
Automated g4 rollback of changelist 404266249 (01c1fc7 )
Remove all broken attr links from Javadocs (9ae56ce )
Added styles in res-public. (9de9319 )
Automated g4 rollback of changelist 398768587 (e9bca65 )
Cleanup (15f9b24 )
Full list of changes
1.5.0-alpha04...1.5.0-alpha05
1.5.0-alpha04
29 Sep 20:21
Compare
Sorry, something went wrong.
No results found
Dependency Updates
Dependency
Previous version
New version
drawerlayout
N/A
1.1.1
Library Updates
Material 3
Updated generated typography token resources and text appearances (39f6190 )
Added M3 Bottom Sheet styles (cdafe75 )
Added M3 Progress Indicator styles (5c2a592 )
Added M3 Snackbar styles (41219f0 )
Fixed Gradle dependency of BuildCompat (31af619 )
Added Medium and Large collapsing toolbar Top App Bar Catalog demos (7463f9a )
Added compress effect Top App Bar demo to Catalog (9534612 )
Added tertiary FAB color variant (054f1db )
Added M3 styles for Dialog (f01e6a8 )
Added M3 theme tests (e509cb4 )
Updated date picker title typography (83e73de )
Added new navigation rail styles. (c6d0f7c )
Fixed favorite demo button icon colors in Catalog (574f83d )
Added M3 styles for navigation view (d0edb45 )
Added filled card style to M3 themes (b40b782 )
CollapsingToolbarLayout
Update the duration in setScrimAnimationDuration if scrimAnimator is already created (9382bb0 )
AppBarLayout
Fixed stateListAnimator related elevation bug (b778645 )
MaterialDatePicker
Fixed excessive whitespace (8fda897 )
BottomAppBar
Support showing/hiding immediately (34740b6 )
Color
Imported new color library into Material (4b936dc )
Added APIs for color harmonization and role mapping utilities (1d3bb92 )
Catalog
Removed MaterialComponents references from musicplayer package (ed0567d )
Added adaptive canonical layout demos (c64bb76 )
LinearProgressIndicator
Improved the smooth transition from indeterminate mode to determinate mode (2161743 )
TimePicker
Send accessibility event when updating input mode (00c0df9 )
Added ability to customize positive and negative button (168c691 )
NavigationRail
Updated rail to support a minimum menu item height (674463f )
Added support for unlabeled items to automatically resize their active indicator (fd23c6b )
Tab
Fixed isSelected() may returns incorrect result (8a1f221 )
Fixed setting tab indicator and its full-width flag (868f8aa )
Fixed NPE caused by null tab indicator (328d269 )
AppBar
Fixed incorrect scroll position after orientation changes (4bec3e2 )
NavigationView
Added support for changing item size, divider insets, label insets, and corner size (e8c1d98 )
Full list of changes
1.5.0-alpha03...1.5.0-alpha04
1.5.0-alpha03
31 Aug 20:50
Compare
Sorry, something went wrong.
No results found
Dependency Updates
Dependency
Previous version
New version
compileSdkVersion
30
31
targetSdkVersion
29
31
annotation
1.0.1
1.2.0
Library Updates
Highlight: Early access preview of Material 3
This release includes a preview of the new Material library.
New Material 3 themes and many updated component styles have been added. More to come in future releases!
Important:
Make sure to update your app's compileSdkVersion to 31 when using this version of the library.
If using the new DynamicColors.java util class to apply dynamic colors on Android 12, make sure to update your app to depend on AndroidX Core version 1.6.0 or later (e.g., androidx.core:core:1.6.0) (#2353 ).
Changes
Material 3 (new!)
Create M3 themes (27757d0 )
Create M3 Top App Bar styles (18490ff )
Create M3 Bottom Navigation (Navigation Bar) styles (999b247 )
Create M3 regular FAB styles (b06977b )
Create M3 large FAB styles (ca8f4cb )
Create M3 Extended FAB styles (6ba1a92 )
Create M3 Button styles (6bfa584 )
Create M3 Chip styles (7f597a7 )
Create M3 Tabs styles (60782a5 )
Create M3 Bottom App Bar styles (167b198 )
Create M3 Date Picker styles (2901012 )
Create M3 Time Picker styles (a1d09ac )
Create M3 Menu styles (0998e9d )
Create M3 Switch styles (906fb2d )
Create M3 Checkbox styles (4e0d5b0 )
Create M3 Radio Button styles (a342adc )
Create M3 Text Field styles (edbc4e1 )
Create M3 Slider styles (0064aa1 )
Create M3 Card styles (e5fb9d1 )
Create M3 Badge styles (786e6b5 )
Create M3 Tooltip styles (a7cb1f0 )
Create M3 Divider styles (fabb5ea )
Split dynamic color token resources into values-v31 (8357c9a )
Chip style updates (492e37f )
Update Color dev doc to M3 (687505e )
Create SurfaceColors class in M3 (27e7b00 )
Reorganize styles (ebacf79 )
Reorganize resources. (f2eaf0c )
Use colorPrimary for elevation overlay color for both baseline and dynamic (1cf724b )
Integrated Tokens shape resources. (585fd8d )
Integrated Tokens motion resources. (083f01d )
Integrated Tokens state layer resources. (d1fb3f9 )
Integrated Tokens elevation resources. (3caa9cd )
Integrated Tokens system resources. (293457c )
Integrated Tokens color system resources. (0995f99 )
Create dynamic color support in M3 (febe257 )
Fixed collapsing toolbar collapsed title text appearance (cb74134 )
Update Font catalog demo to use new typescale. (7bcb917 )
Updated text appearance mappings (a461de5 )
Fixed styling in themes due to bad merge (0c6f435 )
Updated ref colors, background/surface color, and error color. (23c9f27 )
Updated colorPrimaryDark to point to colorPrimary (f428f20 )
Set up elevation overlays and colors in themes + theme overlays (b9e5797 )
Removed disabled color theme attrs (17a459a )
Create M3 ripple alpha resources (04b06ae )
Update compileSdkVersion to 31 - Android S (40509dc )
Add new typography system TextAppearance styles and set attrs in theme. (baf55ec )
Define new typography system theme attributes. (beb51dc )
Define new color system theme attributes (1ed1c29 )
Update Dark dialog theme to have correct dark dynamic color theme overlay (c369128 )
Updated some Catalog demo references to Material3 styles (e776908 )
Update Catalog naming to Material 3 (ae20031 )
Update Catalog theme(s) to Material3 and fix Material3 date/time picker theme overlays (5d940f1 )
Documentation
Full list of components link is broken (2257156 )
Added class description links to progress indicator doc. (e019c82 )
Updated bottom sheet doc. (104337f )
Fixed content link in divider doc (4df4d56 )
TextInputLayout
Adding getter and setter for boxCollapsedPaddingTop (cdeeb82 )
fix counterTextColor java docs (10edc29 )
TimePicker
Clean-up TextApprearance overriding (2dfa3d6 )
Add some defensive null checks for internal views (45f4fa0 )
AppBarLayout
Make it possible to disable app bars' shadow (a682ab0 )
Tabs
Make secondary style change label color when selected (804cd60 )
Fix icon tint not applied on lower SDKs (126df4c )
CollapsingToolbarLayout
Fix expanded height incorrect after rotation (ec3f96c )
Catalog
Adding android:exported to catalog main activity. (7abf166 )
update FAB demos (5e98a05 )
Music player demo updates. (864ef02 )
Fixed filled text field demo style (fb522a5 )
Theming
Add isMaterial3Theme attr and set to true in 4 main Material3 themes (8670643 )
Badging
Move badge assets into directory to be consistent with other components, and delete unused image (760effb )
Chip
MaterialButton
Material button lollipop shape fix (153fdee )
Other
Version 1.5.0-alpha03 (05a64e8 )
Fixed menu visibility changes causing active indicator flashing. (619c95c )
Internal change (8968255 )
Updated targetSdkVersion to 31. (b24e802 )
Fix toolbar menu arrow not visible (8123c63 )
Update documentation (267da10 )
Full list of changes
1.5.0-alpha02...1.5.0-alpha03
1.5.0-alpha02
11 Aug 18:35
Compare
Sorry, something went wrong.
No results found
Library Updates
BottomSheet
Fix fitToContents reference in comment (c371372 )
Add maxHeight to bottom sheet behavior (a38d2d8 )
MaterialCardView
Add invalidate when stroke changed (4acc56d )
Fix checked icon tint for API < 21, BitmapDrawables (b064460 )
Chip
Fix touching cannot put focus on chips with Talkback (7085319 )
Report a11y class name as RadioButton in single selection mode (31ca110 )
Slider
Fix minSeparation having no effect when stepSize > 0 (2d589bd )
BottomAppBar
Fix default style not being applied (ac1caf4 )
Add functions for checking (STATE_SCROLLED_UP | STATE_SCROLLED_DOWN) (3bb0911 )
Other
Version 1.5.0-alpha02 (0e5c393 )
Updated some string translations for date picker, time picker, and text field (57e3bc0 )
Fixed the transparent strip drawn at the ends of the indicator. (a55f3b8 )
Added null check in requestAnimatorAfterCurrentCycle for disjoint indeterminate animator. (456abd5 )
Fixed the transparent strip drawn at the ends of the indicator. (f9f57d7 )
Add setLiftableOverrideEnabled() method to allow toggling between automatic and manual setLifted() behavior (e2c911b )
Updated setLifted() to preserve lifted state if using setLiftable() programmatically (67f9e9d )
Apply the max width/height during measure instead of modifying layout params (9fb73b5 )
Internal change (cbf7bca )
Added listener for when lift on scroll background elevation and color change (3008d78 )
Modify updateAppBarLayoutDrawableState logic to only require a child at an offset for conditions that depend on that child. For conditions that can be determined just based on the AppBarLayout, always check those conditions. (3eea607 )
Added support for statusBarForeground lift on scroll elevation overlay for edge to edge mode and updated demo (aaa0444 )
Fix ViewDragHelper state inconsistency (a2e7673 )
Fix styles and attrs references in documentation (27b99ed )
Catalog
Small updates to music player demo. (cc4a604 )
Transitions / Motion
Fix NPE when removing window background (b51692d )
MaterialDatePicker
Date selector hint incorrectly localized (47868d8 )
Documentation
1.5.0-alpha01
08 Jul 21:32
Compare
Sorry, something went wrong.
No results found
1.4.0
02 Jul 13:38
Compare
Sorry, something went wrong.
No results found
What's new since 1.3.0
NavigationRailView (Docs )
Motion theming (Docs )
Other highlights
Support for centered titles in MaterialToolbar (cbf528e )
Max width for MaterialButtons (eb5453c )
Max width for BottomSheets (63d01aa )
Updated edge-to-edge support for BottomSheet (c15139a ) (b163458 ) (c574e9e ) (28c3254 )
TextField's collapsed hint background no longer overlap with the field's background color (6015a4e )
Dependency Updates
Dependency
Previous version
New version
compileSdkVersion
29
30
androidx.core
1.2.0
1.5.0
Full list of changes
1.3.0...1.4.0
1.4.0-rc01
03 Jun 19:02
Compare
Sorry, something went wrong.
No results found
Dependency Updates
Dependency
Previous version
New version
androidx.core
1.5.0-rc01
1.5.0
Library Updates
CollapsingToolbarLayout
Fixed RTL text only laying out as RTL when actual text is RTL. (72b0c39 )
Added experimental setRtlTextDirectionHeuristicsEnabled() method. (5af3643 )
Fix title fade mode collapsing title position errors. (bab907f )
TextAppearance
Added a TextAppearanceConfig.shouldLoadFontSynchronously() check to allow forcing synchronous font loading for edge cases. (4e45c2c )
Full list of changes
1.4.0-beta01...1.4.0-rc01
1.4.0-beta01
07 May 19:23
Compare
Sorry, something went wrong.
No results found
Compile SDK Version changed to API 30.
Dependency Updates
Dependency
Previous version
New version
androidx.core
1.2.0
1.5.0-rc01
Library Updates
NavigationBarView
Moves OnNavigationItem listeners to the NavigationBarView class (0ad4a8d )
TextInputLayout
Fixed cutout padding so text field outline doesn't overlap collapsed hint. (1c7b75f )
MaterialButton
Updated Material Button style to set the preferred maximum width to 320dp. (eb5453c )
Documentation
Improving navigation rail documentation. (dabdef9 )
CollapsingToolbarLayout
Updated fade mode to allow expanded title to translate 1:1 with scrolling content. (1445e6d )
Added title line spacing and hyphenation frequency setters (3ea60e6 )
Fixed multiline animation for fade title collapse mode (a29c93a )
Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL (2c45dcc )
Added support for multiline RTL when using fade title mode (ffef9f6 )
Added getLineCount() method (c9f7a61 )
BottomAppBar
change cornersize to float to avoid truncation errors (7ffa571 )
BottomSheet
read the edgeToEdgeEnabled value earlier in the lifecycle (9c842a2 )
Adding a max width for bottom sheets to optimize for large screens. (63d01aa )
Other
Update compile sdk version to 30 (1234385 )
Updated TextAppearance to load font synchronously if its cached. Also updates lib to depend on 1.5.0-rc01 for the
ResourcesCompat#getCachedFont method. (d301145 )
Full list of changes
1.4.0-alpha02...1.4.0-beta01