Releases: material-components/material-components-android
Releases · material-components/material-components-android
1.3.0-alpha04
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)
- Fixed typo in
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
BottomNavigationView
- Updated
BottomNavigationView
to draw compat shadows and elevation overlays in pre-21 and remove top divider for non-legacy backgrounds. (9a5192a)
- Updated
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
Tabs
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
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
Snackbar
ShapeableImageView
Other
- Moved common ids from bottom navigation to central location so that it can be reused. (be616ab)
- Update ...
1.3.0-alpha03
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
constraintlayout | 2.0.0-beta7 | 2.0.1 |
Library Updates
i18n / l10n
NavigationView
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
Snackbar
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
MaterialButtonToggleGroup
- Fixed margins on MaterialButtonToggleGroup when changing orientations (70d659d)
Documentation
- Updated switch doc name file. (fe470c0)
- Renamed timepicker to TimePicke...
1.2.1
Bug fix release
Library Updates
Slider
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
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
What's New Since 1.1.0?
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:backgroundBottomSheet
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:
- 1.2.0-rc01
- 1.2.0-beta01
- 1.2.0-alpha06
- 1.2.0-alpha05
- 1.2.0-alpha04
- 1.2.0-alpha03
- 1.2.0-alpha02
- 1.2.0-alpha01
Full list of changes
1.1.0...1.2.0
1.3.0-alpha02
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
MaterialDatePicker
ShapeableImageView
- Made stroke field nullable (ef3f09d)
MaterialButton
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
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
MaterialShapeDrawable
- Fixed exception with int division (26fc10c)
CollapsingToolbarLayout
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.2.0-rc01
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
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
MaterialDatePicker
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
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
Chip
- Fixed font paddings alignment (b1dfadb)
ExtendedFloatingActionButton
- Fixed ripple issue (47ab850)
BottomSheet
- Updated peek height gesture inset behavior to only add extra inset if necessary (2664ee9)
Other
Full list of changes
1.3.0-alpha01
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
Theming
- Set buttonBarButtonStyle in full Material Component themes to use @style/Widget.MaterialComponents.Button.TextButton. (68ccc33)
MaterialButton
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
BottomSheet
- Fixed crash in bottomsheet on SDK 17 (6f589d3)
Badging
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
Full list of changes
1.2.0-beta01
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
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
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
fromVisibilityAnimatorProvider
methods - Removed static create methods from
MaterialFade
,MaterialFadeThrough
andMaterialSharedAxis
in favor of regular constructors - Made several Transition classes final
- Renamed
MaterialSharedAxis#isEntering
method toMaterialSharedAxis#isForward
- Transition classes now extends AndroidX's Transition lib instead of the Framework version. Use
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
Dependency Updates:
- No dependency updates.
Library Updates:
Button
- Support for android:background ! (309d718)
Transitions/Motion
Chip
BottomSheet
- Support window insets when peeking (4e28d9c)
Dialog
- Added nullablility annotations (b942836)
Text Field
- MaterialAutoCompleteTextView has been moved into the
textfield
package (d1850a3)
- MaterialAutoCompleteTextView has been moved into the
Misc
- Opened up access to MaterialColors (6602bf6)
Full set of changes: 1.2.0-alpha05...1.2.0-alpha06
1.2.0-alpha05
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