Skip to content

Releases: material-components/material-components-android

1.3.0-alpha04

24 Nov 19:30
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates.

Library Updates

  • TimePicker
    • Fixed typo in TextAppearance.MaterialComponents.TimePicker.Title (c6351c4)
    • Add default style attribute (materialClockStyle) to the time picker theme overlay for the clock face and clock hand, making all colors on the clock customizable. (22467b4)
    • Update title color to be in typography. (7ef5308)
    • Increased touch target size of AM/PM toggle (37c7f26)
    • Update image button appearance (4aeb6a9)
    • Moved TimePicker.Button style to MaterialTimePicker theme overlay. (eec282b)
    • Added a style for timepicker to customize icons (8da7336)
    • Added a style for the input mode button (172e7ba)
    • Added Theme Overlay to set default styles for widgets (7303181, e619132)
    • Update ripple color on the mode button for time picker to be based on the content color. (1cc34a0)
    • Changed dimens according to spec (98c090d)
    • Updated some strings translations for i18n (0ba1ecf)
  • ProgressIndicator
    • Updated track thickness used in standalone demo as 2.5 dp. (23b5eb0)
    • Renamed some attributes. (d57d054)
    • Hided AnimatorDurationScaleProvider from API. (4ac0fe0)
    • Made BaseProgressIndicator and BaseProgressIndicatorSpec abstract. (a99966a)
    • Updated class visibility. (be6ed3d)
    • Combined attributes show/hideBehaviorLinear and show/hideBehaviorCircular. (e1d9796)
    • Cleaned up deprecated class and resources. (b1ef02a)
    • Deprecated LINEAR type in ProgressIndicator and ProgressIndicator. (c76665b)
    • Fixed incorrect visibility when RecyclerView is used. (a5890bf)
    • Updated LINEAR type to LinearProgressIndicator in catalog. (8bc3f13)
    • Made LinearProgressIndicator functional and optimized readability of CircularProgressIndicator. (298dbe7)
    • Use LinearProgressIndicatorSpec in LINEAR type. (757b4fa)
    • Added LinearProgressIndicator and LinearProgressIndicatorSpec. (b664320)
    • Fixed attribute's references and added spec validation to setting indicatorSize in CircularProgressIndicator. (e019b02)
    • Deprecated CIRCULAR type in ProgressIndicator. (a7f1430)
    • Updated MDC catalog to replace ProgressIndicator (CIRCULAR type) with CircularProgressIndicator. (f021ef5)
    • Moved the logic from ProgressIndicator to BaseProgressIndicator and made CircularProgressIndicator functional. (10e7349)
    • Use CircularProgressIndicatorSpec in CIRCULAR type. (113bff7, 9215166)
    • Added CircularProgressIndicator and CircularProgressIndicatorSpec. (0a75c74, 5cfcc2e)
    • Updated ProgressIndicatorSpec to use BaseProgressIndicatorSpec. (9567746, 80aefb3)
    • Updated MDC catalog to replace ProgressIndicator (CIRCULAR type) with CircularProgressIndicator. (6d0e89a)
    • Moved the logic from ProgressIndicator to BaseProgressIndicator and made CircularProgressIndicator functional. (322d073)
    • Added BaseProgressIndicator and BaseProgressIndicatorSpec. (e73d383)
    • Detach spec object from the drawable classes. (df6334f)
    • Let indeterminate animator delegate classes use spec directly. (1acb23b)
    • Let drawing delegate classes use spec directly. (e77fe1e)
    • Added new attributes and styles for LinearProgressIndicator and CircularProgressIndicator. (1c135f0)
  • Text fields
    • Fixed clear text icon hide on double click (8ab270e)
    • Updated text fields measurements to match spec. (c8197e3)
    • Added comments explaining edit text padding values. (7bb8c4d)
  • BottomNavigationView
    • Updated BottomNavigationView to draw compat shadows and elevation overlays in pre-21 and remove top divider for non-legacy backgrounds. (9a5192a)
  • Slider
    • Fixed slider doesn't slide in Horizontal Recycler View (b2b87dd)
    • Fix touch tracking callbacks (64843c9)
    • Stop checking for scroll if not in a scrolling container (aad88a0)
    • Added animation to scale in/out label above thumbs. (1fc5e8c)
    • Invalidate after new ColorStateList and return early if same (416b8cb)
  • Badging
    • Updated getBadgeText to return a string representation of the number formatted using system Locale. (492e50f)
    • Fix lint error. (bea6978)
    • Save and restore visibility on config change. (bcb1486)
    • Update badge to support being anchored to any view in pre 18. (5e35d14)
  • Tabs
    • Add a localized a11y string for a tab (cf9027f)
    • Added initial indicator interpolation extensibility. (f8f3d90)
    • Show tooltip with tab text or content description (if tab is icon only) when long press. (fd36390)
  • Chip
    • If a close icon is purely decorative (e.g. no closeIconClickListener is specified), the close icon should not intercept the click and instead let the superclass manages the touch event for the overall chip. (93f4f16)
    • Avoid flickering when using downlodable fonts. (bc1bd23)
    • Support elevation overlay. (6951bd5)
  • MaterialDatePicker
    • Fixed overzealous smooth scrolling when horizontally swiping between months (90929ee)
    • Changes to allow the MaterialCalendar to exist inside a scrollable view. (ffcf70a)
    • Update string translations (6ad8301)
  • CollapsingToolbarLayout
    • Fixed scrolling sibling view bottom cut off issue (a21a300)
  • Transitions / Motion
    • Added basic music player and container transform to hero music player demo app. (151be9b)
    • Updated MaterialContainerTransform to support overshoot and added OvershootInterpolator, AnticipateOvershootInterpolator, and BounceInterpolator options to Catalog demos (ad1d173)
    • Update ScaleProvider and SlideDistanceProvider to respect and restore a targets original scale/translation. (d4d0dcd)
    • Added shared axis Activity demo to catalog (4ae97e5)
    • Updated FadeProvider and FadeThroughProvider to support Activity alpha. (5d0e032)
    • Updated doc to include ActivityOptions Bundle in Activity transition examples (7d77162)
    • Updated FadeThroughProvider and FadeProvider to restore target's original alpha value. (49ad522)
  • ExtendedFloatingActionButton
    • Add support for initial show animation. (5c83026)
  • Documentation
    • Updated bottomnav a11y alt text. (f664c11)
    • Updated a11y alt-text for dialog and topappbar (4ab20d7)
    • Updating Card doc with new a11y alt-text. (191a48b)
    • Fixing docs titles to be H1 (8c6a164)
    • Fix anchor links in Getting Started guide (f698b87)
    • Changed Widget.MyApp.MyButton to Widget.MyApp.Button in color doc (f468801)
    • Update documentation for color (re-ordering sections to move "Theming an Individual Component" is immediately followed by "Theming All Instances of One Component") (d7456a0)
  • Catalog
    • change fragment name to be one line max (6076715)
    • Fixed crash in TransitionMusicAlbumDemoFragment (5642d5f)
  • Snackbar
    • Add support for passing a Context to Snackbar.make() (9659a53)
    • Check for nullable AccessibilityService (b526c77)
  • ShapeableImageView
    • Support contentPadding (c4f7de1)
    • Call invalidateOutline when shape is changed (af73a17)
  • Other
    • Moved common ids from bottom navigation to central location so that it can be reused. (be616ab)
    • Update ...
Read more

1.3.0-alpha03

01 Oct 21:10
Compare
Choose a tag to compare

Dependency Updates

Dependency Previous version New version
constraintlayout 2.0.0-beta7 2.0.1

Library Updates

  • i18n / l10n
  • NavigationView
    • Fix obtaining Activity in setupInsetScrimsListener (a6a750b)
    • Support for shapeAppearance and shapeAppearanceOverlay attributes (e6f05bc)
  • MaterialDatePicker
    • Updated header title strings to match spec (d827426)
    • Fixed formatting of year month date pattern for year selection dropdown (98c7cd1)
    • Fixed issue where default selection date would visually stay selected when choosing different date (8f455c0)
    • Updated default selection-based openAt logic to consider valid calendar constraints (5507687)
    • Fixed the filled range with RTL layout (ea76386)
    • Delay showing validation error by 1 second (5541f02)
    • Updates the color of the month labels in fullscreen mode (c65a262)
    • Changed openAt to default based on selection, if not provided (193ce2d)
    • Allow for styling dialog close icon color for full screen dialog (bf86d82)
    • Added a datevalidator for multiple range (85739c7)
    • Added DateValidatorPointForwardTest (b3913cb)
    • Update month and year navigation to use the correct color (6cb28b9)
    • Made some MaterialCalendar related methods/classes public, but still restricted. (431e092)
    • Allow RangedDateSelectors with multiples ranges in different months to be shown correctly. (fb23eff)
    • Speed up calendar performance by only updating certain views when a day is clicked, instead of recreating and redrawing all of them. (b12c5c5)
    • Fix the failed test cases in DateStringsTest (2353a29)
    • Added placeholder text in text input mode to show date format (6050bd4)
    • Fixed orientation of next/previous month button icons for RTL languages (b82d41f)
    • Updated text input mode to respect custom theme res id (5bd64f4)
  • A11y
    • Fixed dropdown list not focusing for editable dropdown menus. (be8fc51)
  • TimePicker
    • Fixed ClassCastException with a Bridge Theme (a4b008e)
    • Added the ability to switch to text input mode when double tapping the selected number (bad8131)
    • Added content description to button to switch input modes (4fa1341)
    • Added setters for the title string (91c972c)
    • Documented hour and minutes ranges (c0be2c0)
    • Changed positive listener to be an OnClickListener (0aed26b)
    • Support formatting the numbers depending on the configuration locale (a543032)
    • Added docs (c11ef51)
    • Removed newInstance method in favor of Builder Class (dbbd27c)
    • Added listeners (2ccc716)
    • Fixed size on edit text smaller than on chip button (5f9aa7f)
    • Fixed incorrect offset applied to shaders (dd254c5)
    • Removed checkable from timepicker mode button (8ea36ae)
    • Fixed exception when shrinkResources is enabled (162205b)
  • BottomSheet
    • Fixed issue where peekHeight is more than the height of the contents (e944d1b)
    • Changed DialogFragment import to package qualifier in javadoc. (d30f4d2)
    • Add custom action to drag bottomsheet half expanded. (db4275f)
    • Changed bottom gesture inset handling to ensure a minimum peek height with a buffer built in, instead of always adding the inset to the peek height (when gesture nav is enabled) (0df7724)
    • Added missing defensive checks to viewDragHelper calls (3821664)
    • Fixed NullPointerException when calling updatePeekHeight with null viewRef (96674d5)
    • Updated gesture inset bottom to be saved in separate field to fix compounding peek height issue (9fa9f1e)
  • Transitions / Motion
    • Fixed crash in container transform view demo. (f73d354)
    • Updated MaterialFadeThrough to respect client-set alpha values on target views. (06322aa)
    • Added content to the contact card in the View Container Transform demo. (4f5e045)
    • Added a contact card to View Container Transform demo and created an expanded card for cards transition into. (653701d)
    • Update doc with guidance about "Container transform: fade through variant" (474f912)
    • Added resource links to documentation (77c71f3)
    • Fix catalog hero demo from loosing scroll position when returning to album list. (0314540)
    • Swapped shared axis code snippet order for better readability (35b914e)
    • Updated Catalog container transform enter/return configuration Slider step sizes to fix crash (a83011d)
    • Fix intermediate flash during view container transform demo. (3f52e7f)
    • Formatted AndroidX vs Platform transitions info in Motion.md doc (f00cd57)
    • Made shared axis end view in catalog demo scrollable. (acdd3a9)
    • Removed internal listener from container transform after transition ends. (05e0496)
    • Updated library version in doc to 1.2.0 stable (eb1c8a6)
    • Improved MaterialContainerTransform approximation of native elevation shadows by using location of bounds on screen (23d6100)
    • Updated docs to include view-to-view targeting requirements (76cba45)
  • Chip
    • Fixed wrong behavior when checked chip with id = NO_ID is added to ChipGroup (6d75b92)
    • Update chipgroup demo to include switch to toggle the requiredSelection attr. (4b01ac4)
    • Generate a valid ID for Chip view on any API level (6daf233)
  • Snackbar
    • Added ability to have Snackbar position respond to anchor view layout changes (89a1bf8)
    • Changed dimens according to spec (391d1f8)
  • MaterialButton
    • Support setting vertical insets programatically (f837cb7)
  • ProgressIndicator
    • Fixed update listener for determinate drawable. (f330ee8)
    • Removed custom drawing support to minimize API exposure. (395c2cd)
    • Added the setter for component's visibility after hide animation. (f0b8c15)
    • Fixed the style used on indeterminate drawable in the standalone demo. (7200cd5)
    • Updated style names. (90f041d)
    • More cleanup of renaming indicatorWidth to indicatorSize. (78aa3ea)
    • Corrected the behavior and comment of the setProgress to align with the framework ProgressBar API. (4d866b0)
    • Improved inflation performance. (416eab5)
    • Renamed indicatorWidth with indicatorSize to eliminate the confusion of indicatorWidth controlling view height in LINEAR types. (77582b5)
    • Fixed canvas state leak in IndeterminateDrawable. (5a1c183)
    • Added a new attribute to delay show actions. (0b82e81)
    • Improved the readability of initializeDrawables() function. (eaa0a7f)
  • Tabs
    • Added getter in TabLayoutMediator to return whether a TabLayout and a ViewPager2 are linked together. (5c9e250)
    • Added support for preserving the indicator drawable's intrinsic color (84fd465)
    • Add a setId method that can be used for espresso (4e62f96)
  • MaterialButtonToggleGroup
    • Fixed margins on MaterialButtonToggleGroup when changing orientations (70d659d)
  • Documentation
    • Updated switch doc name file. (fe470c0)
    • Renamed timepicker to TimePicke...
Read more

1.2.1

02 Sep 18:36
Compare
Choose a tag to compare

Bug fix release

Library Updates

  • Slider
    • Added a warning message if the stepSize or any values are set to float values with a decimal to suggest using integers. (ec7f7cb)
    • Fixed the validation of the slider step size and values. (194a0aa)
    • Added XML enabled property to constructor attrs evaluation (86ab1ae)
  • BottomSheet
    • Fixed issue where peekHeight is more than the height of the contents (bb0bfe1)
    • Changed bottom gesture inset handling to ensure a minimum peek height with a buffer built in, instead of always adding the inset to the peek height (when gesture nav is enabled) (53d49e3)
    • Added missing defensive checks to viewDragHelper calls (775d286)
  • Transitions / Motion
    • Removed internal listener from container transform after transition ends. (42b03b3)
    • Improved MaterialContainerTransform approximation of native elevation shadows by using location of bounds on screen (c9e2ba0)
  • ShapeableImageView
    • Fixed shadows for non round rects (821bf26)
  • MaterialCardView
    • Fixed NPE if android:onClick is defined in the layout (475e63b)
  • NavigationView
    • Fixed obtaining Activity in setupInsetScrimsListener (8059ac1)
  • Other
    • Removed re-throw of exception on ViewOverlayApi14 (bc7b108)

Full list of changes
https://github.com/material-components/material-components-android/compare/1.2.0..1.2.1

1.2.0

04 Aug 18:35
Compare
Choose a tag to compare

What's New Since 1.1.0?

  • Transition/Motion system (docs, codelab)
  • Slider (docs)
  • ShapeableImageView

Dependency Updates

Dependency Previous version New version
Android Gradle plugin 3.3.2 4.0.0
androidx-core 1.1.0 1.2.0
annotation-experimental N/A 1.0.0

Library Updates

  • MaterialButton added support for android:background
  • BottomSheet added support for window insets when peeking
  • Opened access to MaterialColors
  • Accessibility improvements
  • Developer docs updates
  • Stability and quality improvements
  • Improvements to the following components:
    • Button
    • Badge
    • Bottom App Bar
    • Card
    • Chip
    • CollapsingToolbarLayout
    • Date Picker
    • Floating Action Button
    • Menu
    • Snackbar
    • TabLayout
    • Text Field
    • Toggle Button Group

See more detailed notes of each version:

Full list of changes
1.1.0...1.2.0

1.3.0-alpha02

23 Jul 20:48
Compare
Choose a tag to compare

Dependency Updates

Dependency Previous version New version
constraintlayout 1.1.3 2.0.0-beta7

Library Updates

  • MaterialTimePicker
  • ProgressIndicator
    • Fixed incorrect visibility change when the component's parent is not visible. (ea9cce8)
    • Changed class visibility of CircularDrawingDelegate. (aca5307)
    • Added the function in ProgressIndicatorSpec to load from style. (4005294)
    • Revived the argument (restart) in setVisible of drawables. (c4f44d2)
    • Changed drawables to detect system animator duration scale by themselves. (f7bad9a)
    • Removed explicitly disabling animators. (2803960)
    • Changed logic to guarantee the indeterminate arc fully collapsed before showing determinate arc. (764f063)
    • Updated system animation duration scale more frequently. (92aca74)
    • Updated the drawable setters. (28177cb)
    • Separated the padding when calculating drawable's intrinsic size. (380c21a)
    • Invalidated indicator colors properly in animator delegate. (43fe75f)
    • Unregistered animator complete callback on detach from window to prevent memory leak. (fabd36f)
    • Replaced ProgressIndicator references in drawable&delegate classes to prevent memory leak and prepare for the stand-along drawable feature. (4ff3031)
    • Forward fixed "ripple" bug from the fix for indeterminate animation not respecting to system animator scale. (cf98f94)
    • Added logic to respond to system animation scale settings for determinate types. (984738c)
    • Fixed indeterminate types disco when system animation duration scale is off. (4ccec4f)
    • Fixed incorrectly setting drawable's visibility when switching indeterminate mode for API19. (26021ed)
    • Changed interpolator for seamless linear indeterminate type from LINEAR_OUT_SLOW_IN to FAST_OUT_SLOW_IN. (0b443ad)
    • Relocated the logic of animator disabling. (e44804f)
    • Added the custom drawable support (02c3b3d, 4337eea, c22f3f4, 4f5a98f, 7e595b6, 8fbc2e0, bf141bb)
    • Fixed wrong attribute used in indeterminate mode catalog fragment. (90e3839)
    • Fixed CircularIndeterminateDrawable not resetting animator properly after switching to determinate mode. (c5f900b)
    • Add new minHideDelay property (924ac3f)
    • Added auto-cap to limit the indicator corner radius equal to or less than half of the indicator width. (5febeba)
    • Added support of rounded corners. (48c4ef0)
    • Fix for non dismissable progress indicator (584d725)
    • Exposed progress indicator demo. (7b9cd66)
  • Slider
    • Added min separation support (b8f4b22)
    • Fixed exception when restoring instance state (cc03196)
    • Move static inner classes outside base slider class (34f621d)
    • Fixed number of values changing in RangeSlider (4eea03d)
    • Changed slider thumbs to prevent crossing each other (71fcb73)
    • Changed slider to support very small widths (ba9c2e6)
    • Keyboard navigation fix (3e3bc41, a49e886)
  • Transitions / Motion
    • Removed extra transition background fade duration from MaterialContainerTransformSharedElementCallback in favor of nulling out sharedElementReenterTransition to prevent extra transition from happening (88ca5c9)
    • Added extra transition background fade duration to MaterialContainerTransformSharedElementCallback to prevent extra Activity transition from happening (889fca5)
    • Changed MaterialContainerTransform to skip transition instead of crash when no view bounds (6b63c11)
    • Fix zero-length motion path container transform bug. (3c9096d)
    • Updated MaterialElevationScale default scale value to 0.85 (ef64df5)
    • Added MaterialElevationScale transition (3379c45)
  • BottomSheet
    • Updated a11y focus to move to bottom sheet when expanded and siblings are hidden from a11y services. (b93042d)
    • Updated peek height gesture inset behavior to only add extra inset if necessary (7b62003)
  • MaterialDatePicker
    • Set min width on the confirm OK button. (d868be2)
    • Remove datepicker proguard-recyclerview rule (3dcc3ce)
    • Fixed crash when GridView has not rendered the last child (811d452)
    • Fixed issue that causes the Datepicker to highlight the wrong day as today. (712a2ce)
  • ShapeableImageView
    • Made stroke field nullable (ef3f09d)
  • MaterialButton
    • Do not update the checked state of any child buttons during onPressedChanged callback. (15c048c)
    • Align icon on top (a284edd)
  • TextInputLayout
    • Fixed padding for prefix/suffix and label in RTL being wrong. (7b5aea2)
    • Changing hint announcement. (b274a4a)
    • Changed prefix/suffix demo it shows number keyboards for the inputs. (3ed776a)
    • Fixed clear icon and placeholder text being displayed when the text field is initialized with input text. (9b0a8d9)
    • Fixed icon tint not being applied properly when calling set*IconDrawable (855602b)
  • MaterialAutoCompleteTextView
    • NullPointerException on Meizu devices closes #1347 (c59acae)
  • BottomAppBar
    • Update menu replacement animation to coordinate with fab alignment animation. (d4a5702)
  • A11y
    • Changed the editable exposed dropdown menu's a11y class name to be EditText instead of a drop down since the primary action for the user is to type. (023e518)
  • Chip
    • Added standalone drawable demo with Chip in catalog. (5229b3f)
    • Support setting text size without changing TextAppearance (e5f7951)
    • Include font padding. (8544f7a)
  • MaterialShapeDrawable
    • Fixed exception with int division (26fc10c)
  • CollapsingToolbarLayout
    • Fix CollapsingToolbar multiline position (8210b3a)
    • Fixed slight misalignment during transition in multiline mode (74508c8)
  • Theming
    • Move Design widget styles back to full themes from Bridge themes (8851f70)
  • Other
    • Update target sdk from 28 to 29 (44ff45c)

Full list of changes

1.3.0-alpha01...1.3.0-alpha02

1.2.0-rc01

16 Jul 19:30
Compare
Choose a tag to compare

Dependency Updates

Dependency Previous version New version
Android Gradle plugin 3.3.2 4.0.0

Library Updates

  • Theming
    • Moved design widget styles back from Bridge to full themes (79cd057)
  • MaterialButton
    • Avoid updating the checked state of any child buttons during onPressedChanged callback. (ed66710)
    • Fixed MaterialButton$SavedState ClassNotFoundException (c2addf1)
  • MaterialShapeDrawable
    • Fixed exception with int division (d51ae67)
  • Slider
    • Fixed exception when restoring instance state (3101ef0)
    • Moved static inner classes outside base slider class (a1e0883)
    • Fixed number of values changing in RangeSlider (ca0110d)
    • Changed slider thumbs to prevent crossing each other (e5430f9)
    • Fixed keyboard navigation (49d4068, 134c73e)
    • Changed slider to support very small widths (f8d0466)
  • TextInputLayout
    • Fixed padding for prefix/suffix and label in RTL being wrong (a2a238a)
    • Fixed clear icon and placeholder text being displayed when the text field is initialized with input text (1b6bb89)
  • MaterialDatePicker
    • Removed proguard-recyclerview rule (d8a8569)
    • Fixed crash when GridView has not rendered the last child (0bcf9d4)
    • Fixed issue that caused highlighting the wrong day as today (d9b9874)
    • Updated MaterialDatePicker unit tests to make them deterministic (b45b8ed)
  • Transitions / Motion
    • Changed MaterialContainerTransform to skip transition instead of crash when no view bounds are found(0e41541)
    • Fixed zero-length motion path container transform visual bug (b9d70d3)
    • Added MaterialElevationScale transition (c438a26)
    • Fix duplicate container transform when returning during Activity transitions (889fca5)
  • MaterialAutoCompleteTextView
    • NullPointerException on Meizu devices closes #1347 (f5708f7)
  • A11y
    • Changed the editable exposed dropdown menu's a11y class name to be EditText instead of a drop down since the primary action for the user is to type (a97a555)
  • CollapsingToolbarLayout
    • Fixed slight misalignment during transition in multiline mode (f248f60)
    • Fixed multiline position (491f1bc)
    • Fixed calculation of expanded bounds (b545ae8)
  • Chip
    • Fixed font paddings alignment (b1dfadb)
  • ExtendedFloatingActionButton
  • BottomSheet
    • Updated peek height gesture inset behavior to only add extra inset if necessary (2664ee9)
  • Other
    • Update gradle version (ecf6352)
    • Added @color/material_on_surface_stroke to res-public (943234f)

Full list of changes

1.2.0-beta01...1.2.0-rc01

1.3.0-alpha01

02 Jun 17:04
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates.

Library Updates

  • ProgressIndicator
    • Added Progress Indicators (cc88816)
  • Transitions / Motion
    • Fixed Activity container transform unexpected flash and fade (57a8ebd)
    • Fixed MaterialContainerTransform setScrimColor Javadoc error and getDrawingViewId/setDrawingViewId docs typo (119954c)
    • Updated ScaleProvider to use growing/shrinking naming. Fixed MaterialSharedAxis isForward getter naming. (56b3390)
    • Updated MaterialContainerTransform to use default scrim color constant instead of theme attribute (f20a91f)
    • Added support for container transform start and end container colors. (e00df6d)
    • Updated MaterialContainerTransformSharedElementCallback to support custom shape appearances (a5381ac)
    • Updated MaterialContainerTransform to support drawing elevation shadows during transition (1094b48)
    • Fixed container transform start delay flash (6ab9e11)
    • Added support for adding additional animator providers to MaterialVisibility transitions (b854a73)
    • Removed TransitionValues params from VisibilityAnimatorProvider interface methods (04c93ea)
    • Replaced MaterialVisibility subclass static constructors for standard constructors (d025a3b)
    • Updated MaterialVisibility to not need initialize method (e63cae5)
    • Updated transitions to be based on androidx and add transitions platform subpackage to support Activities, Windows, etc. (cd36c2f)
  • BottomNavigation
    • Updated BottomNavigation to respect left/right system insets (5889993)
  • MaterialCardView
    • Prevented content from being clipped by MaterialCardView when a non-round rect is set as the shape. (d09ac03)
  • MaterialButtonToggleGroup
    • Fixed bug in shape appearance when only one button is visible (42126ef)
    • Dispatched button checked after the the button states have been updated and any internal corrections (e.g. singleSelection, selectionRequired) has been made. (2d0e009)
  • Theming
    • Set buttonBarButtonStyle in full Material Component themes to use @style/Widget.MaterialComponents.Button.TextButton. (68ccc33)
  • MaterialButton
    • Fixed MaterialButton$SavedState ClassNotFoundException (7cfc63e)
    • Removed AppCompatButton workaround for FloatingToolbar in API 23-25 now that MaterialButton supports android:background. (4fb2375)
  • Slider
    • Added range and invalid value to IllegalStateException message to make it more clear. (e521fda)
    • Split Slider into two classes (8f0aa7f)
    • Set Slider to be clickable by default. (7d92cd9)
    • Fixed slider tooltip in popupwindows (b631ef6)
    • Made Slider a11y helper a static class (59c1560)
    • Renamed color setters in Slider so it's obvious that color properties are ColorStateList. (7a8f3bd)
  • TextInputLayout
    • Fixed crash when calling setBoxCornerRadii when edit text hasn't been added yet. (8a5c95c)
    • Fixed end icon having unexpected behaviors when it's switched from another end icon mode. (e315754)
    • Fixed merge icon and view state when setting icon color. (33700b0)
    • Added setBoxBackgroundColorStateList method and fixing setBoxBackgroundColor method not changing focused and hovered states color like it did originally. (e5a85a2)
    • Added setters and getters for boxStrokeWidth and boxStrokeWidthFocused attrs. (167020a)
    • Flipped password icon behavior so that it shows the action (what's going to happen after the click) instead of the current status. (99c6a28)
    • Added click listener for error icon (1b124af)
  • ShapeableImageView
    • Fixed bug when dynamically updating shape appearance (2b676b4)
    • Changed strokeWidth to float and support null for stroke color (24f9c06)
  • BottomSheet
    • Fixed crash in bottomsheet on SDK 17 (6f589d3)
  • Badging
    • Updated content description for badge number that exceeds the max supported badge count to say "More than # new notifications" instead of "# and more notifications". (47f3bbc)
    • Updated badge content description to match badge text displayed (when badge number exceeds max badge number). (eb65ce5)
  • Chip
    • [Chip]Fixed chip icon with different width and height (45f5903)
  • A11y
    • Fixed the role description of the GMDC bottom navigation item view's accessibility node. (bcaca40)
  • MaterialDatePicker
    • Fixed logic to disable positive button when invalid or incomplete dates are selected (7965098)
    • Fixed check for date input keyboard separator characters for single selection mode (67e9eaf)
    • Made customDatePicker method public but restricted for now (0bdb2cb)
    • Fixed issue that causes the Datepicker to highlight wrong the day as today. (d2f81ca)
    • Fixed Datepicker demo in Catalog application to call the correct method to obtain current date (and time). (9f71950)
  • Documentation
    • Updated Switch documentation. (0c7db72)
    • Updated Checkbox documentation. (83ba040)
    • Updated RadioButton documentation. (b01058a)
    • Updated Bottom App Bar doc. (0d61a37)
    • Updated Card doc. (fbd414b)
    • Updated FABs doc. (2bc442e)
    • Updated bottom navigation documentation. (4a8e005)

Full list of changes

1.2.0-alpha06...1.3.0-alpha01

1.2.0-beta01

28 May 19:01
Compare
Choose a tag to compare

Dependency Updates:

  • No dependency updates.

Library Updates:

  • Transitions/Motion
    • Update transitions to be based on androidx and add transitions platform subpackage to support Activities, Windows, etc. (e33c6d5)
    • Update MaterialContainerTransform to support drawing elevation shadows during transition (fc36640)
    • Update MaterialContainerTransformSharedElementCallback to support custom shape appearances (df977a0)
    • Add support for container transform start and end container colors (f095b0b)
    • Fix Activity container transform unexpected flash and fade (c27de09)
    • Fix container transform start delay flash (95d9320)
  • Slider
    • Split into two classes: slider and range slider (afcda08)
    • Fix slider tooltip in popupwindows (aab7100)
    • Fixed MaterialSharedAxis return transition (5b07d02)
  • ShapeableImageView
    • Support dynamic update of shapeappearance (4518be3)
  • TextInputLayout
    • Fixing crash when calling setBoxCornerRadii when edit text hasn't been added yet (d0f7d49)
    • Fixing end icon having unexpected behaviors when it's switched from another end icon mode (0631c53)
    • Adding setBoxBackgroundColorStateList method and fixing setBoxBackgroundColor method not changing focused and hovered states color like it did originally (7423884)
    • Adding setters and getters for boxStrokeWidth and boxStrokeWidthFocused attrs (008c199)
    • Flipping password icon behavior so that it shows the action (what's going to happen after the click)
      instead of the current status (36bdb70)
    • Add click listener for error icon (3738698)
  • MaterialDatePicker
    • Disable positive button when invalid or incomplete dates are selected (a310f90)
    • Fix check for date input keyboard separator characters for single selection mode (45fb932)
    • Fixed issue that causes the Datepicker to highlight wrong the day as today (0bbc848)
  • MaterialButtonToggleGroup
    • Single visible button corners (680619b)
  • MaterialRadioButton
    • Fix tint from theme attributes on api 21 + add test (7697699)
  • Set buttonBarButtonStyle in full Material Component themes to use
    @style/Widget.MaterialComponents.Button.TextButton (89f2248)
  • Talkback / Screen reader improvements
    • Latest version of Talkback now provides information about grouped context to screen readers (e.g. tabs will now announce x out of y tabs)

Breaking Changes:

  • Transition/Motion
    • Transition classes now extends AndroidX's Transition lib instead of the Framework version. Use platform sub-package for the Framework version.
    • Removed TransitionValues from VisibilityAnimatorProvider methods
    • Removed static create methods from MaterialFade, MaterialFadeThrough and MaterialSharedAxis in favor of regular constructors
    • Made several Transition classes final
    • Renamed MaterialSharedAxis#isEntering method to MaterialSharedAxis#isForward
  • MaterialDatePicker
    • Restricted visibility of customDatePicker method
  • Slider
    • Split into two classes, Slider and RangeSlider
  • ShapeableImageView
    • Change strokeWidth to float and support null for stroke color

Full set of changes: 1.2.0-alpha06...1.2.0-beta01

1.2.0-alpha06

13 Apr 23:42
Compare
Choose a tag to compare

Dependency Updates:

  • No dependency updates.

Library Updates:

  • Button
    • Support for android:background ! (309d718)
  • Transitions/Motion
    • Fixed MaterialSharedAxis return transition (5b07d02)
    • Fixed MaterialContainerTransform flashing on API 22 (0f0942b)
    • Remove context parameter from all transition constructors (2a2792d)
    • Deprecated transformation package in favor of new transitions package (bbb534e)
  • Chip
    • Color contrast a11y improvements (5834d44)
    • 0dp corner radius support (ded0c3f)
  • BottomSheet
    • Support window insets when peeking (4e28d9c)
  • Dialog
    • Added nullablility annotations (b942836)
  • Text Field
    • MaterialAutoCompleteTextView has been moved into the textfield package (d1850a3)
  • Misc
    • Opened up access to MaterialColors (6602bf6)

Full set of changes: 1.2.0-alpha05...1.2.0-alpha06

1.2.0-alpha05

20 Feb 23:32
Compare
Choose a tag to compare

Dependency Updates

Dependency Previous version New version
androidx-core 1.1.0 1.2.0

Transitions/Motion system

https://material.io/design/motion/the-motion-system.html

Sliders

  • Added support for multiple Slider thumbs (a6e28be)
  • Fixed Slider rounding error caused by floats (7679158)
  • Updated to handle single tap for Slider in scrollable container (1bc4f60)

ShapeableImageView

  • Now supports Animatable drawables (20d2efe)

Chipgroup

  • Fixed double emission on check state change when selectionRequired is true (401b99e)

TextInputLayout

  • Fixed gravity "top" is not working for hint (#933)

DatePicker

  • Added more validators (89e0e56, 4ccb052)
  • Fixed Crash - Scroll to Min Year of CalendarConstraint (e664b98)

MaterialButtonToggleGroup

  • Fixed SelectionRequired attribute doesn`t enforce checkedButtonId to be a valid id (returns -1) (e56b141)

CollapsingToolbarLayout

Shapes

  • Added ShapePath#cubicToPoint() (983ee3d)
  • Clarified ShapePath#quadToPoint() will only draw native shadows (1e1100f)
  • Fixed interpolation for MSD round rects (8e8d20c)

A11y

  • Added roleDescriptions to tabs for accessibility (811ea17)
  • Added support for D pad and keyboard control for Slider (4c99e53)
  • Added A11y support to slider (340cdea)

Docs

Made improvements to docs section Button docs

Full list of changes 1.2.0-alpha04...1.2.0-alpha05