Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2022

This PR contains the following updates:

Package Change Age Confidence
com.google.android.material:material 1.5.0 -> 1.13.0 age confidence

Release Notes

material-components/material-components-android (com.google.android.material:material)

v1.13.0

Compare Source

New in 1.13.0!

Important

  • Required minSdkVersion is now 21 or higher, for Material and AndroidX.
  • Now built with compileSdkVersion 35, Android Gradle Plugin (AGP) 8.7.3, and Gradle 8.9.
  • Material 3 Expressive has moved to the 1.14.0 versions of the library. To get a sneak peak, update to version 1.14.0-alpha04 and use the Material3Expressive themes/styles in conjunction with new components mentioned above.

Dependency Updates

Dependency Previous version New version
androidx.appcompat:appcompat 1.6.1 1.7.0
androidx.constraintlayout:constraintlayout 2.0.1 2.1.0
androidx.dynamicanimation:dynamicanimation 1.0.0 1.1.0
androidx.graphics:graphics-shapes N/A 1.0.1
com.android.tools.build:gradle 7.4.2 8.7.3

Library Updates

  • A11y
    • Include "hour" and "minute" in announcements. For example: "Not checked, Hour - 11'0 clock. double tap to select Hour". (960bb4c)
    • Move responsibility of disabling hide on scroll to HideViewOnScrollBehavior and BottomAppBar (9c33476)
    • Prevent hide on scroll when Talkback is on (d560705)
    • Add missing 'button' mention to Talkback output for close icon. (79bd7d7)
  • BottomNavigationView
    • Update catalog demo to demonstrate adaptive bottom navigation bar (76936c4)
    • Fix early return in setItemGravity() (8a4d3c6)
  • BottomSheet
    • Prevent ACTION_DOWN events on the BottomSheetHandleDragView from setting touchingScrollChild to true. (af7f254)
    • Fix keyboard animation on Android 14 (a0b4dfa)
    • Fixed main catalog demo cutting off content when screen size is too small. (005687d)
    • Remove disruptive announcement "Drag handle double tapped"for BottomSheetDragHandleView. (95025c6)
  • Carousel
    • Recyclerview children do not inherit layout direction (ca0b870)
    • Update keyline state if necessary if item size changes (52228c1)
    • Update multi-browse strategy to always have at least 1 medium item (916e908)
    • Recalculate keyline state if it doesn't match the current container size (d0f5d72)
  • Checkbox
  • Chip
    • Get default minTouchTargetSize from material attributes (436437a)
    • Add a show all Chip for a11y (8e33421)
    • Updated flow layout to correctly layout padding when in RTL. (1eaf483)
    • Fix close icon focus ripple (a7ff8c9)
  • CollapsingToolbarLayout
    • Added multiple subtitle support. (57297ae)
    • Fixed incorrect title and subtitle positioning. (8598aa6)
  • Color
    • Updated to only draw surface color under the button's stroke when the buttons are actually overlapped. (7ae12b5)
    • ColorResourcesTableCreator: Fix length encoding for utf8 strings (7c62429)
    • ColorResourcesTableCreator: Fix resource entry names (443eaa5)
    • Added M3 colors in M3 ThemeOverlay. (ede0713)
  • Dialog
    • Add m3 styles for floating toolbar and docked toolbar for dialog (1b58f5f)
    • Fixed issue with child views overflowing from the alert dialog. (1ee9a86)
  • DockedToolbar
    • Include IME in insets (834ce09)
    • Fix typo in DockedToolbar doc (0c83f50)
    • Add new demo to show fewer items (68a79d7)
    • Add docs (08a8893)
    • Adding inset padding attributes (1fd228b)
    • Create DockedToolbarLayout (51873bb)
  • FloatingActionButton
    • Fix the width calculation in the wrap_content extend strategy (1e06f7c)
    • Added medium FAB and s/m/l extended FABs to Material3. (870ace3)
    • Restored public jumpDrawablesToCurrentState method (6f41625)
    • Fixed wrong elevation per state. (f513914)
    • Improved readability. (949b057)
    • Fixed wrong elevation per state. (db7fe20)
    • Merged FABImpl and FABImplLollipop classes, since no pre-lollipop is supported. (da442be)
    • Integrated new token sets. (4a841f5)
    • Integrated to new token sets. (7e63ca1)
  • FloatingToolbar
    • Added m3 styles for buttons and theme overlays (4b9df08)
    • Integrate tokens and add m3 styles (f223b26)
    • Fix for insets handling adding insets on every onApplyWindowInsets call (3938284)
    • Floating toolbar should not enforce disappear on scroll behaviour within CoordinatorLayouts (85c4e0f)
    • Add inset handling (05f8c52)
    • Removed floating toolbar-specific icon button styles from theme overlay (7f88784)
    • Update styles to consolidate horizontal/vertical styles to a single style (b07e48b)
  • LoadingIndicator
    • Added a default static drawable, which is displayed when the animation is disabled. (f89b8af)
    • Fixed the animation no constant rotation. (1886cf0)
    • Fix handling of negative morphFraction (e169ffc)
  • MaterialButton
    • Updated the shapes of buttons when the orientation is changed. (e722464)
    • Fixed connected button groups to not morph button size. (df9074c)
    • Fixed width morph in vertical button groups. (fb81974)
    • Fixed a bug that checked state in XML was not respected. (0c5b17a)
    • Test improve memory usage when materialSizeOverlay is used. (571a196)
    • Update split button styles to lessen maker specification requirements and support consistency. (2aadbd1)
    • Add a demo to programmatically add/remove buttons in a button group. (4f55422)
    • Added a click action and toggleable control in button group demo. (8e52e94)
    • Fixed minor issues in button group demo and toggle group demo. (5161e71)
    • Added adaptation section in dev doc. (f61cea5)
    • Fixed the bug of size morph not working with layout_weight. (d791fad)
    • Added optical center feature. (2667e09)
    • Updated XML for split button examples in documentation for improved accuracy. (ede1bdc)
    • Fixed the content description in distribution demo. (d54087e)
    • Fixed the bug of size morph not working with layout_weight. (b640078)
    • Added flags to prevent unnecessary updates to child shape. (ed528c6)
    • Fixed the translationz value for hovered state of elevated button. (0c4ed7e)
    • Cleanup (8c263bb)
    • Added PopupMenu to the SplitButton demo. (7a6866c)
  • MaterialDatePicker
    • Replace the deprecated announcement API used for month navigation (6a3d13f)
    • Fix bug causing undesired screenshot changes (71bfc93)
    • Fix accessibility focus landing on first day of month after year selection (39dd3a4)
    • Translate fixed a11y announcements. (9fd5a67)
    • Fix DatePicker to use correct accessibility description for calendar/year view toggle button. (41f5079)
    • Disable next/prev button when the selected month is at the boundary (71287c6)
    • Prevent keyboard from automatically showing with TalkBack (fd2e9bc)
  • MaterialShapeDrawable
    • Update ShapeAppearanceModel.Builder to not use extra ContextThemeWrapper for shape appearance overlay due to performance concerns (990fdb4)
  • MaterialSplitButton
    • Updated Split Button to match spec and address feedback. (c1e73c8)
    • Add chevron drawable AVD to public. (08fff9f)
  • Menu
    • Fixed Dark Mode for Context Menu (93a5130)
  • NavigationRail
    • Force NavigationFrameLayout to be the available size at the minimum (12fad1d)
    • Use display cutout and system bar insets for start padding (4657afb)
    • Add attributes for expanded active indicator padding (a798a82)
    • Fix active indicator label jump when expanding (7f0a51d)
    • Add divider functionality for expanded nav rail (9496619)
  • ProgressIndicator
    • Updated to not throw exceptions for calling setIndeterminateDrawable and setDeterminateDrawable during the initialization. (64867cf)
    • Added the customization of setting the stop inidcator padding. (0b89ef4)
    • Added fraction support in track corner radius. (2e97dd6)
    • Added an track inner corner radius API. (8a23e0d)
  • Search
    • Updating centered search bar text to have 8dp content start and end padding (4070bef)
    • Added a clip bounds animation for searchview edit text (5a600a8)
    • Add a placeholder textview to Searchbar that keeps track of searchview edit text in order to gracefully fade it out in searchview collapse animation (be09936)
    • Update centering layout logic to account for padding and content insets (c2c660b)
    • Add cutout insets to SearchView toolbar (53616ad)
    • Fix animation calculations for predictive back (44eabe3)
    • Fix long centered text overlapping with menu items (9170221)
    • Updated SearchBar styling (3a5861c)
    • Add maxWidth attribute and fix SearchBar/SearchView animations to be more flexible in hierarchy (548c15c)
    • Fix issue with a custom center view pushing out centered text (04c56f6)
    • Update demos to demonstrate an example with a ConstraintLayout (6db122b)
    • Update catalog demo to optionally show searchbar menu (e85371f)
    • Add a lift on scroll color to SearchBar when used with AppBarLayout (36b285c)
    • Set alpha for toolbar button directly rather than setting through a FadeThroughDrawable (e035f38)
    • Fix centering text when set by the search view (ea01f2a)
    • Fix animation when searchbar doesn't cover whole screen (f7ba9c6)
    • Add textCentered attribute (0641ee5)
    • Fix NPE with hiding navigation icon (1dc9a1c)
    • Add a demo with 2 icons outside the searchbar (9bda9a9)
  • Shape
    • Added new attributes in Material3 themes. (447fd02)
  • Slider
    • Prevent duplicate accessibility announcements (bccfdfa)
    • Get default minTouchTargetSize from material attributes (422586e)
    • Fix label bounds for vertical slider in RTL (23957e0)
    • Centered Slider updates (781d344)
    • Add state description to VirtualView node (efea65b)
    • Add centered configuration (cd909c2)
    • Add new tick visibility modes (660423f)
    • Fixed behaviour when Slider is in a scrolling container (9302f54)
    • Improve track icon bounds calculation (54778a9)
    • remove unnecessary code (867fd01)
    • Slider, don't warn about track icons if you don't have any (b31711c)
    • Fix label pivots (d28488d)
    • Fix thumb visibility for vertical slider on API 23 (e6e9385)
    • Refactor track icon tinting (9ce14ae)
    • Always update track bounds before drawing icons (ddda777)
  • Tabs
    • Don't try to detach an already detached TabLayout (7144370)
  • TextInputLayout
    • Replace deprecated announceForAccessibility with accessibility live region (e909768)
    • Fix the issue that menu items gets filtered after recreation (690bbfc)
    • Make highlight text colour respect the theme rather than M3 default (cfe6dce)
  • TimePicker
    • Fixing the Talkback focusability of the "Select time" label on the time picker component. (4ed648a)
    • Fix number format on 24-hour dial (80593b2)
  • Tokens
    • Updated the shape tokens output. (2ef3aba)
    • Update tokens to 16.0.2 (37adad2)
    • Upgraded to 15.0.26 (67b6dce)
    • Upgraded to version 15.0.12. (c39dc38)
    • Updated to 14.0.0. (7c5dce0)
    • Migrated to new token sets. (12a136c)
    • Migrated to new token sets. (02fcdf5)
  • TopAppBar
    • Fix Extended FAB behavior demo to shrink and extend as expected. (13cdaba)
    • Add attribute to center based on whole container (dcfbdff)
    • Update AppCompat dependency to 1.7.0 stable and remove inflateMenu dispatch pausing now that the fix has landed in AppCompat (09d2566)
    • Overrode the colorControlHighlight to reflect the Material state layer. (33b1c33)
    • Expose toolbar customization attributes (b8af518)
    • Fixed the toolbar not snap when switch to freeform windowing. (d4ac3d5)
    • Applied formatting only. (32633a6)
    • Added a demo to show case using collapsing toolbar layout with a toggleable button; reduced the number of menu items in all demos. (8726702)
  • Transitions / Motion
    • Added default style parameter for MotionUtil when resolving theme spring attributes (f4342f1)
    • Fixed typo for "spatial" (59de693)
    • Updated motion documentation to include springs. (3f5179c)
  • Typography
    • Added emphasized typescale to public attributes (0c1a914)
  • Catalog
    • Update NavRail description in catalog (28be49d)
    • Fix BottomWindowInsetView (8699fe8)
    • Added an onDismissListener to the popup menu to synchronize menu display and button checked state. (bb90b20)
    • Fix crash occurring with all the adaptive demos (1125655)
    • Migrated builds to use a version catalog (4662301)
    • Add demo for 3 item docked toolbar demo (d51f8c9)
    • A11y fixes for floating and docked toolbar (b085829)
    • Added the button group distribution demo in catalog. (828c932)
    • Create docked toolbar demo in M3 catalog (a82391a)
    • listener is added again after rotating device (6a7c034)
  • Other
    • Remove Expressive from 1.13 releases, so we can get 1.13 to stable faster (#​4803) (27226d6)
    • Add a method to get the HideViewOnScrollBehavior associated with the view (0f5974a)
    • Fix the target position of the view when sliding it off the screen without animation (def80c5)
    • Updated compileSdkVersion to 35 (62f8561)
    • Moved component inclusion into afterEvaluation block (27f0cd7)
    • Moved back to Java 8 source and target compatibility (a8d492c)
    • Enable non transitive R classes (resource namespacing) and fix errors (0697f6f)
    • Updated to AGP 8.7.3, Gradle 8.9, Java 21 (2c2a26c)
    • Updated string translations (9f52851)
    • Replace getVersion gradle task (94b575c)
    • Updated translated string resources. (9a2890c)
    • Added additional shape appearance styles in public.xml (29be993)

Full list of release notes

Full list of changes

v1.12.0

Compare Source

What's new since 1.11.0

  • Slider and Progress Indicator have been updated to better support Non-Text Contrast Accessibility requirements.
  • Predictive Back Fragment/View support added to Material motion transitions (MaterialSharedAxis, MaterialFadeThrough, MaterialFade, MaterialElevationScale).

Important

Required minSdkVersion is now 19 or higher, for Material and AndroidX (blog post).

Dependency Updates

Dependency Previous version New version
androidx.transition 1.2.0 1.5.0

Library Updates

  • Gradle
    • Update library minSdkVersion to 19. (1bbb43d)
    • Upgrade to //third_party/gradle to 8.4 (1756f23)
  • Carousel
    • Shifted keylines in contained strategies when there exists padding, and clipToPadding=false (1ef42e2)
    • Fixed Javadoc formatting error in FullScreenCarouselStrategy class documentation. (a0a1c6e)
    • Added support for cross axis wrap_content RecyclerViews (e88a1b9)
    • Added documentation recommending snapping for multi-browse strategy (9e64a1f)
    • Add attributes to change small item size (92a5444)
  • CollapsingToolbarLayout
    • Fix text shadow fading when transitioning between expanded and collapsed states (7674e12)
  • Checkbox
    • Updated string translations (198e08c)
  • Dialog
    • Unified scrim opacity in Material themes/theme overlays. (f3e4439)
  • Divider
    • Fixed divider instantly appearing or disappearing on insertion or removal (ef4a0c5)
  • i18n
    • Update translated strings (a8307ef)
  • MaterialDatePicker
    • Fix date validation on Samsung devices (5aa6edf)
  • MaterialAutoCompleteTextView
    • Enabled switch access in MaterialAutoCompleteTextView. (14a7b40)
  • NavigationDrawer
    • Fixed wrong item selected after click (a3af20a)
  • NavigationRail
    • Added label padding for when the label is long enough to reach the sides of the nav rail (2439dc0)
    • Increased padding in between items as per design specs (16eca7e)
  • Predictive Back
    • Animated corners during predictive back when no drawerLayoutCornerSize is set (c8b9b1c)
  • ProgressIndicator
    • Updated inactive track color from primary container to secondary container. (c8cb0c6)
    • Updated the setter of track thickness to not update track corner radius. (540f5ee)
    • Added the limit to not have stop indicator size bigger than track thickness. (689e04f)
    • Fixed the rounded ends overlapping bug with semi-transparent track/indicator color in Circular default style. (8167c11)
    • Removed the call to draw a transparent full track. (3f80fdb)
    • Flipped the canvas for different circular directions. (bcc27a3)
    • Split stop indicator drawing from indicator drawing. (76207cb)
    • Added ActiveIndicator to improve readability. (6fd920a)
    • Fixed ESCAPE animation in linear and added ESCAPE animation in circular. (98284e7)
    • Updated to use the same drawing delegate object between determinate drawable and indeterminate drawable to prevent inconsistent drawings when specs update. (52b4845)
    • Added missing graphics updates when spec changes. (93b3010)
    • Update styles for new Accessibility updates (15b533f)
    • Added static drawable for Circular type when system animator is disabled. (22e054b)
  • Search
    • Excluded icons from search bar handwriting bounds (387f59b)
    • Made searchbar_scrolling_view_behavior string public (ce386e4)
    • Updated string translations (198e08c)
  • SideSheet
    • Moved the modal side sheet default width/height into style so they can be customized
    • Updated string translations (198e08c)
  • Slider
    • Made tick size defaults to the stop indicator size if set (92bc02c)
    • Fixed incorrect style of stop indicators near handles (d61cffd)
    • Resolved issues that crash when assigning a large value to valueTo (4d1b9e5)
    • Updated the track drawing for some corner cases. (10484df)
    • Fixed ripple not transparent on API 33 (cd4f618)
    • Updated documentation (a641e18)
    • Updated styles (c218b3c)(3b278d7)
    • Fixed slider label not moving while scrolling (144b515)
  • Tabs
    • Fixed title being announced twice when there's a badge in TalkBack mode. (aaa7034)
  • Theming
    • Add NoActionBar dynamic color themes (81d1b77)
    • Update Shape Theming bottom sheet text color (8ca016f)
  • Tokens
    • Update tokens to v4.0.0. (88acfcd)
    • Added formatting to break long lines and differentiate different comments. (857d6a2)
  • TopAppBar
    • Use an accessibility delegate to add and perform actions (929c80f)
    • Fixed compress effect clipping on API 21-24 (2ac8c1c)
  • TextInputLayout
    • Limited the min height reset in text change listener only when line count changes. (9b9449c)
    • Fixed unnecessary min height when losing focus with multiple lines. (4a2654a)
  • Transitions / Motion
    • Updated androidx transition dep to version 1.5.0-beta01 (8c63848)
    • Added predictive fade through fragment transition demo to Catalog. (6092a7d)
    • Added titles to fade through demo fragments in Catalog. (104043c)
    • Added predictive transition support for fragments and views to the Material motion library, and enabled it in shared axis fragment transition demo. (8ccec33)

Full list of release notes

Full list of changes

v1.11.0

Compare Source

Important

Elevation Overlays within default component styles have been replaced by the new Tonal Surface Color system. Instead of blending the Primary color with the Surface color based on an elevation value, components now use a specific Surface color role that can be more easily understood and customized.

Documentation for the affected components and which Surface color roles they use has been updated in 2114a11.

What's new since 1.10.0

Dependency Updates

None.

Note: Earlier versions of 1.11.0 used other versions of the androidx.activity 1.8.0 library dependency, but there is no change in the dependency from 1.10.0, the last stable MDC library version.

Library Updates

  • Badging
    • Adjusted badge vertical offset for certain components to fit design requirements (78cc54b)
    • Added note in attachBadgeDrawable method docs about menu item views being re-used when there is a structural change in the menu. Since badges are attached to the views, this may change the menu item that the badge is intended for (5e6ea58)
  • BottomNavigationView
    • Set badges to be null instead of removing them from the sparse array so that removing badges before restoring badge states will not override the current state (9f2e686)
  • BottomSheet
    • Fix sheet corners animation ([`de27132

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from 7a29a18 to fdca8a0 Compare June 18, 2022 20:47
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.6.0 Update dependency com.google.android.material:material to v1.6.1 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from fdca8a0 to a0d3090 Compare November 20, 2022 12:11
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.6.1 Update dependency com.google.android.material:material to v1.7.0 Nov 20, 2022
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.7.0 Update dependency com.google.android.material:material to v1.8.0 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from a0d3090 to c4be3aa Compare March 16, 2023 16:02
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.8.0 Update dependency com.google.android.material:material to v1.9.0 May 28, 2023
@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from c4be3aa to 9bd9784 Compare May 28, 2023 12:15
@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from 9bd9784 to 222cccc Compare October 5, 2023 18:43
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.9.0 Update dependency com.google.android.material:material to v1.10.0 Oct 5, 2023
@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from 222cccc to 39e64d1 Compare December 14, 2023 00:51
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.10.0 Update dependency com.google.android.material:material to v1.11.0 Dec 14, 2023
@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from 39e64d1 to 4fd2b9d Compare May 2, 2024 21:06
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.11.0 Update dependency com.google.android.material:material to v1.12.0 May 2, 2024
@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from 4fd2b9d to be4b542 Compare September 4, 2025 04:04
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.12.0 Update dependency com.google.android.material:material to v1.13.0 Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants