fix(deps): update dependency com.google.android.material:material to v1.12.0 #12

Merged
kumi merged 2 commits from renovate/com.google.android.material-material-1.x into main 2025-03-15 15:17:23 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
com.google.android.material:material dependencies minor 1.3.0 -> 1.12.0

Release Notes

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

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 2114a11378.

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)
  • Carousel
    • Ensure that extra small size is not larger than the large size (17baf71)
    • Fixed crash when recyclerview has a size of zero. (26c3129)
    • When navigating with keyboard, scroll focused item to nearest focal keyline, not the first focal keyline (fb9c1c6)
    • Force hero strategy to be start-aligned if there are not enough items to make it center-aligned (9a2347b)
    • Add logic for multibrowse strategy to change strategy when number of items is less than the number of keylines (cbb380d)
    • Fixed focus order when using keyboard navigation for hero carousels. (0356f24)
    • Cleaning up multi-browse strategy and removing compact arrangement (ed4647d)
    • Disallowing center aligned hero strategy with only 2 items since it does not make any sense. With only 2 items there can only be a start state and end state with the hero strategy. (d5d604d)
    • Fix issue with uncontained carousel not having a proper end scroll value due to assumption made in end scroll calculation (8cb444b)
    • Added tests for hero and multibrowse strategies when the carousel container is very small. (8312162)
    • Update scroll offset to scroll to the estimated position that it was at upon an initial load (4a6ae4d)
    • Fixed strategies crashing when there is not enough available space for a large and a small item (c418063)
    • Tweak uncontained strategy logic to adjust medium size items to improve motion (93660d4)
    • Fixed formatted for KeylineState and KeylineStateList (b80d9a5)
    • Fixed keyline shifting in RTL for uncontained carousels (7151714)
    • Reduce the number of truncations in intermediate calculations (4ce7e4c)
    • Update vertical scroll speed to be faster (c6ea2d4)
    • Fix some a11y bugs in Carousel (3d84841)
    • Center aligned uncontained carousel (b6f6eb5)
    • Add left-aligned uncontained strategy (9d81cac)
    • Fix orientation not correct in item decoration calculations (966f7da)
    • Update mask size on size change if mask x percentage has been set (dc91b39)
    • Fix issue with next carousel item not being masked properly (a16f180)
    • Add a layout listener to recyclerview to refresh keyline state upon size change (ff52862)
    • Remove default list from Carousel catalog demos as it is not an example of a carousel (0171624)
    • Add carousel alignment attribute (547156e)
    • Fix issue with not refreshing keylines (674ec44)
    • Fixed MaskableFrameLayout not updating mask after size change when setting the mask using setMaskXPercentage. (14023d2)
    • Adding docs for fullscreen carousel strategy (7c40359)
    • Add fullscreen demo to catalog (ad6afbf)
    • Add full screen strategy (bc54f2e)
  • Catalog
    • Use BottomSheetDialogFragment (2c53952)
    • Update navigation drawer state handling to be more accurate in demo (74ac87c)
    • Update navigation drawer state handling to be more accurate in custom drawer demo (1252d4f)
    • When bottom sheet is collapsed, back callback is enabled (98439df)
    • Update side sheet state handling to be more accurate in demos (357cf2d)
    • Update bottom sheet state handling to be more accurate in demos (f9102c7)
    • Fixed demos in RTL (4e1b130)
    • Make side sheet demo icon easier to see in dark mode (79a1953)
    • Remove explicit Catalog dependency on androidx.activity now that library depends on it (3bb69f5)
    • buid.gradle update. (4847799)
    • Remove edge-to-edge to top app bar demos due to glitches in ActionBar demo (c40e468)
    • Update slider position when carousel is scrolled in uncontained carousel demo (480bbc6)
    • Applied edge-to-edge to top app bar demos (aa5b5bc)
    • Add uncontained carousel demo to catalog (ef9f918)
    • Update slider position when carousel is scrolled in catalog demos (3652fde)
    • Applied edge-to-edge to bottom sheet in Carousel demo (6c2dd5d)
    • Fix fullscreen vertical carousel to use vertical dividers (af7d09a)
    • Add alignment option to hero carousel (7cfd30f)
  • Chip
    • Fix a typo in attributes table in documentation (7289aa6)
  • CollapsingToolbarLayout
    • Fix issue where expanded text gets ellipsized too aggressively when using title fade mode and the toolbar has menu items (094e3e2)
    • Fixed title collapse fade mode color to use a Tonal Surface role instead of elevation overlay (5f2b4b2)
  • Color
    • Delete unused contrast resources (541df07)
    • Updated focused and pressed state from 0.12 to 0.10 to increase the contrast ratio with tonal surface color. (bc824b4)
    • Updated colors of container transform demo (d16f223)
    • Add ColorStateListDrawable support (0663019)
    • Removed layered drawable for the background after tonal surface color. (b5d6f1a)
    • Upgraded to v0.170 for tonal surface colors. (8204856)
    • Update constructor comments (ba465a2)
  • Divider
  • Documentation
    • Add note to clarify that automatic back handling in components is only for API 33+ (ad2b5f8)
    • Update Predictive Back doc to recommend 1.10.0 stable version (b8b1a66)
    • Update doc to explain how to allow Top App Bar to grow taller in response to system font setting (a01a68d)
    • Fix carousel docs (247240c)
    • Add uncontained variant docs (9ee4aba)
    • Minor code block improvements (d7e75bb)
    • Add guidance in fullscreen strategy docs about portrait orientation (caec8d2)
    • Update chip documentation to use setOnCheckedStateChangeListener instead of setOnCheckedChangeListener which was deprecated in favour of the former (0582b1a)
    • Update example in docs to use colorContainer and colorOnContainer instead of colorPrimary and colorOnPrimary. (44bfe2d)
    • Updated Color dev doc with tonal surface colors. (9a4c21d)
    • Updated dev doc for tonal surface colors in affected components. (2114a11)
    • Crosslink github docs in javadocs (e3b255b)
    • Cross-reference m.io and DAC in Github docs (1785bbf)
  • Material 3
    • Introduce U color tokens (ad63d3f)
    • Add Meizu to dynamic colors allowlist (faf9a32)
    • Remove resources loader support for tonal surface update (1a9d54f)
    • Added default framework text colors (d3dda60)
    • Updated contrast documentation (1d3b8e1)
    • Add shift to dynamic colors allowlist (fde37cf)
    • Expose attr contrastColorThemeOverlay (839b14c)
    • Add dynamic contrast support (862a7e1)
  • MaterialCardView
    • Support android:duplicateParentState. (31af945)
  • MaterialDatePicker
    • Added builder methods for customizing the positive and negative button content descriptions (a00ee50)
    • Fix header layout overlapping (5f1cab6)
    • Fixing the "Column of Days:" announcement causing Talkback verbosity (a782e7a)
  • NavigationView
    • Set material drawable background if the background has been set as a ColorStateList (eba40e9)
  • Predictive Back
    • Update to use decelerate interpolator (5559cbc)
    • Fix issue where predictive back is not enabled in NavigationView after rotating the screen or restarting the activity when the NavigationView is already opened as a drawer (bccbd4f)
    • Fix issue where modal accessibility is not reset after collapsing search view predictively, which caused the screen to appear frozen when using TalkBack (8d83a31)
    • Fixed IllegalStateException crashes caused by MaterialBackAnimationHelper. (02dc779)
    • Fixed UnsupportedOperationException AnimatorSet crash in SearchView. (f101532)
  • ProgressIndicator
    • Allow extending LinearProgressIndicator and CircularProgressIndicator (Closes #​2361) (3b0fd58)
  • Search
    • Set the editable property within SearchBar's AccessibilityNodeInfo representation. (be1395b)
    • Fix issue where predictive back is not enabled in SearchView after rotating the screen or restarting the activity when the SearchView is already expanded (a51561d)
    • Enforced outline variant to use colorSurface as container color. (720998d)
    • Added support to set a default content description if a content description is not set explicitly. (c15a323)
  • SideSheet
    • Add left sheet/sheet edge documentation. (d440e3c)
    • Fix mixed language snippet (f91f17b)
  • Switch
    • Fix drawable scaling for API < 23 (a10c508)
    • Amendments to thumb icon size support (db9a641)
  • Tabs
    • Integrated divider token output into the background drawables. (6b627c2)
  • TextInputLayout
    • Fix editText paddings on pre-Lollipop (2590c42)
    • Fix onMeasure() infinite loop bug caused by posting requestLayout() before endLayout is fully rendered. (93360a5)
    • Mutate cursor drawable before tinting it. (9a4888f)
  • Theming
    • Fix swapped error colors for dynamic contrast theme in light mode (f2ccc11)
  • TimePicker
    • Fix layout getting cut on narrow screens (d10201d)
  • Tokens
  • TopAppBar
    • Simplified logics to animate the container color between lifted state and the default state. (1e9f5f0)
    • Fix dynamic status bar foreground lift on scroll color when using Tonal Surface Color on API Level 33 (c4ae01a)
    • Fix dynamic status bar foreground lift on scroll color when using Tonal Surface Color (569ddac)
    • Fixed that liftOnScrollColor doesn't respect to setLifted when liftOnScroll is set to false. (43242f2)
    • Added liftOnScroll and lifted toggles to the catalog. (4e995d1)
    • Added getMaterialShapeBackground() to return a MaterialShapeDrawable object of the background (non-lifted layer). (c7a0adf)
    • Updated the handling of liftOnScrollColor not override android:background. (2b476b3)
  • Other
    • Cleanup date formats that specify the same field multiple times. (f1da3c3)
    • Update androidx.activity dependency to version 1.8.0 (733fe20)
    • Update androidx.activity dependency to version 1.8.0-rc01 (2cfb127)
    • Remove android:targetSdk where it's not needed (09382b8)
    • Update androidx.activity dependency to version 1.8.0-beta01 (f93c65c)
    • Added a comment before overridden resources. (7d8681f)
    • Delete BackLayer component (4c89301)
    • Stop running Robolectric tests on APIs < 19. (0a6a8a9)
    • Fixed corrupt gradle jar file. (ed9b541)
    • Upgrade Gradle to 7.6.2. (04c0582)
    • Consistently use window coordinates to calculate Snackbar offsets. In one place screen and window coordinates are mixed, which leads to bad behavior in split screen apps. (57b2663)
    • 1.11.0-alpha01 Release. (76a681a)

Full list of release notes

Full list of changes

v1.10.0

Compare Source

What's new since 1.9.0

Important

New minimum requirements for your app's project:
  • Update compileSdkVersion to 34
Known Issues

Dependency Updates

Dependency Previous version New version
Gradle 7.2.0 7.4.2
androidx.activity -- 1.8.0
androidx.appcompat 1.5.0 1.6.1
androidx.resourceinspection:resourceinspection-annotation -- 1.0.1
androidx.resourceinspection:resourceinspection-processor -- 1.0.1

Library Updates

  • A11y
    • Do not count headers for accessibility (917da52)
  • Badging
    • Deprecate bottom badge gravities and update docs and usages in catalog (27abfdb)
    • Add new attribute for vertical offset when font is large (2362f4b)
    • Fix table formatting and remove unnecessary badge invalidation (44a97f4)
    • Fix crash caused by non-ascii strings (532b65d)
    • Badge cleanup/fixes: (4d50aa4)
    • Add attribute to automatically adjust badge so that it is within the anchor view's grandparent view's bounds (b706506)
    • Add getters/setters for vertical and horizontal badge padding (a0d0b53)
    • Allow text strings in badges (c1ef52b)
    • Center badge content more correctly (fc0de1b)
    • Add padding in between top and bottom edges of badge and text (8499b83)
    • Integrating tokens (68c844c)
    • Add shape appearance for badges (2ddcfe4)
    • Update badge images (c1eba1b)
  • BottomAppBar
    • Fix bug with transparent top app bar when in bottom app bar layout (c22eb0d)
    • Fix issue with pre-21 FAB elevation/shadow sometimes appearing (2ea3df9)
  • BottomNavigationView
    • Integrate tokens and add shape appearance support (7bd9724)
  • BottomSheet
    • Fix sheet corners animation (a5ff190)
    • Update bottom sheet documentation (af1fa70)
    • Integrate tokens (86cd9d7)
    • Add method to allow programmatically changing shouldRemoveExpandedCorners behavior (c8a0d47)
    • Update expanded corner removal to check if sheet view is actually at top of screen (1c01e82)
    • Fix for detached from bottom sheet behavior. (9c4b73d)
    • Ignore ACTION_MOVE events in BottomSheetBehavior that weren't preceded by an ACTION_DOWN event. (d8c01c1)
  • Carousel
    • Add orientation helper to clean up CarouselLayoutManager orientation differences (7822ef8)
    • Update docs to include hero variant (ec509cc)
    • Add vertical scrolling capability (6b48d3b)
    • Deprecate set/get mask x percentages in Maskable as they are no longer used anywhere, and is a misleading method due to these methods not actually having any effect on the Carousel as CarouselLayoutManager overrides the values. (29d8742)
    • Ensure that masks are pushed out beyond the parent bounds if they are on the parent bounds (9486de5)
    • Carousel updates and fixes (16c1575)
    • Fix contained mask logic to only update masks when it is still in view, and remove restrictions on mask size with childWidth/2F. The only restriction is that the right of the mask must be greater than the left of the mask. (7d6a977)
    • Fixed multi browse strategy clipping extra small items before being fully collapsed (85b6d50)
    • Add Carousel Hero strategy demo (b57dae5)
    • Add Hero carousel strategy (340cd44)
    • Add option for snapping with multi-browse carousel demo (26c3779)
    • Add CarouselSnapHelper (8938da8)
    • Refactor to reuse logic between different Carousel strategy classes (1c27404)
    • Fix item masking for API 21 (7bc26e5)
    • Updated MultiBrowseCarouselStrategy to find best arrangments using a cost function (0184b5b)
    • Fixed mutli-browse catalog demo crashing due to invalid position slider values. (5bc7a50)
    • Add support for transitions by forcing canvas clipping when detaching from the window. (93ceb7e)
    • Updated MaskableFrameLayout to use Outline path clipping on 33+ only. (43c5077)
    • Updated setForceCompatClipping visibility for testing. (3856af1)
    • Updated MaskableFrameLayout to clip more performantly. (733c9e0)
    • Changed Maskable.add/removeOnMaskChangedListener to Maskable.setOnMaskChangedListener. (359580b)
    • Fixed child index bug causing items to be ordered incorrectly. (9d0732b)
  • Catalog
    • Update side sheet state handling to be more accurate in demos (4442635)
    • Update bottom sheet state handling to be more accurate in demos (386d47b)
    • Update to compileSdkVersion 34 and update catalog to use androidx.activity:activity:1.8.0-alpha05 (2336c23)
    • Fixed catalog errors for some demos. (4c3e1d5)
    • Fixes context menu are not themed on S (33e4f84)
  • Checkbox
    • Fixed checkmark icon not updating color on error correctly in pre 21. (62aa802)
  • Chip
    • Fix hand pointer icon not showing up on whole Chip when using mouse input (2702b1a)
    • Add theme overlays supported on API < 23 (fd0c815)
  • Color
    • Temporarily remove v34 Android U color references which could be causing resource NotFoundExceptions (2a1a67f)
    • Fixed lint error. (824d75e)
    • Integrate container color token (206928b)
    • Made SearchBar and SearchView's container colors configurable in XML style. (cf006c5)
    • Added U color resources for contrast mode support. (93f386c)
  • Dialog
    • Update DialogWhenLarge theme to have correct parent theme (dae89b7)
    • Made dialog background color configurable in XML styles. (77cdc1e)
    • Made dialog background color configurable in XML styles. (303fabd)
  • Documentation
    • Fix SideSheetDialog class definition and source links (e4d0fd3)
    • Revise version guidance for Search usage. (0bcb570)
    • Formatted tables in the eng doc. (ef57f69)
    • Fix doc formatting for github (e75654d)
  • ExposedDropdownMenu
    • Added attribute to set dropdown menu's container. (1562d0b)
  • FloatingActionButton
    • Correctly handle min touch target size (d6f36e8)
  • Material 3
    • Remove resources loader support for tonal surface update (dfd9bfb)
    • Fix harmonization demo bug (836c51e)
    • Updated content-based dynamic colors (e9b485d)
    • Update Color doc (d7f9a06)
    • Updated content-based dynamic colors (a511501)
    • Adds Search class definition link to Search documentation. (e157608)
    • Added ColorContrast API (a6cf098)
    • Updated content-based dynamic with contrast levels (b335436)
    • Updated SearchDemoUtils to mark the class and methods as public so that it can be resued. (3b43d41)
    • Code style update (1fd695c)
    • Fix Search view prefix style. (e56e9b1)
    • Updated search styles to set the default style attributes in the related theme overlay. (9ffaa8d)
    • Improve performance by preventing item change notifications during inflation. (203d5ec)
    • Fixed a crash in search components when view attributes inspection dev setting is turned on. (1159923)
    • Color Component demo update (2aa1cf3)
    • Color Component demo update (c786582)
  • MaterialButton
    • Set up Android Studio resource inspection annotation and annotation processor, and add @​Attribute annotation to MaterialButton#getIconPadding (2b5c75f)
  • MaterialDatePicker
    • Allow client app to access user selected inputMode (4d80434)
    • Fix crash when clicking OK/Cancel on text input mode due to hiding keyboard (7ccf670)
    • Add getTextColor to DayViewDecorator (29b59c2)
    • a11y/i18n alignment (f4d0f56)
    • ContentDescription for "DayName" is not properly getting read by talkback for the German language (35bd1fc)
    • Fix time zone when custom text input format is set (619d5a6)
    • Update screen width at which days size is 48dp in portrait mode. (ec511a5)
    • Made dialog container color configurable in xml style. (7b2c19b)
    • Fix hint for Korean (bcc97bf)
    • Integrated tokens. (30ea33e)
    • Fix keyboard not showing at first in text input mode (4032a74)
  • NavigationRail
    • Added bigger padding in between items on the navigation rail when font scale is large so there is more room for the badges when they are forced inside the view bounds (8b016a0)
    • Integrate tokens and add shapeAppearance attribute (3b2b827)
    • Added attribute to control the application of start window inset padding. (3f99392)
    • Fixed active item focused state color not being visible. (1d2a59b)
  • NavigationView
    • Updated NavigationView to use ViewOutlineProvider to handle corner clipping when possible and remove drawerLayoutCornerClippingEnabled attribute. (c031144)
    • Removed canvas clipping by default and added an option to enabled/disable manually (e3b493f)
  • Predictive Back
    • Fix issue where modal accessibility is not reset after collapsing search view predictively, which caused the screen to appear frozen when using TalkBack (e8af8f9)
    • Fixed IllegalStateException crashes caused by MaterialBackAnimationHelper. (845007e)
    • Fixed UnsupportedOperationException AnimatorSet crash in SearchView. (6720e24)
    • Fix custom predictive back implementations and update androidx.activity dependency to 1.8.0-alpha06. (722b936)
    • Fixed MaterialBackAnimationHelper.onCancelBackProgress being called twice. (ad60bbf)
    • Fixed possible NaN crashes in MaterialBottomContainerBackHelper, MaterialMainContainerBackHelper and MaterialSideContainerBackHelper. (122c296)
    • Update components to use BackEventCompat (a67a885)
    • Make MaterialMainContainerBackHelper collapsedView optional (fb56ab4)
    • Fix issue on Android U where clicking SearchView back button causes SearchBar to disappear and back arrow animation to not run (e69a324)
    • Minor dev doc edits (82a91c8)
    • Update dev docs (47c307d)
    • Fix expand/collapse animation for non-predictive back cases where rootView bounds are not equal to searchView bounds (577d23e)
    • Added updateBackProgress() predictive back support for coplanar side sheets. (5ba704a)
    • Added handleBackInvoked() predictive back support for coplanar side sheets. (b984e64)
    • Fix subtle detached side sheet glitch where after predictive back the sheet does not fully slide off screen (52f1737)
    • Fix custom nav drawer Catalog demo pre-T crash due to OnBackAnimationCallback class not found (d8c5c2c)
    • Added predictive back support for modal side sheets. (f335a50)
    • Added predictive back support for standard side sheets. (562285e)
    • Update side container back helper to support containers with arbitrary child views (9405121)
    • Only use device corner radius if SearchView reaches edge of screen (a93c91a)
    • Make back helpers support generified View type (69b5386)
    • Add ability to opt-out of back handling (176ce5e)
    • Update SearchView to support predictive back when set up with SearchBar (a4b6f46)
    • Fix bug where standard hideable bottom sheets don't stay hidden after predictive back (2c23d2a)
    • Add top-level developer documentation (8105cb7)
    • Update Bottom Sheet to support predictive back (d6fad95)
    • Infrastructure for back handling in components + Navigation Drawer predictive back support (2c297fa)
    • Migrate Catalog to use AndroidX back pressed callbacks and enable predictive back-to-home (22c4e0d)
  • Search
    • Enforced outline variant to use colorSurface as container color. (cbbd50d)
    • Support stylus handwriting in SearchBar (884a454)
  • SideSheet
    • Aligned close affordance and title text along the baseline rather than the top. (7a3f30b)
    • Mapped close affordance to ?attr/colorOnSurfaceVariant in catalog. (7ee0b72)
    • Add links to class definitions in Side Sheet documentation and revise version guidance. (d005ad7)
    • Changed side sheet child containers in Catalog from LinearLayouts to FrameLayouts. (690cd5d)
    • Changed side sheet title text appearance to Title Large. (a0d4fa0)
    • Fixed modal sheet text field formatting bug in catalog. (87a45a2)
    • Renamed private references of "origin" to "inner" in SheetDelegate and related delegate classes. (ad9ad20)
    • Fixed side sheet swipe calculations in RightSheetDelegate. (8ae8a37)
    • Added left/start modal sheet. (d0ad45e)
    • Fixed container color assigned to incorrect attribute. (a4c65d8)
    • Removed the hasValue check for shapeAppearance to guarantee it always has a user value or default value to avoid NPE. (5e427da)
    • Added LeftSheetDelegate and left sheet support for standard and coplanar side sheets. (78fa157)
  • Switch
    • Amendments to thumb icon size support (3abb658)
    • Add support for setting thumb icon size (2e85f06)
    • Fix morphing time of switch thumbs (23a2b17)
  • Tabs
    • Create tab demo fragment that uses viewpager2 in Catalog (add7f5d)
    • Re-adding mistakenly removed tab layout theme (e708d98)
    • Fix issue with indicator not being drawn when viewpager starts scrolling before onLayout is called (34d6a14)
  • TextInputLayout
    • Added API to set cursor colors for API 28+. (c598ccd)
    • Make collapsed hint aligned with prefix and suffix text (d9b97b4)
  • TimePicker
    • Fix crash when clicking OK/Cancel/Icon on text input mode due to hiding keyboard (1fcde2c)
    • Made dialog container color configurable in xml style. (5f542c8)
  • Tokens
    • Upgraded outdated token output in textfield & appbar. (d722a78)
    • Updated to v0.162 for a new target. (0be665c)
    • Upgraded to v0.162. (9f1caa2)
  • TopAppBar
    • Updated to take a CSL as the AppBarLayout background color. (6980c40)
    • Removing keyboard scroll event workaround for AppBarLayout since CoordinatorLayout issue has been fixed in androidx.core:core:1.10.0 (fdaff78)
    • Fixed dragging the app bar layout overshoots the status bar. (b3f7b66)
    • Added support to pass toolbar style. (cdda1fc)
    • Fix bug in AppBarLayout that refreshes all its children's drawables instead of just its own (21a7aff)
  • Other
    • Update library version to 1.10.0 (5a45d85)
    • Update androidx.activity dependency to version 1.8.0 (4faa81c)
    • Update androidx.activity dependency to version 1.8.0-rc01 (7160a68)
    • Update library version to 1.10.0-rc01 (bcc2f91)
    • Update androidx.activity dependency to version 1.8.0-beta01 (bb0973f)
    • Update library version to 1.10.0-beta01 (7b8507f)
    • Update library version to 1.10.0-alpha06 (0c0addd)
    • Merge branch 'master' into release-1.10 (543c473)
    • Updated library version to 1.10.0-alpha05. (174a57d)
    • [TextInputEditText]Fix: TextInputEditText misses some visible lines in CursorAnchorInfo#getVisibleLineBounds after scrolled (bdef355)
    • Fix kotlin version alignment (fc6f0a2)
    • Fix kotlin version alignment (7671188)
    • Merge branch 'master' into release-1.10 (797d494)
    • Update library version to 1.10.0-alpha04 (9123e4f)
    • Replaced BuildCompat#isAtLeastU() method calls with explicit SDK checks for UPSIDE_DOWN_CAKE. (f2e70d2)
    • Add itemTextAppearanceActiveBoldEnabled attr (022e217)
    • Update library version to 1.10.0-alpha03 (11b8da4)
    • Update AppCompat dependency to 1.6.1 (46778db)
    • Update library version to 1.10.0-alpha02 (1a2078b)
    • Update to AGP 7.4.2 to get latest lint and fix Android U lint issues (5a37e4b)
    • Update library version to 1.10.0-alpha01 (c7d31fb)
    • Minor fix. (dfbf4d9)
    • Upgrade to 7.6.1. (500c8eb)
    • Update gradle-wrapper.jar (bb2716f)
    • Update string translations (5689ce2)
    • Update compileSdkVersion to android-UpsideDownCake (3fb6bb2)

Full list of changes

Full list of release notes

v1.9.0

Compare Source

What's new since 1.8.0

Dependency Updates

  • No dependency updates.

Library Updates

  • Badge
    • Added shape appearance for badges (89a2a64)
    • Updated M3 style to match specs - alignment tweaks and text appearance changes (3c1ac05)
    • Added new 'offsetAlignmentMode' attribute that determines where the offset starts for the badge (d0d0f54)
  • BottomSheet
    • Added animation for bottom sheet position when keyboard is shown using WindowInsetsAnimationCompat API (697d93a)
  • Carousel
    • Added developer documentation (be9f16c)
    • Released carousel component (4ecba81)
  • Color
    • Added new theme attributes for fixed accent colors. (4f3dc3e)
    • Added tonal surface color theme attributes and updated themes. (989d574)
    • Added support for missing color roles. (169bbca)
    • Added framework color roles support for content color (ce68ec6)
  • SideSheet
    • Added detached variant of modal side sheet. (ad3cf5a)
    • Added detached variants of standard and coplanar sheets. (938105a)
    • Added modal side sheet documentation. (2e9b39f)
  • Slider
    • Added mouse support for slider control. (93f8ffb)
    • Added API for setting the radius of active/inactive tick in xml and Java. (7bbbe39)
  • Tokens
    • Introduced new accent color tokens. (dac9450)

Full list of changes

Full list of release notes

v1.8.0

Compare Source

What's new since 1.7.0

  • Brand new Side Sheet component with standard, modal and coplanar variants! Check out the Side Sheet design guidance and developer documentation for more details.
  • Brand new Search component! Check out the Search design guidance and developer documentation for more details.
  • Integrated tokens for Bottom Sheet, Checkbox, Chip, Dialog, Divider, MaterialButton, NavigationRail, ProgressIndicator, Slider, Switch, Tabs, and TextInputLayout.

Dependency Updates

Dependency Previous version New version
ext.kotlinVersion 1.3.50 -
errorproneVersion - 2.15.0
compileSdkVersion 32 33
targetSdkVersion 32 33

Library Updates

  • A11y
    • Improve date input validation feedback follow up (1200e25)
    • Improve date input validation feedback (f394903)
    • Improve TalkBack focus order when selecting a day (dff70c0)
    • Improve date selection announcements (5c5b1e8)
    • Announce start/end dates (2f9844b)
    • Announce current year and day (c6539f2)
    • Fix TalkBack announcements when switching between year/day selection views (62b2b19)
    • Announce selection (be8b8d4)
    • Improve focus handling (ceacaa6)
    • Request focus on search menu when showing (968e035)
    • Fix focus when changing input mode (eca825f)
    • Update hour content description for 24h clock (ee19b01)
    • Make Clock text scale with system font size (e9fc0a0)
  • Badging
  • BottomAppBar
    • Request layout for FAB when BAB changes so that FAB will always be aware of BAB changes (10fe695)
    • Add attribute to remove shadow on container (1322e61)
    • Added the handle to the bottom sheet. (4c11606)
    • Update motion specs for show/hide bar (fdd8dae)
    • Updating catalog to remove M2 options (8bec167)
    • Small bugs and padding adjustments (63f98bf)
  • BottomNavigationView
    • Remove elevation shadows (e393748)
    • Updated active text label to use a bold typeface. (11e98f2)
    • Fix hardcoded number of children (a2ce1dd)
  • BottomSheet
    • Update motion attributes for bottom sheet dialog animation (1cdb371)
    • Token integration (e474cf4)
    • Update elevation to match specs (617e582)
    • Sync custom actions with drag handle views (0804031)
    • Only remove round corners in M3 styles when it's fullscreen (6631abb)
    • Add shouldRemoveExpandedCorners attribute (6e6c53a)
    • Add method to calculate slide offset (2958d8d)
    • Add attribute for significant velocity threshold (d845db8)
    • Corrected guidance to use modal bottom sheet default style theme attribute for standard bottom sheets and added a callout explaining that there is no default style theme attribute for standard bottom sheets. (4865639)
    • Disable drag handle when restricting expansion (c9e855e)
  • Catalog
    • Fix incorrect time stamps (305e19d)
    • Updated search demo to change search bar hint (fafee33)
    • Updated Catalog demo to change search bar/view demo title. (df85be2)
    • Applied edge-to-edge to preferences bottom sheet (c440d86)
    • Add themed icon (45a569f)
    • Add input mode selector (09f1ee5)
    • Fix navigation bar overlaps ui #​2927 (5c2eb45)
    • Replace android.support dependencies with androidx (3d32f73)
    • Update date picker demo text appearances to M3 (c19efa0)
    • Updated button demo to provide the correct content description for icon only buttons. (2697e0f)
    • Added search/filter functionality to MDC Catalog. (549fe19)
    • Fix the favorite icon vertical alignment on demo landing rows (745acfd)
    • Update Catalog preferences demo to use MaterialSwitch (229eb9d)
    • Fix favorite row button alignment in lower apis. (849be73)
    • Updated catalog preferences for shape corner sizes. (3daa028)
  • Checkbox
    • Update unselected outline color to ?attr/colorOnSurfaceVariant to match tokens. (5d261f5)
    • Integrated tokens (e67e68d)
    • Fixed NPE crash due to layer drawable's constant state issue in APIs < 23. (b8e1b57)
    • Fix a11y announcement for indeterminate state. (6f474b3)
    • Fixed pre 21 issue where the icon did not update its color according to its state properly (ccf67f7)
    • Added indeterminate state support to the checkbox. (8f149b1)
    • Fixed icon color not updating correctly in light mode in pre 21. (a4d6f51)
    • Fix pre-21 issue where a child of the layer drawable (the button and/or the icon drawables) may not have its constant state set up properly. (079371f)
    • Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used. (9ca8a80)
  • Chip
    • Integrate Chip component tokens to Chip styles in M3. (cb65cc6)
  • CollapsingToolbarLayout
    • Exposing methods to set text size for collapsed and expanded text size (29bed9a)
  • Color
    • Updated Builder class for content color (2351fd9)
    • Implement content color with resources loader (4619f31)
    • Added content color api (8ca326a)
    • Added the rest of the library for content color support. (8510596)
    • Updated material color utilities library implementation. (f0e5bda)
    • Refactored material color utilities library into its own directory. (9897bc2)
    • Add additional condition to check dynamic color supported devices (17ac05d)
  • Dialog
    • Updated enter/exit animation to use fade pattern and motion tokens. (8d8a0d1)
  • Divider
    • Change shouldDrawDivider from private to protected to allow for more user flexibility. (b08257b)
    • Integrated M3 tokens and updated color. (2f6ebb4)
    • Fixed logic of determining whether to draw divider in MaterialDividerItemDecoration. (6f547d4)
  • Documentation
    • Added warning about known issue in slider where label doesn't scroll along with the screen. (ca54c65)
    • Add android dev doc and source link to the Material dev doc (00c9ce5)
    • Update docs to remove links to Kotlin docs and remove Kotlin from dependency (bde2092)
    • Update text field doc to include information about android:textColorHighlight (ae788ac)
    • Changing the name for the AGP compatibility variable so that the IDE points to the right documentation. (2527cc2)
    • Update typography guideline to M3. (bc1ec5a)
  • ExposedDropdownMenu
    • Dismiss modal popup in dismissDropDown (644d141)
    • Fix MaterialAutoCompleteTextView.setDropDownBackgroundDrawable(Drawable). (db115f0)
    • Fixed missing icon activated color. (9147704)
  • ExtendedFloatingActionButton
    • Add a extendToWrapContent attribute that can disable the current eFAB behavior of extending to wrap content (thus allowing extend to return to its original width before shrinking) (d5b41c1)
    • Update extend/shrink motion spec (9db041c)
  • MaterialButton
    • Integrate M3 Tokens. (b9e8fb8)
    • Use Layout to measure text width. (3b333ee)
    • Added support for toggleable Icon buttons. (8a4af07)
  • MaterialButtonToggleGroup
    • handle setEnable childs (e8bfad5)
    • Added the default Material3 toggleGroupStyle (b6c6600)
  • MaterialCardView
    • Update motion specs for Z-shadow (3975a2e)
    • Add fade animation for checked icon drawable (7d129ea)
  • MaterialDatePicker
    • Fix headerTitle text size (147463f)
    • Update text appearances (ffbf835)
    • Update elevation to match specs (b813b2b)
    • Improve inputs validation (4046525)
    • Exposed method to set a custom formatter for text input fields. (276c117)
    • Enable auto-sizing of the date selection text (32f1118)
    • Update string translation for datepicker. (8dcdd26)
    • Add method to specify a content description to decorated views (7bc5689)
    • Make new public getter methods for start/end/openAt values with long return types for CalendarConstraints (6643695)
    • Update doc to include DayViewDecorator. (aff6a94)
    • Expose CalendarConstraints start and end getter methods (95ab979)
    • Add initialize() method to DayViewDecorator to better support configuration changes (be650c4)
    • Refactor header styling to allow for multiline title with description text (debe22e)
    • Hide month pagination from the year picker (51b6054)
    • Add ability to customize background color to DayViewDecorator (24201b4)
    • Add support for decorating day views and a demo for circle indicators (bca0f2e)
  • NavigationRail
    • Added design tokens for M3 NavigationRail Component. (d1b682f)
  • NavigationView
    • Disable drawing left and right insets if the nav bar is not edge to edge (cb384c5)
    • Fix subheaderInsetEnd setter (88c448e)
  • ProgressIndicator
    • Integrates tokens into M3 styles. (ab063b7)
    • Finish all visibility animations when animate = false (26aa22b)
  • Search
    • Added search bar component. (4e323fa)
    • Fixed issue that caused the wrong component to be focused on automatically when talkback is active. (8cbfd20)
    • Updated search bar/view UI to match spec and cleaned up the API. (d049b1b)
    • Updated style to match updated M3 spec. (be8ff16)
    • Renamed search style attributes to add "material" prefix. (978ffdf)
    • Added new SearchBar and SearchView components (d1bacf5)
    • Refactored status bar spacer edge-to-edge detection to work based on insets (38605f4)
    • Removed M3 search style references from Material theme. (2977a75)
    • Added Search Demo . (030fe32)
  • SideSheet
    • Disabled lift on scroll in Side Sheet demo. (99664aa)
    • Added accessibilityPaneTitle to side sheet. (516240d)
    • Fixed issue where sheet would jump to the far edge of the screen in RTL without temporary fix. (a24832a)
    • Added explicit style definition to coplanar sheet catalog demo. (35dfa92)
    • Updated close sheet button content description in catalog. (0538a3c)
    • Added coplanar side sheet with APIs for setting a coplanar sibling view. (8055a2c)
    • Set accessibility focus to the side sheet when expanded. (0949e9c)
    • Release Side Sheet catalog demo. (f707836)
    • Rebrand "Adaptive Sheets" demo to "Side Sheet". (7f17891)
    • Fix vertically scrolling sheet swipe issue by deleting most of the nested scrolling code (3bc1f6e)
    • Cancel modal side sheet scrim on STATE_HIDDEN. (0c4e4a7)
    • Restrict SheetDialog methods from the public API surface and rename getDismissWithAnimation. (9c8ea58)
    • Add SideSheetCallback listener to SideSheetBehavior to track @​SheetState state change events. (99e09b0)
    • Renamed SheetEdge#RIGHT to SheetEdge#EDGE_RIGHT. (35d6051)
    • Made SheetDialog abstract base class and Sheet interface package-private. (0c35d1d)
    • Add @​RestrictTo annotations to restrict SheetEdge annotation interface. (e6ca949)
    • Made SideSheetBehavior extendable. (f7b3aac)
    • Add STATE_HIDDEN to SideSheetBehavior#getState javadoc. (7a706cc)
    • Changed modal side sheet shape to large. (1653055)
    • Added initial modal side sheet. (10d72ee)
    • Add standard side sheet documentation. (4364c4f)
    • Moved behavior_draggable attribute to the resources package. (1d3e374)
  • Slider
    • Add current value to talkback for Slider (9e210ea)
    • Integrate component tokens (4a1e6bc)
    • Fix compat halo visibility (bcb551b)
    • Do not capture inflation parameters for reuse (a137c28)
    • Update motion attributes (c7a3d5e)
    • Release slider thumb if gesture has been cancelled (f3a5f2f)
    • Ensured the minimum touch size of handle is 48dp (f3952f8)
  • Switch
    • Update animations to use motion theming. (3fc3ec1)
    • Removed resources from deprecated tokens. (112378d)
  • Tabs
    • Fix bug with setScrollPosition not updating indicator due to onLayout call drawing the indicator below the selected tab. (1681b1d)
    • Fixing bug with animation flicker when using tabs with ViewPager2 (ab3f203)
    • Fix bug with selected tab text appearance when swiping in viewpager. (4a0e1a0)
    • Fix default tabTextAppearance (cb1905d)
    • Fixing bug with animation cancelling if tab is double-tapped (857f481)
    • Fix tab indicator animation (f9a37c5)
    • Integrated tokens into M3 styles. (d0460f3)
    • Fixed potential NPE when updating tab view. (34a1dde)
    • Add selectedTabTextAppearance attribute (00220d0)
    • Setting a custom view on the tab should replace the current custom view (3c0c9e7)
    • Do not impose margins in custom tab views (d68c0f8)
    • Update motion attributes for tab layout (d1c5a52)
    • Update AppCompat version to 1.5 stable (7f98ebc)
    • Fix icon position in icon-only tabs (cebf591)
    • Added AnimatableView Interface. (edcb7fb)
  • TextInputLayout
    • Fix label cutout doesn't work on API < 18 (a352178)
    • Fixed counter overflow text color getter (e76eaff)
    • Integrated tokens for text fields and the exposed dropdown menu. (e7697c2)
    • Updated cursor color on error for APIs >= 29. (fbd75ec)
    • Update motion attributes for textfield animations (c98480c)
    • Updated expanded label color to take error color when on error. (a85204e)
    • Added method to set corner family programmatically and a setShapeAppearanceModel method for greater customizability of the box background shape. (08c40d8)
    • Update motion specs for hint animation (6b53f62)
    • Add scale type setters/getters for start and end image buttons in the TextInputLayout (e284e57)
  • Theming
    • Added a theme attribute for outline-variant color. (ac6f13c)
  • TimePicker
    • Fix NumberFormatException (0c204b8)
    • Fix divider alignment on the clock display (6d956ed)
    • Pre-fill hour and minute edit texts in text input mode (56ea071)
    • Pre-fill hour and minute edit texts in text input mode (087da2f)
    • Fix keyboard not showing at first in text input mode (15c7128)
    • Update motion specs (a4f6a1e)
    • Fix text appearance on the clock display (0dbea2d)
    • Use a single layout for time input (60bc025)
    • Fix text and cursor alignment on the clock display (16edbb9)
    • Fix TimePicker appearance for RTL (b3acd17)
    • 2-ring support for 24H clock (cbc0711)
  • Tokens
    • Refresh the output to reflect the current version. (567cc54)
    • Added in formatter a new feature to format a resource string without handling the ordering. (4a24684)
    • Refreshed outdated component token resources files. (ed77ab3)
    • Upgraded to v0.126 for 1p and 3p. (1ef53e2)
    • Updated to correctly convert shape tokens with asymmetric shape value. (02327c3)
  • TopAppBar
    • Update motion specs (c8108b1)
    • Adding new attribute liftOnScrollColor that disables elevation overlay and allows users to change the app bar color (c587dd1)
    • Fix issue with a physical keyboard scroll not collapsing toolbar (9df6c9d)
    • Make a new setter for scroll effect and make SCROLL_EFFECT_COMPRESS public (14415a1)
    • Added documentation for status bar foreground on scrolling app bars. (32f41ff)
  • Transitions / Motion
  • Other
    • Update compileSdkVersion and targetSdkVersion to 33 (T) (090b988)
    • Updated active text label to use a bold typeface. (b1bd580)
    • Fix Gradle warnings (ba70cd7)
    • Fixed SwipeDissmissBehavior not work when down touch event consumed. (624543f)
    • Update string translations (7c56473)
    • Change relative corner size behavior for "vertical" shapes (158d9f0)
    • Updated SDK target version to 33 (89a2b6f)
    • Fixed drag view alpha not changing when swipeDirection is END_TO_START (39b4c76)
    • Add @CanIgnoreReturnValue to some APIs that return this. (44cc9b7)
    • Add errorprone dependency to our gradle file (52ebb77)
    • Fix rotation angle calculation (41eb6d0)
    • Add defensive null check for typeface passed in to util (2b1af84)
    • Update AppCompat dependency to 1.5.0-rc01 (5c6f0c8)
    • Update lerp to accept input ranges of any size. (1a336b5)

Full list of changes

Full list of release notes

v1.7.0

Compare Source

What's new since 1.6.1

  • All new Switch component with a new look! Check out the updated documentation for details.
  • New Shape system that is now being used by all components. Learn about the shape system and see how its used in the Material3 theme and components by checking out the updated documentation
  • Checkbox has been redesigned and now supports indeterminate and error states! Check out the updated documentation.
  • BottomAppBar has been redesigned! Check out the updated documentation
  • New Icon Button support has been added including outlined, tonal, and filled variants!
New minimum requirements for your app's project:

Dependency Updates

Dependency Previous version New version
androidx.appcompat 1.5.0-beta01 1.5.0
androidx.core 1.5.0 1.6.0
androidx.test 1.1.0 1.4.0
Android Gradle Plugin (AGP) 4.0.0 7.2.0
Gradle 6.1.1 7.3.3
Java Version 1.7 (7) 1.8 (8)

Other highlights

  • MaterialButton
    • Added methods to not toggle checked state on buttons on click (a601107)
    • Updated M3 button style to add outlined icon button style (467a2c9)
    • Updated M3 button style to add filled tonal icon button style (14578ed)
    • Updated M3 button style to add filled icon button style (25606cf)
    • Fix icon textStart/End alignment with multiline text (b6b895a)
    • Fix icon position with multiline text (19d0500)
  • Documentation
    • Updated typography guidelines to M3 (104a342)
    • Added an example to demonstrate how to make bottom sheet dialog in edge-to-edge mode (57a3c98)
    • Updated Snackbar doc regarding CoordinatorLayout (ef2c2fa)
    • Add status bar / edge-to-edge section to Top App Bar doc (b8e1f97)
  • TopAppBar
    • Fixed bug in HeaderScrollingViewBehavior that causes child translation Y not to be reset to default if the behavior is changed from an overlapping to non-overlapping behavior in layoutParams.setBehavior (00c62d2)
    • Excluded views that are GONE from scroll range calculation (687e735)
    • Fixed collapsing title issue with different fonts (0c341c4)
    • Added setLiftOnScrollTargetView() method (d6c4354)
  • A11y
    • Made multi-selection Chips announce as Buttons (d4c2c95)
    • Made drawer announce its number of items (b1f7d5b)
  • TextInputLayout
    • Added a new custom length counter field and getters/setters to switch how text length is calculated for the counter. (4ded01e)
    • Fixed hint is not displayed when expanding space is limited (73cb1b6)
    • Fixed icon ripples shown behind the edit text (2c0e42f)
    • Updated shapes to use M3 attrs/styles. (0e4e44e)
  • Color
    • Fixed HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (824a12b)
  • Transitions / Motion
    • Updated container transform to use new motion system. (f2f454b)
    • Opened MotionUtils and update resolveThemeInterpolator to load both new and legacy easing attributes. (894edb6)
  • Chip
    • Migrated M3 chip styles to new shape system. (3fc53ac)
    • Fixed chip layout not updating when programmatically setting text size (788866e)
  • Snackbar
    • Added shape theming support and update M3 style to use new shapeAppearanceCornerExtraSmall (a717813)
    • Made dismiss direction the same as swipe direction (5b9f27a)
  • TimePicker
    • Properly align text vertically in MaterialTimePicker on S+. (703249d)
    • Migrated to new shape system (f302da7)
    • Fixed restoring hour/minute selection when switch to text mode (72abed0)
  • BottomSheet
    • Disable drag handle when restricting expansion (d4da5b1)
    • Handle half-expanded state when drag handle clicked (f0e6625)
    • Created a drag handle view which support accessibility control (ac7b761)
    • Exposed bottom sheet hide friction with get/set methods. (be1b38c)
    • Migrated to to new shape system. (921868d)
  • Divider
    • Fixed lastItemDecorated not being applied to horizontal orientation (92caa19)
    • Fixed extra space when lastItemDecorated = false (714521b)
  • Slider
    • Fixed label visibility when slider is hidden (ed11e69)
    • Updated tooltip shape style to use M3 shape system. (75af80c)
  • MaterialCardView
    • Migrated shape appearance to new shape system. (bfce84a)
  • CollapsingToolbarLayout
    • Added experimental API to allow generic customizations of the StaticLayout.Builder used for the title text (241aa5c)
    • Added ability to set ellipsis on title in CollapsingToolBar (7b043c3)
  • NavigationRail
    • Updated active indicator to use new shape system. (f700e6d)
  • ProgressIndicator
    • Fixed indeterminate progress indicator not working on API 22 (61cbb8c)
  • BottomNavigationView
    • Updated item ripple to be contained within active indicator shape when enabled. (11578b3)
    • Updated active indicator to use new motion system. (1995438)
    • Updated active indicator to new shape system. (9a16aa4)
  • ExposedDropdownMenu
    • Added support for default/ripple background colors for the selected item of the exposed dropdown menu when the default MaterialAutoCompleteArrayAdapter is being used. (6206ff5)
  • Switch
    • Update dev doc with the new switch design (f469720)
    • Added thumb icon tint to the new switch styles (2f33cfc)
    • Added associated text styles (06bba00)
    • Added material switch style to M3 themes (1e08c68)
    • Created an icon style for the new switch design (a3ca744)
    • Support tinting thumb & track according to thumb position (3b257c0)
  • MaterialDatePicker
    • Migrated to new shape system (91a2550)
    • Hide the keyboard when switching to calendar mode (5d6678c)
  • FloatingActionButton
    • Migrated "regular/default" sized styles to new shape system. (25482b1)
    • Migrated "Large" styles to use new shape system. (30bb583)
    • Migrated "Small" styles with new shape system. (acc7569)
    • Updated FAB to use new motion attributes. (934985e)
  • BottomAppBar
    • Changed default Material3 theme to follow use BottomAppBar M3 specs (53b3001)
    • Added an attribute to remove embedded FAB elevation (f2423de)
    • Added fab end margin attribute (88a73eb)
    • Added menu alignment attribute (397e48f)
    • Generated resources from tokens. (4188995)
    • Added new anchor mode attribute for FAB for an embedded option (cab45dd)
  • ExtendedFloatingActionButton
    • Updated show and hide motion specs to use motion tokens. (5c0003c)
  • Checkbox
    • Added indeterminate state support to the checkbox. (4da7ce1)
    • Updated checkbox to M3 look. (1666fbc)
    • Added support for error state. (8dd9c7e)
  • Tabs
    • Fixed indicator not updating when a tab to the start/left of the selected tab is removed. (2fc2e6a)
  • NavigationView
    • Update foreground boundaries of menu items when setting a new foreground (4dc3d93)
  • ShapeableImageView
    • Updated to not layer type when view is detached from the window (74b7706)

Full list of changes

Full list of release notes

v1.6.1

Compare Source

Dependency Updates

  • No dependency updates

Library Updates

  • TopAppBar
    • Add null check for logo ConstantState check (299c8e1)
    • Loosen check for scrollable child when adding a11y actions (dff14ca)
    • Fix scrolling for a11y (a5a738b)
  • Color
    • Fix Resources Loader bug for color harmonization (bef8ca1)
    • Provide better logging for ColorResourcesTableCreator (b33cf80)
  • Chip
    • Fix ChipGroup.getCheckedChipIds() returns wrong state (0356d7c)
  • TextInputLayout
    • Fix for TextInputLayout leak via AccessibilityManager. (#​2718) (948d5da)
  • Other
    • Update library version to 1.6.1 (248d4c8)

Full list of changes

v1.6.0

Compare Source

What's new since 1.5.0

Other highlights

  • Material 3
    • Hide shadows on all M3 Toolbar styles, not just Surface style (b49284e)
    • Migrate action bar popup themes to M3 (2ae3ca4)
    • Update M3 card elevation according to the spec (bb23e2d)
    • Add missing attributes to M3 button styles (3c9b452)
    • Update M3 navigation rail text appearances (6b57c52)
    • Fix M3 date picker styles (fba1a34)
    • Change checkedIconGravity values to enum (bc56d5b)
  • Badging
    • Prevent multiple badges being attached to a menu item at the same time (b3db1cc)
    • Refactored Badge state managing logic (bbbeacd)
    • Added support for different locale on badges (b8f2dd5)
  • BottomNavigationView
    • Added supported NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (1222268)
    • Removed font scaling from NavigationBarView item labels. (d66676f)
    • Set backgroundTint explicitly to @​null in M3 bottom navigation styles (adbcf8c)
  • BottomSheet
    • Fix bottom sheets in EXPANDED state when the expanded height is the same as the collapsed height (493243e)
    • Simplify state transition logic (04c483c)
    • Fix activity leak when setting states on destroying activities (43114c4)
    • Update edge-to-edge paddings when bottom sheet is laid out (19af0ac)
  • Chip
    • Refactored chip group selection logic to a standalone class (f3c6430)
    • Added missing attributes to M3 chip styles (cc18f3f)
    • Update M3 chip styles with spec (8ed0ac9)
  • CollapsingToolbarLayout
    • Fixed shadow issues when transition between expanded and collapsed states. (86e8b00)
    • Constrain adjusted font weight to acceptable values (5dce006)
  • Color
    • Fix resources being re-harmonized when wrapContextIfAvailable() is used. (b402cb3)
    • Added ColorGrid classes for color harmonization demo. (fcc1091)
    • Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (1dad5f6)
    • Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aa)
    • Added support for color resources harmonization in XML (869d943)
    • Refactor DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052)
    • Update DynamicColors to use peekDecorView() instead of getDecorView() when applying dynamic color theme overlay (56ed070)
    • Update DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5)
    • Update DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f)
    • Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4)
    • Add Resource Table format for XML color Harmonization. (822a5b2)
  • Dialog
    • Fixed crashes when colorControlHighlight is a CSL (1c5c054)
    • Added date and time picker themes to M3 dialog themes (8342f90)
    • Fixed dialog icon color tint (246b340)
    • Fixed dialog paddings (672e744)
    • Start-align message text with centered styles (9980596)
  • Divider
    • Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. (9416b2c)
  • MaterialDatePicker
    • Fixed edge-to-edge mode being applied multiple times (e1ee959)
    • Always go edge-to-edge in fullscreen mode (be6050a)
    • Start align edit icon in landscape (94cd532)
    • Fixed wrong month title with certain months (62e8993)
    • Added methods to use custom text for positive and negative button (b2fbace)
  • MaterialButton
    • Fix icon position not being updated when size is not changed (b0f3700)
    • Support icon gravity with text alignments other than centered (6c41f07)
  • MaterialCardView
    • Fixed crash on Pre-Q devices when checked icon is null (b4cab87)
    • Fixed checked icon gravity issues (283715d)
    • Added option to set the checkedIcon gravity (250d56d)
  • MaterialShapeDrawable
  • NavigationRail
    • Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (c66633b)
  • Slider
    • Added LABEL_VISIBLE to label behavior. (ca8594d)
    • Add support for custom thumb drawables (17da000)
  • Snackbar
    • Fixed margins are added multiple times when show() is called (2bfc7ba)
    • Fixed the issue that setting margins programmatically does not work (d5856fd)
    • Support setting max lines programmatically (4c7be52)
    • Enforce vertical layout when action text is too long (ff97a68)
    • Fixed NPE on Android 8 & 9 (35d9da8)
    • Fixed maxWidth is not applied on Snackbar (6a3ea94)
  • Tabs
    • Tabs with padding in fixed mode shouldn't scroll (9c2df28)
    • Added fade indicator animation mode. (a295de9)
    • Fix NPE caused by set a position less than 0 (823c34a)
  • TextInputLayout
    • Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (4d78879)
    • Extracted start components from TextInputLayout (9a46af2)
    • Split icon tinting logic to a helper class (9789f2e)
    • Provided set simple items API with default item layout for MaterialAutoCompleteTextView (85ed993)
    • Added support for minEms and maxEms (7d46b95)
    • Applied edit text's letter spacing to expanded hints (88eb089)
    • Text field should comply with system level bold (e8bde75)
    • Fixed crashes when text field size is too large (cf5df22)
    • Fixed getBoxCornerRadiusBottomEnd and getBoxCornerRadiusBottomStart returning wrong values. (9d2f864)
  • TopAppBar
    • Fixed app:expanded=false not working (2f3110f)
    • Fixed centering logic when title and subtitle are the same (f69e3a0)
    • Support scaleType and adjustViewBounds for logo (b01051b)
    • Make title and subtitle match ActionBar's (0f2b537)
    • Save and restore scroll state during scroll range recalculation (698cf9b)
    • Fixed top app bar snapping issue (acb7958)
    • Fixed expanded title margin not applied (89d80d0)
    • Correctly set letter spacing when expanding titles (44d4c3e)
    • Fixed text alignment of multi-line title in collapsing toolbar (e6db8a4)
    • Fixed snap issue with transparent status bar (b935604)

Dependency Updates

Dependency Previous version New version
androidx.fragment 1.0.0 1.2.5

Full list of changes

Full list of release notes

v1.5.0

Compare Source

What's new since 1.4.0

Other highlights

  • Badging
    • Added support for differing offsets for badges with/without text, and support for badge width and padding in styles. (bd4914d)
  • BottomAppBar
    • Added attr to set the color of navigation icon. (0ed7c76)
    • Added support for showing/hiding immediately (34740b6)
  • BottomNavigationView
    • Updated to explicitly read and set minimum height. (943c4f0)
  • BottomSheet
    • Added maxHeight to bottom sheet behavior (a38d2d8)
  • Chip
    • Fixed icon tint states are not updated after setting new icon (c08a07d)
  • CollapsingToolbarLayout
    • Added option to add extra height when title text spans across multiple lines (655dde0)
    • Added option to force always applying system window inset top regardless of layout_height (9ebf1a1)
    • Fixed multiline RTL collapsed title text position (af35dfb)
    • Added support for expanded and collapsed title text color attributes (5c14772)
    • Fixed RTL text only laying out as RTL when actual text is RTL (841f229)
    • Added title line spacing and hyphenation frequency setters (f0ce498)
    • Added support for multiline RTL when using fade title mode (f0ac362)
    • Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL (3ad232d)
  • MaterialButton
    • Updated Material Button style to set the preferred maximum width to 320dp. (c5c7a74)
    • Fixed MaterialButton lollipop shape issue (153fdee)
  • MaterialDatePicker
    • Avoided NPE caused by getSelection() before created (cb5d622)
    • Fixed opening at the selected date in the end month (eb7b114)
    • Fixed DatePicker crashes and and potential issue of range selection (281688a)
    • Fixed excessive whitespace (8fda897)
  • Snackbar
    • Handled anchor view properly so no memory leak will happen (58ceeab)
    • Fixed memory leak caused by not resetting anchor views (b0558dc)
    • Fixed maxWidth and maxInlineActionWidth are not applied (8729d8a, 15e2254)
  • TextInputLayout
    • Applied tint when setting start icons (4044183)
    • Made clear text icon focusable (8a4f42a)
    • Added a fade transition to placeholder TextView's appear and disappear. (c92e693)
    • Fixed cutout padding so text field outline doesn't overlap collapsed hint. (87b50c6)
  • TimePicker
    • Hid cancel button when it's not cancelable (35c2af3)
    • Updated accessibility event sending when updating input mode (00c0df9)
    • Added ability to customize positive and negative button (168c691)

Dependency Updates

Dependency Previous version New version
compileSdkVersion 30 31
targetSdkVersion 29 31
androidx.annotation 1.0.1 1.2.0
androidx.drawerlayout N/A 1.1.1

Full list of changes

Full list of release notes

v1.4.0

Compare Source

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


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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.google.android.material:material](https://github.com/material-components/material-components-android) | dependencies | minor | `1.3.0` -> `1.12.0` | --- ### Release Notes <details> <summary>material-components/material-components-android (com.google.android.material:material)</summary> ### [`v1.12.0`](https://github.com/material-components/material-components-android/releases/tag/1.12.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.11.0...1.12.0) ### 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](https://android-developers.googleblog.com/2023/10/androidx-minsdkversion-19.html)). #### Dependency Updates | Dependency | Previous version | New version | | - | - | - | | androidx.transition | 1.2.0 | 1.5.0 | #### Library Updates - `Gradle` - Update library minSdkVersion to 19. ([`1bbb43d`](https://github.com/material-components/material-components-android/commit/1bbb43d155df64d24463455fe6fb291b6940a7b2)) - Upgrade to //third_party/gradle to 8.4 ([`1756f23`](https://github.com/material-components/material-components-android/commit/1756f233ec3ac2085c07acf26a65b94e11038bd3)) - `Carousel` - Shifted keylines in contained strategies when there exists padding, and clipToPadding=false ([`1ef42e2`](https://github.com/material-components/material-components-android/commit/1ef42e2f23a5ce21d5963c62fe2a7332dadaf296)) - Fixed Javadoc formatting error in `FullScreenCarouselStrategy` class documentation. ([`a0a1c6e`](https://github.com/material-components/material-components-android/commit/a0a1c6e04499c324b61c0a5b7b628cd4f9fc3cbc)) - Added support for cross axis wrap_content RecyclerViews ([`e88a1b9`](https://github.com/material-components/material-components-android/commit/e88a1b98d240c451a8f1f3920958be28cd2ac563)) - Added documentation recommending snapping for multi-browse strategy ([`9e64a1f`](https://github.com/material-components/material-components-android/commit/9e64a1f5f682f435018b6ba4546085745f1b4a8f)) - Add attributes to change small item size ([`92a5444`](https://github.com/material-components/material-components-android/commit/92a5444de95501dbf5bc12eaaa7a969b44fe2151)) - `CollapsingToolbarLayout` - Fix text shadow fading when transitioning between expanded and collapsed states ([`7674e12`](https://github.com/material-components/material-components-android/commit/7674e12ea818793fe654f7691941f0bdc97c75f3)) - `Checkbox` - Updated string translations ([`198e08c`](https://github.com/material-components/material-components-android/commit/198e08cf5ebf77b140c194d6267270d6e52f99ed)) - `Dialog` - Unified scrim opacity in Material themes/theme overlays. ([`f3e4439`](https://github.com/material-components/material-components-android/commit/f3e4439ca69f993baa6626ad6a82937c2d283155)) - `Divider` - Fixed divider instantly appearing or disappearing on insertion or removal ([`ef4a0c5`](https://github.com/material-components/material-components-android/commit/ef4a0c5e36315904d7bce7f0f33d59b734f2657b)) - `i18n` - Update translated strings ([`a8307ef`](https://github.com/material-components/material-components-android/commit/a8307ef79280c1db52728127ae12809e58b82e8f)) - `MaterialDatePicker` - Fix date validation on Samsung devices ([`5aa6edf`](https://github.com/material-components/material-components-android/commit/5aa6edfaed08a6dff8439b51e91cd43e2ffb0386)) - `MaterialAutoCompleteTextView` - Enabled switch access in MaterialAutoCompleteTextView. ([`14a7b40`](https://github.com/material-components/material-components-android/commit/14a7b4036334e4d0573a46731ea18a388f87dc98)) - `NavigationDrawer` - Fixed wrong item selected after click ([`a3af20a`](https://github.com/material-components/material-components-android/commit/a3af20a86970a77c6225c5254c6540bb81bdc049)) - `NavigationRail` - Added label padding for when the label is long enough to reach the sides of the nav rail ([`2439dc0`](https://github.com/material-components/material-components-android/commit/2439dc0e8141a44418d32148c16e0cfc7a5beba7)) - Increased padding in between items as per design specs ([`16eca7e`](https://github.com/material-components/material-components-android/commit/16eca7eef3af53fe594d66440db796dab8762777)) - `Predictive Back` - Animated corners during predictive back when no drawerLayoutCornerSize is set ([`c8b9b1c`](https://github.com/material-components/material-components-android/commit/c8b9b1c0bb8e51501246c902073acc45aedeebd6)) - `ProgressIndicator` - Updated inactive track color from primary container to secondary container. ([`c8cb0c6`](https://github.com/material-components/material-components-android/commit/c8cb0c60379adfd76efbf54adeac316a9bfaec4e)) - Updated the setter of track thickness to not update track corner radius. ([`540f5ee`](https://github.com/material-components/material-components-android/commit/540f5ee9839ca3472e990f597d6f0a2b203b1b4f)) - Added the limit to not have stop indicator size bigger than track thickness. ([`689e04f`](https://github.com/material-components/material-components-android/commit/689e04f9edd1398f53bfc149aa78a2ab864953ba)) - Fixed the rounded ends overlapping bug with semi-transparent track/indicator color in Circular default style. ([`8167c11`](https://github.com/material-components/material-components-android/commit/8167c115e34e6b206a8446d98ce22c574d8a1584)) - Removed the call to draw a transparent full track. ([`3f80fdb`](https://github.com/material-components/material-components-android/commit/3f80fdb9e1f31df4c970025e34450726bbb822ec)) - Flipped the canvas for different circular directions. ([`bcc27a3`](https://github.com/material-components/material-components-android/commit/bcc27a36381d00212056b7f2b0befabb73a12b42)) - Split stop indicator drawing from indicator drawing. ([`76207cb`](https://github.com/material-components/material-components-android/commit/76207cb27004025adfa351e86ab5e75138c567c3)) - Added ActiveIndicator to improve readability. ([`6fd920a`](https://github.com/material-components/material-components-android/commit/6fd920a2c1fbaf2dec5627fe30dbe0912d458550)) - Fixed ESCAPE animation in linear and added ESCAPE animation in circular. ([`98284e7`](https://github.com/material-components/material-components-android/commit/98284e74ad2960bbca2763d0d415c01f6afd3c6e)) - Updated to use the same drawing delegate object between determinate drawable and indeterminate drawable to prevent inconsistent drawings when specs update. ([`52b4845`](https://github.com/material-components/material-components-android/commit/52b48450fc63a8aa48ba3d89ae888069e31b874a)) - Added missing graphics updates when spec changes. ([`93b3010`](https://github.com/material-components/material-components-android/commit/93b30109b0ccfd1c268a074f4673eb29536467ed)) - Update styles for new Accessibility updates ([`15b533f`](https://github.com/material-components/material-components-android/commit/15b533fffbeb1bfbd97b95fcd6b21cbad1ef2bb5)) - Added static drawable for Circular type when system animator is disabled. ([`22e054b`](https://github.com/material-components/material-components-android/commit/22e054ba680ecd1618b2ae4f2f48e4f7d13bbde8)) - `Search` - Excluded icons from search bar handwriting bounds ([`387f59b`](https://github.com/material-components/material-components-android/commit/387f59b7068866fea34a88bf065c6de96ea6868d)) - Made `searchbar_scrolling_view_behavior` string public ([`ce386e4`](https://github.com/material-components/material-components-android/commit/ce386e4c20343d0e5adb08bb001eb05d08c07ff5)) - Updated string translations ([`198e08c`](https://github.com/material-components/material-components-android/commit/198e08cf5ebf77b140c194d6267270d6e52f99ed)) - `SideSheet` - Moved the modal side sheet default width/height into style so they can be customized - Updated string translations ([`198e08c`](https://github.com/material-components/material-components-android/commit/198e08cf5ebf77b140c194d6267270d6e52f99ed)) - `Slider` - Made tick size defaults to the stop indicator size if set ([`92bc02c`](https://github.com/material-components/material-components-android/commit/92bc02c37c1c37c0cf1f84f50d54b49c6caee607)) - Fixed incorrect style of stop indicators near handles ([`d61cffd`](https://github.com/material-components/material-components-android/commit/d61cffd7eb0fe8fcd26a2c3927cb8a6ac2dafea1)) - Resolved issues that crash when assigning a large value to `valueTo` ([`4d1b9e5`](https://github.com/material-components/material-components-android/commit/4d1b9e58a5ffe11d8bcfc41486e0ea7e021ca436)) - Updated the track drawing for some corner cases. ([`10484df`](https://github.com/material-components/material-components-android/commit/10484df4074e0d3de907c2db1d4a241792edbc07)) - Fixed ripple not transparent on API 33 ([`cd4f618`](https://github.com/material-components/material-components-android/commit/cd4f618d383c23d09f99f86e56e5583f405fd861)) - Updated documentation ([`a641e18`](https://github.com/material-components/material-components-android/commit/a641e18b6ab3bfe7f972c6216ce820fd9bfdd662)) - Updated styles ([`c218b3c`](https://github.com/material-components/material-components-android/commit/c218b3c983000f42c7c94dd8a39499cd2762e850))([`3b278d7`](https://github.com/material-components/material-components-android/commit/3b278d709756e0a0d2ba856697ef4bcb76ae1544)) - Fixed slider label not moving while scrolling ([`144b515`](https://github.com/material-components/material-components-android/commit/144b5159ce414211cf37946ecb819cc976cedae1)) - `Tabs` - Fixed title being announced twice when there's a badge in TalkBack mode. ([`aaa7034`](https://github.com/material-components/material-components-android/commit/aaa7034cbf238c9415462c3a6dff888800aafefd)) - `Theming` - Add NoActionBar dynamic color themes ([`81d1b77`](https://github.com/material-components/material-components-android/commit/81d1b772b97ee8df94efbb2dfda8d9cd8fe49f29)) - Update Shape Theming bottom sheet text color ([`8ca016f`](https://github.com/material-components/material-components-android/commit/8ca016fb01f4bc73d506ae3286e3739ea046df0a)) - `Tokens` - Update tokens to v4.0.0. ([`88acfcd`](https://github.com/material-components/material-components-android/commit/88acfcdb63281714d64e863d2e7da3b53b8da9ce)) - Added formatting to break long lines and differentiate different comments. ([`857d6a2`](https://github.com/material-components/material-components-android/commit/857d6a2fd9505d25c8a4154e1a9892c47e7cbaae)) - `TopAppBar` - Use an accessibility delegate to add and perform actions ([`929c80f`](https://github.com/material-components/material-components-android/commit/929c80f7535bfcef1b306e051cf15e3722c687a4)) - Fixed compress effect clipping on API 21-24 ([`2ac8c1c`](https://github.com/material-components/material-components-android/commit/2ac8c1cbf6cb5aea7d60ef5655bed7d014e5f930)) - `TextInputLayout` - Limited the min height reset in text change listener only when line count changes. ([`9b9449c`](https://github.com/material-components/material-components-android/commit/9b9449cde18424348cba0d6acc315e07b43dd0f7)) - Fixed unnecessary min height when losing focus with multiple lines. ([`4a2654a`](https://github.com/material-components/material-components-android/commit/4a2654a3f389d44f7f7d76da30472c2bc0163ef6)) - `Transitions / Motion` - Updated androidx transition dep to version 1.5.0-beta01 ([`8c63848`](https://github.com/material-components/material-components-android/commit/8c638488293a22809d086d053ebb96ffe99cf703)) - Added predictive fade through fragment transition demo to Catalog. ([`6092a7d`](https://github.com/material-components/material-components-android/commit/6092a7dfe9a6d50a43b935f6d7e00d859e5d9934)) - Added titles to fade through demo fragments in Catalog. ([`104043c`](https://github.com/material-components/material-components-android/commit/104043caeef12bc390e7c06cfe32366017880b03)) - Added predictive transition support for fragments and views to the Material motion library, and enabled it in shared axis fragment transition demo. ([`8ccec33`](https://github.com/material-components/material-components-android/commit/8ccec334bda49b12c11d1384190457d27ca78961)) #### Full list of release notes - [1.12.0-alpha01](https://github.com/material-components/material-components-android/releases/tag/1.12.0-alpha01) - [1.12.0-alpha02](https://github.com/material-components/material-components-android/releases/tag/1.12.0-alpha02) - [1.12.0-alpha03](https://github.com/material-components/material-components-android/releases/tag/1.12.0-alpha03) - [1.12.0-beta01](https://github.com/material-components/material-components-android/releases/tag/1.12.0-beta01) - [1.12.0-rc01](https://github.com/material-components/material-components-android/releases/tag/1.12.0-rc01) #### Full list of changes ### [`v1.11.0`](https://github.com/material-components/material-components-android/releases/tag/1.11.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.10.0...1.11.0) ### Important Elevation Overlays within default component styles have been replaced by the new [Tonal Surface Color system](https://material.io/blog/tone-based-surface-color-m3). 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 https://github.com/material-components/material-components-android/commit/2114a11378fd801b32cd7431bb8a2c94de4f462c. ### What's new since 1.10.0 - New [Tonal Surface Color system](https://material.io/blog/tone-based-surface-color-m3)! Check out the [design guidance](https://material.io/blog/tone-based-surface-color-m3) and the [commit with documentation updates](https://github.com/material-components/material-components-android/commit/2114a11378fd801b32cd7431bb8a2c94de4f462c) for more details. - New Carousel variants! 1.11.0 introduces three new Carousel variants: center-aligned hero, uncontained, and fullscreen. Check out the [Carousel documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/Carousel.md) for more details. #### 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`](https://github.com/material-components/material-components-android/commit/78cc54b8c39da437732ff3d7c96de8f345e09348)) - 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`](https://github.com/material-components/material-components-android/commit/5e6ea582801ebfe2af8457261581a2ad43c8051a)) - `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`](https://github.com/material-components/material-components-android/commit/9f2e6864d2170d633709e7aa66b9e8e178352ef0)) - `BottomSheet` - Fix sheet corners animation ([`de27132`](https://github.com/material-components/material-components-android/commit/de271320e4ba046c73e35e18f687ee4637f3a6ac)) - `Carousel` - Ensure that extra small size is not larger than the large size ([`17baf71`](https://github.com/material-components/material-components-android/commit/17baf71972016cf4608d9c83b902bb2debee585b)) - Fixed crash when recyclerview has a size of zero. ([`26c3129`](https://github.com/material-components/material-components-android/commit/26c31292012868d7e9889f6ecee7559c61caa5b2)) - When navigating with keyboard, scroll focused item to nearest focal keyline, not the first focal keyline ([`fb9c1c6`](https://github.com/material-components/material-components-android/commit/fb9c1c6edfbdbe4791043a128c03a7fad5fd99f0)) - Force hero strategy to be start-aligned if there are not enough items to make it center-aligned ([`9a2347b`](https://github.com/material-components/material-components-android/commit/9a2347bda5312dd6dc3ab7818a6f71297dcf018b)) - Add logic for multibrowse strategy to change strategy when number of items is less than the number of keylines ([`cbb380d`](https://github.com/material-components/material-components-android/commit/cbb380df61f8eb66273043b437582c8058df7088)) - Fixed focus order when using keyboard navigation for hero carousels. ([`0356f24`](https://github.com/material-components/material-components-android/commit/0356f24a63b5c47ee23cbf5c0fca4d817e4d6acd)) - Cleaning up multi-browse strategy and removing compact arrangement ([`ed4647d`](https://github.com/material-components/material-components-android/commit/ed4647d5dfa42876063521546de2dbcf71914e01)) - Disallowing center aligned hero strategy with only 2 items since it does not make any sense. With only 2 items there can only be a start state and end state with the hero strategy. ([`d5d604d`](https://github.com/material-components/material-components-android/commit/d5d604d0ccfd73b4345dbea8fd3f833410fd2958)) - Fix issue with uncontained carousel not having a proper end scroll value due to assumption made in end scroll calculation ([`8cb444b`](https://github.com/material-components/material-components-android/commit/8cb444b26856fdb8b0c894eccbf90133efc2a2b6)) - Added tests for hero and multibrowse strategies when the carousel container is very small. ([`8312162`](https://github.com/material-components/material-components-android/commit/8312162f533d1c9fc9e9b15ceca58e3d1d4b61b5)) - Update scroll offset to scroll to the estimated position that it was at upon an initial load ([`4a6ae4d`](https://github.com/material-components/material-components-android/commit/4a6ae4d0b6969311b41b3878e3c0e7f7a0824a72)) - Fixed strategies crashing when there is not enough available space for a large and a small item ([`c418063`](https://github.com/material-components/material-components-android/commit/c418063205d74233a6235d7f7fd39be7deeb4bc7)) - Tweak uncontained strategy logic to adjust medium size items to improve motion ([`93660d4`](https://github.com/material-components/material-components-android/commit/93660d424139642320c85a098f0fb728126d4838)) - Fixed formatted for KeylineState and KeylineStateList ([`b80d9a5`](https://github.com/material-components/material-components-android/commit/b80d9a5ef4d93567554d5aac85c4070b4577d9fc)) - Fixed keyline shifting in RTL for uncontained carousels ([`7151714`](https://github.com/material-components/material-components-android/commit/71517147110227e8032f5b064d6b59c5e3f117de)) - Reduce the number of truncations in intermediate calculations ([`4ce7e4c`](https://github.com/material-components/material-components-android/commit/4ce7e4c8fa84ce05a6c34591855dd1207e44e42b)) - Update vertical scroll speed to be faster ([`c6ea2d4`](https://github.com/material-components/material-components-android/commit/c6ea2d404023ca1a92cb95eb3f177579df1c2d28)) - Fix some a11y bugs in Carousel ([`3d84841`](https://github.com/material-components/material-components-android/commit/3d84841caddd6e0127e67721844a3900225ab3a9)) - Center aligned uncontained carousel ([`b6f6eb5`](https://github.com/material-components/material-components-android/commit/b6f6eb555a0477322aa1ab4115f90d74d25a2266)) - Add left-aligned uncontained strategy ([`9d81cac`](https://github.com/material-components/material-components-android/commit/9d81cac125144576501ca19dafa835625e5cf5c7)) - Fix orientation not correct in item decoration calculations ([`966f7da`](https://github.com/material-components/material-components-android/commit/966f7daec9d02092aadc63324212be9ae6dc8f2a)) - Update mask size on size change if mask x percentage has been set ([`dc91b39`](https://github.com/material-components/material-components-android/commit/dc91b39d7c9af5a531a4f2f761297c6e44b8f08c)) - Fix issue with next carousel item not being masked properly ([`a16f180`](https://github.com/material-components/material-components-android/commit/a16f180ce7da65107305ba3a8c85db3e149767c1)) - Add a layout listener to recyclerview to refresh keyline state upon size change ([`ff52862`](https://github.com/material-components/material-components-android/commit/ff528621b3b550979c64f41aaec47438de30f061)) - Remove default list from Carousel catalog demos as it is not an example of a carousel ([`0171624`](https://github.com/material-components/material-components-android/commit/0171624c16c799ca4e2dbe01e647a706fe7b895e)) - Add carousel alignment attribute ([`547156e`](https://github.com/material-components/material-components-android/commit/547156e497b692eff7e85b2b8a44345a7c853689)) - Fix issue with not refreshing keylines ([`674ec44`](https://github.com/material-components/material-components-android/commit/674ec4442963f143334906b160ac5cb5a6fd9985)) - Fixed MaskableFrameLayout not updating mask after size change when setting the mask using setMaskXPercentage. ([`14023d2`](https://github.com/material-components/material-components-android/commit/14023d2c8589a515ae0d80f75f301077aa324f08)) - Adding docs for fullscreen carousel strategy ([`7c40359`](https://github.com/material-components/material-components-android/commit/7c40359d2b920d37effd58fdb0f4834fb4f4bf0f)) - Add fullscreen demo to catalog ([`ad6afbf`](https://github.com/material-components/material-components-android/commit/ad6afbf6d85d81a85fa855830c8dadba43095905)) - Add full screen strategy ([`bc54f2e`](https://github.com/material-components/material-components-android/commit/bc54f2e4b37307c53521f2789a1789aff7158173)) - `Catalog` - Use BottomSheetDialogFragment ([`2c53952`](https://github.com/material-components/material-components-android/commit/2c539524ec62713028e9521ca7b80c38c6aabf9c)) - Update navigation drawer state handling to be more accurate in demo ([`74ac87c`](https://github.com/material-components/material-components-android/commit/74ac87cb612dffc31767fc829fbc86d69945c2b6)) - Update navigation drawer state handling to be more accurate in custom drawer demo ([`1252d4f`](https://github.com/material-components/material-components-android/commit/1252d4f2639b2c98136b3de5a1e16a0facc56a78)) - When bottom sheet is collapsed, back callback is enabled ([`98439df`](https://github.com/material-components/material-components-android/commit/98439df4fb9c79c3f4bab3107b995fc612702ec1)) - Update side sheet state handling to be more accurate in demos ([`357cf2d`](https://github.com/material-components/material-components-android/commit/357cf2d9ca79227a35c48903bf73270bc92e105c)) - Update bottom sheet state handling to be more accurate in demos ([`f9102c7`](https://github.com/material-components/material-components-android/commit/f9102c745ad8b84dc16a4914665f2bb40aa4f5a2)) - Fixed demos in RTL ([`4e1b130`](https://github.com/material-components/material-components-android/commit/4e1b130cdfdff619d9629d39f90c81332efb4a4e)) - Make side sheet demo icon easier to see in dark mode ([`79a1953`](https://github.com/material-components/material-components-android/commit/79a19537d70aef6f451910b4432ca2099afe6f7b)) - Remove explicit Catalog dependency on androidx.activity now that library depends on it ([`3bb69f5`](https://github.com/material-components/material-components-android/commit/3bb69f501af9b98d2634583de98ae57ee9bf7d4e)) - buid.gradle update. ([`4847799`](https://github.com/material-components/material-components-android/commit/484779902e6cc01e305134a218cfae84370da4e6)) - Remove edge-to-edge to top app bar demos due to glitches in ActionBar demo ([`c40e468`](https://github.com/material-components/material-components-android/commit/c40e46882088487aadd8ba7626125caa44555e5e)) - Update slider position when carousel is scrolled in uncontained carousel demo ([`480bbc6`](https://github.com/material-components/material-components-android/commit/480bbc6a9b3c11c35b35c3e08ac9034f70619d6c)) - Applied edge-to-edge to top app bar demos ([`aa5b5bc`](https://github.com/material-components/material-components-android/commit/aa5b5bc157d935cf616ce8d172d157d008308038)) - Add uncontained carousel demo to catalog ([`ef9f918`](https://github.com/material-components/material-components-android/commit/ef9f91864f52f3a4335a82a073eea2cff7991c2d)) - Update slider position when carousel is scrolled in catalog demos ([`3652fde`](https://github.com/material-components/material-components-android/commit/3652fde271bb7ef9bf4ff6262cc8288bd3a26fe2)) - Applied edge-to-edge to bottom sheet in Carousel demo ([`6c2dd5d`](https://github.com/material-components/material-components-android/commit/6c2dd5d69ee6e050f714d82fbe5e5ce2e5ec4fae)) - Fix fullscreen vertical carousel to use vertical dividers ([`af7d09a`](https://github.com/material-components/material-components-android/commit/af7d09a43d29f4820f695119e6dad3df18e357cf)) - Add alignment option to hero carousel ([`7cfd30f`](https://github.com/material-components/material-components-android/commit/7cfd30f99b0ccb44540d124b9cca201d1b707e3b)) - `Chip` - Fix a typo in attributes table in documentation ([`7289aa6`](https://github.com/material-components/material-components-android/commit/7289aa681d573921570b81b4784246fdcb2071d1)) - `CollapsingToolbarLayout` - Fix issue where expanded text gets ellipsized too aggressively when using title fade mode and the toolbar has menu items ([`094e3e2`](https://github.com/material-components/material-components-android/commit/094e3e21eac24258604d367e04286f6ed247257d)) - Fixed title collapse fade mode color to use a Tonal Surface role instead of elevation overlay ([`5f2b4b2`](https://github.com/material-components/material-components-android/commit/5f2b4b2531b9074126e9659c23d24c6689838545)) - `Color` - Delete unused contrast resources ([`541df07`](https://github.com/material-components/material-components-android/commit/541df074a7c9a08dbde19e32778e7f05624355af)) - Updated focused and pressed state from 0.12 to 0.10 to increase the contrast ratio with tonal surface color. ([`bc824b4`](https://github.com/material-components/material-components-android/commit/bc824b4344c90e183eca8aca2d9019da6cb5ebee)) - Updated colors of container transform demo ([`d16f223`](https://github.com/material-components/material-components-android/commit/d16f22341e2a7fe42db4b234f91e76a652246a8a)) - Add ColorStateListDrawable support ([`0663019`](https://github.com/material-components/material-components-android/commit/0663019f45f921edec76ac3506d6708cf8306002)) - Removed layered drawable for the background after tonal surface color. ([`b5d6f1a`](https://github.com/material-components/material-components-android/commit/b5d6f1ae451c86696252114a2e9d4d5a4ba6c514)) - Upgraded to v0.170 for tonal surface colors. ([`8204856`](https://github.com/material-components/material-components-android/commit/8204856dd45da7f0e22c5d8131014e072340796e)) - Update constructor comments ([`ba465a2`](https://github.com/material-components/material-components-android/commit/ba465a2b17fdab3869d2930819da4054843e20d7)) - `Divider` - Add RTL support ([`6b897c6`](https://github.com/material-components/material-components-android/commit/6b897c6121cfa3822133c0984807755b45634efb)) - `Documentation` - Add note to clarify that automatic back handling in components is only for API 33+ ([`ad2b5f8`](https://github.com/material-components/material-components-android/commit/ad2b5f8f8bba4d7ad44c26ba26d1036e2fd81144)) - Update Predictive Back doc to recommend 1.10.0 stable version ([`b8b1a66`](https://github.com/material-components/material-components-android/commit/b8b1a662de6fe08a8336bdd54ae91255f1b9a3d8)) - Update doc to explain how to allow Top App Bar to grow taller in response to system font setting ([`a01a68d`](https://github.com/material-components/material-components-android/commit/a01a68de2d0ad68576f0e0484dd108fcb07226c7)) - Fix carousel docs ([`247240c`](https://github.com/material-components/material-components-android/commit/247240c3cdd8d6bd7a352556e5981f9dbeced8b2)) - Add uncontained variant docs ([`9ee4aba`](https://github.com/material-components/material-components-android/commit/9ee4aba0071995345d4b71be6bb91be776337afe)) - Minor code block improvements ([`d7e75bb`](https://github.com/material-components/material-components-android/commit/d7e75bba59c1406166d8acbf40cd803e6bc12ca1)) - Add guidance in fullscreen strategy docs about portrait orientation ([`caec8d2`](https://github.com/material-components/material-components-android/commit/caec8d284918daceb5a66d09a3ccbb50e9c5b2c1)) - Update chip documentation to use `setOnCheckedStateChangeListener` instead of `setOnCheckedChangeListener` which was deprecated in favour of the former ([`0582b1a`](https://github.com/material-components/material-components-android/commit/0582b1a094b48ece8cdc5e83a3a0378748846788)) - Update example in docs to use `colorContainer` and `colorOnContainer` instead of `colorPrimary` and `colorOnPrimary`. ([`44bfe2d`](https://github.com/material-components/material-components-android/commit/44bfe2ddb866338e793693fd2fda5b982e2a2e10)) - Updated Color dev doc with tonal surface colors. ([`9a4c21d`](https://github.com/material-components/material-components-android/commit/9a4c21d77a67f349606fd4194a7d09395ac1d467)) - Updated dev doc for tonal surface colors in affected components. ([`2114a11`](https://github.com/material-components/material-components-android/commit/2114a11378fd801b32cd7431bb8a2c94de4f462c)) - Crosslink github docs in javadocs ([`e3b255b`](https://github.com/material-components/material-components-android/commit/e3b255b3a01e06bf471f5394a7fcb3458a528b13)) - Cross-reference m.io and DAC in Github docs ([`1785bbf`](https://github.com/material-components/material-components-android/commit/1785bbfabeabe747924c13e49050d2e8da585fd4)) - `Material 3` - Introduce U color tokens ([`ad63d3f`](https://github.com/material-components/material-components-android/commit/ad63d3ff7e2e0fa6a6c23a9c4f50a2f40fc723f1)) - Add Meizu to dynamic colors allowlist ([`faf9a32`](https://github.com/material-components/material-components-android/commit/faf9a3277046eaa7af9dbd3a4c999d33db50088d)) - Remove resources loader support for tonal surface update ([`1a9d54f`](https://github.com/material-components/material-components-android/commit/1a9d54fa419aafd670711a8e83d23aa48c9894b4)) - Added default framework text colors ([`d3dda60`](https://github.com/material-components/material-components-android/commit/d3dda60296c7bd6c64d7cde7abcfc7fc28cc1f0e)) - Updated contrast documentation ([`1d3b8e1`](https://github.com/material-components/material-components-android/commit/1d3b8e136dd90a189e2e7f168244a47b7ef2b5aa)) - Add shift to dynamic colors allowlist ([`fde37cf`](https://github.com/material-components/material-components-android/commit/fde37cfba55340039c8137218da1b813831779eb)) - Expose attr contrastColorThemeOverlay ([`839b14c`](https://github.com/material-components/material-components-android/commit/839b14cf0f844366f1727d4f6a3908898ab0e379)) - Add dynamic contrast support ([`862a7e1`](https://github.com/material-components/material-components-android/commit/862a7e10c9436be00b9f5b42d6946dfcb8ec8d07)) - `MaterialCardView` - Support `android:duplicateParentState`. ([`31af945`](https://github.com/material-components/material-components-android/commit/31af945caa6216237441e5888c2714464075b2d7)) - `MaterialDatePicker` - Added builder methods for customizing the positive and negative button content descriptions ([`a00ee50`](https://github.com/material-components/material-components-android/commit/a00ee50907e7bcfc442df7c96fdcaa24f212ccec)) - Fix header layout overlapping ([`5f1cab6`](https://github.com/material-components/material-components-android/commit/5f1cab65b11b063e645cc166f12fcca9e1de842a)) - Fixing the "Column of Days:" announcement causing Talkback verbosity ([`a782e7a`](https://github.com/material-components/material-components-android/commit/a782e7a1d888fe4234a58869314c31ba01d5084a)) - `NavigationView` - Set material drawable background if the background has been set as a ColorStateList ([`eba40e9`](https://github.com/material-components/material-components-android/commit/eba40e93452b21bebaf9ed3c30e031f0d321f903)) - `Predictive Back` - Update to use decelerate interpolator ([`5559cbc`](https://github.com/material-components/material-components-android/commit/5559cbc7c7eef1bad325b41bcf1635bac9af1e89)) - Fix issue where predictive back is not enabled in NavigationView after rotating the screen or restarting the activity when the NavigationView is already opened as a drawer ([`bccbd4f`](https://github.com/material-components/material-components-android/commit/bccbd4f778f59a263ae627be771d5d4409ce4dd2)) - Fix issue where modal accessibility is not reset after collapsing search view predictively, which caused the screen to appear frozen when using TalkBack ([`8d83a31`](https://github.com/material-components/material-components-android/commit/8d83a31b6be228f43b87254dda544d5bd2b807f5)) - Fixed IllegalStateException crashes caused by MaterialBackAnimationHelper. ([`02dc779`](https://github.com/material-components/material-components-android/commit/02dc77923bb0ad313d8d5a840473db6f17b1051a)) - Fixed `UnsupportedOperationException` `AnimatorSet` crash in `SearchView`. ([`f101532`](https://github.com/material-components/material-components-android/commit/f10153257f6f3fdc112be6a2a4c7eb2e02bf5ed6)) - `ProgressIndicator` - Allow extending LinearProgressIndicator and CircularProgressIndicator (Closes [#&#8203;2361](https://github.com/material-components/material-components-android/issues/2361)) ([`3b0fd58`](https://github.com/material-components/material-components-android/commit/3b0fd5868e5a2cd7ac780f2543e94aabd0422d0f)) - `Search` - Set the `editable` property within `SearchBar`'s `AccessibilityNodeInfo` representation. ([`be1395b`](https://github.com/material-components/material-components-android/commit/be1395bceff22a10ae0e8164cb43fd4908961717)) - Fix issue where predictive back is not enabled in SearchView after rotating the screen or restarting the activity when the SearchView is already expanded ([`a51561d`](https://github.com/material-components/material-components-android/commit/a51561d8b834a3612b97fa811b49e9680c9bbdc3)) - Enforced outline variant to use colorSurface as container color. ([`720998d`](https://github.com/material-components/material-components-android/commit/720998dcbddc93bdcb26643b64fafd29fcfccc90)) - Added support to set a default content description if a content description is not set explicitly. ([`c15a323`](https://github.com/material-components/material-components-android/commit/c15a3231402ab827405398992c3d7eac22dd9cd9)) - `SideSheet` - Add left sheet/sheet edge documentation. ([`d440e3c`](https://github.com/material-components/material-components-android/commit/d440e3c4f89baaa4edfdb89213125d7fd13c7522)) - Fix mixed language snippet ([`f91f17b`](https://github.com/material-components/material-components-android/commit/f91f17bb4f1d20c7e6c074cba08d51bc6417fa69)) - `Switch` - Fix drawable scaling for API < 23 ([`a10c508`](https://github.com/material-components/material-components-android/commit/a10c5083a9e8ffb58903d9631235fe5f71766010)) - Amendments to thumb icon size support ([`db9a641`](https://github.com/material-components/material-components-android/commit/db9a6412ec913e84ebe1f090d54e2d838efe40bc)) - `Tabs` - Integrated divider token output into the background drawables. ([`6b627c2`](https://github.com/material-components/material-components-android/commit/6b627c20e29c811fbd68fdc1ad984b48548b4f9b)) - `TextInputLayout` - Fix editText paddings on pre-Lollipop ([`2590c42`](https://github.com/material-components/material-components-android/commit/2590c42764fc2178114bcd53c339b5368ba2c5d3)) - Fix onMeasure() infinite loop bug caused by posting requestLayout() before endLayout is fully rendered. ([`93360a5`](https://github.com/material-components/material-components-android/commit/93360a5a5d2549c14599507db94423906d5a9757)) - Mutate cursor drawable before tinting it. ([`9a4888f`](https://github.com/material-components/material-components-android/commit/9a4888f958cfb6c220a01a9615cf62f8e36500e0)) - `Theming` - Fix swapped error colors for dynamic contrast theme in light mode ([`f2ccc11`](https://github.com/material-components/material-components-android/commit/f2ccc116ea2ada7bcb48ce7388a6c927497b25f3)) - `TimePicker` - Fix layout getting cut on narrow screens ([`d10201d`](https://github.com/material-components/material-components-android/commit/d10201dc88f919421b3bc4d8d7aa432de685c892)) - `Tokens` - Upgraded to v0.175. ([`bfee8a7`](https://github.com/material-components/material-components-android/commit/bfee8a74d7c2e77e1be4195bd2ca81edfcc3da67)) - `TopAppBar` - Simplified logics to animate the container color between lifted state and the default state. ([`1e9f5f0`](https://github.com/material-components/material-components-android/commit/1e9f5f07305bd3bcf59e874eecf0bc9e062a0501)) - Fix dynamic status bar foreground lift on scroll color when using Tonal Surface Color on API Level 33 ([`c4ae01a`](https://github.com/material-components/material-components-android/commit/c4ae01a5a5739d5b52eaec4492dbc6cc304a9457)) - Fix dynamic status bar foreground lift on scroll color when using Tonal Surface Color ([`569ddac`](https://github.com/material-components/material-components-android/commit/569ddac527f6c37b718a2e0dcfb4148fceac4713)) - Fixed that liftOnScrollColor doesn't respect to setLifted when liftOnScroll is set to false. ([`43242f2`](https://github.com/material-components/material-components-android/commit/43242f20de8df34f7d693eadadf9543592ecaf60)) - Added liftOnScroll and lifted toggles to the catalog. ([`4e995d1`](https://github.com/material-components/material-components-android/commit/4e995d1f8132f34928152f18493c918bb40987d6)) - Added getMaterialShapeBackground() to return a MaterialShapeDrawable object of the background (non-lifted layer). ([`c7a0adf`](https://github.com/material-components/material-components-android/commit/c7a0adf8dd416c98c25c50740e286bd666826764)) - Updated the handling of liftOnScrollColor not override android:background. ([`2b476b3`](https://github.com/material-components/material-components-android/commit/2b476b3a96ef0ab52206ca0cae479a501a0130ff)) - `Other` - Cleanup date formats that specify the same field multiple times. ([`f1da3c3`](https://github.com/material-components/material-components-android/commit/f1da3c384f780ffa2597bbc20b3dc3cb0fa8e9bc)) - Update androidx.activity dependency to version 1.8.0 ([`733fe20`](https://github.com/material-components/material-components-android/commit/733fe20d88a093cb52631294951eedf906a967d0)) - Update androidx.activity dependency to version 1.8.0-rc01 ([`2cfb127`](https://github.com/material-components/material-components-android/commit/2cfb12709599c274763aafee97dc2de952b49153)) - Remove android:targetSdk where it's not needed ([`09382b8`](https://github.com/material-components/material-components-android/commit/09382b896c4d3fcf75116d60f26a5b40be88bd7d)) - Update androidx.activity dependency to version 1.8.0-beta01 ([`f93c65c`](https://github.com/material-components/material-components-android/commit/f93c65c347bd62497f79ff4593f4009a18098890)) - Added a comment before overridden resources. ([`7d8681f`](https://github.com/material-components/material-components-android/commit/7d8681f71ded9fa6e31262c847e4fef9c7a88c71)) - Delete BackLayer component ([`4c89301`](https://github.com/material-components/material-components-android/commit/4c8930133040f4479524c33aab639fd4a463db3c)) - Stop running Robolectric tests on APIs < 19. ([`0a6a8a9`](https://github.com/material-components/material-components-android/commit/0a6a8a971dbeffa47359fa83bf8719ccaa6a21e7)) - Fixed corrupt gradle jar file. ([`ed9b541`](https://github.com/material-components/material-components-android/commit/ed9b54129d926fb9d6e91ac7330d8c681ce8b342)) - Upgrade Gradle to 7.6.2. ([`04c0582`](https://github.com/material-components/material-components-android/commit/04c05826e4629b8b4bcd80c0d24c81b356e5ecd5)) - Consistently use window coordinates to calculate Snackbar offsets. In one place screen and window coordinates are mixed, which leads to bad behavior in split screen apps. ([`57b2663`](https://github.com/material-components/material-components-android/commit/57b26639d8b0c376ba70f4d653ce07347880839d)) - 1.11.0-alpha01 Release. ([`76a681a`](https://github.com/material-components/material-components-android/commit/76a681abf6500724153d3ba86f40ac9d8ce24438)) #### Full list of release notes - [1.11.0-alpha01](https://github.com/material-components/material-components-android/releases/tag/1.11.0-alpha01) - [1.11.0-alpha02](https://github.com/material-components/material-components-android/releases/tag/1.11.0-alpha02) - [1.11.0-alpha03](https://github.com/material-components/material-components-android/releases/tag/1.11.0-alpha03) - [1.11.0-alpha04](https://github.com/material-components/material-components-android/releases/tag/1.11.0-alpha04) - [1.11.0-alpha05](https://github.com/material-components/material-components-android/releases/tag/1.11.0-alpha05) - [1.11.0-alpha06](https://github.com/material-components/material-components-android/releases/tag/1.11.0-alpha06) - [1.11.0-beta01](https://github.com/material-components/material-components-android/releases/tag/1.11.0-beta01) - [1.11.0-rc01](https://github.com/material-components/material-components-android/releases/tag/1.11.0-rc01) #### Full list of changes ### [`v1.10.0`](https://github.com/material-components/material-components-android/releases/tag/1.10.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.9.0...1.10.0) ### What's new since 1.9.0 - Added Predictive back support for search, bottom sheet, side sheet and navigation drawer. Check out the [developer documentation](https://github.com/material-components/material-components-android/blob/master/docs/foundations/PredictiveBack.md) for more details. - Add `Start-aligned` variant to Carousel component. Check out the [developer documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/Carousel.md) for more details. - Badge component updates. Check out the [developer documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/BadgeDrawable.md) for more details. - Left & RTL side sheets. Check out the [developer documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/SideSheet.md) for more details. #### Important ##### New minimum requirements for your app's project: - Update `compileSdkVersion` to `34` ##### Known Issues - Version 1.10.0 the Material library depends on AppCompat version 1.6.1, which can trigger an issue with Activity Transitions on Android 14 (see https://github.com/material-components/material-components-android/issues/3644 and http://issuetracker.google.com/issues/300310597 for more details). #### Dependency Updates | Dependency | Previous version | New version | | - | - | - | | Gradle | 7.2.0 | 7.4.2 | | androidx.activity | -- | 1.8.0 | | androidx.appcompat | 1.5.0 | 1.6.1 | | androidx.resourceinspection:resourceinspection-annotation | -- | 1.0.1 | | androidx.resourceinspection:resourceinspection-processor | -- | 1.0.1 | #### Library Updates - `A11y` - Do not count headers for accessibility ([`917da52`](https://github.com/material-components/material-components-android/commit/917da52393a37695b8c611e130552babf7aea8bc)) - `Badging` - Deprecate bottom badge gravities and update docs and usages in catalog ([`27abfdb`](https://github.com/material-components/material-components-android/commit/27abfdba4fd7622a1ca5aa95d20a0ba3d442b791)) - Add new attribute for vertical offset when font is large ([`2362f4b`](https://github.com/material-components/material-components-android/commit/2362f4b64be9d6337e7a214f8338925ddcc32ab0)) - Fix table formatting and remove unnecessary badge invalidation ([`44a97f4`](https://github.com/material-components/material-components-android/commit/44a97f4a83a68275311ad3ac544b3223c907564a)) - Fix crash caused by non-ascii strings ([`532b65d`](https://github.com/material-components/material-components-android/commit/532b65d008be12c6889aac1bc2de411af5356891)) - Badge cleanup/fixes: ([`4d50aa4`](https://github.com/material-components/material-components-android/commit/4d50aa41e714b4b0e0ec4a40672431d4d4f7d6d9)) - Add attribute to automatically adjust badge so that it is within the anchor view's grandparent view's bounds ([`b706506`](https://github.com/material-components/material-components-android/commit/b706506c3d7e12df64375e116d587c2e9b96059b)) - Add getters/setters for vertical and horizontal badge padding ([`a0d0b53`](https://github.com/material-components/material-components-android/commit/a0d0b53472751ffafeacd829d5433afde7546db9)) - Allow text strings in badges ([`c1ef52b`](https://github.com/material-components/material-components-android/commit/c1ef52b8eaaad4bffe83ca0a7917406835ee5c7a)) - Center badge content more correctly ([`fc0de1b`](https://github.com/material-components/material-components-android/commit/fc0de1ba245186d9b74550f0ece2930aaf0df116)) - Add padding in between top and bottom edges of badge and text ([`8499b83`](https://github.com/material-components/material-components-android/commit/8499b83ba1fc6e211c8a7228947b03c1e3c30531)) - Integrating tokens ([`68c844c`](https://github.com/material-components/material-components-android/commit/68c844c91d9e54fca475bd503f01474f29cff559)) - Add shape appearance for badges ([`2ddcfe4`](https://github.com/material-components/material-components-android/commit/2ddcfe46b7603c89b6715ac4406aa3eb6c275f60)) - Update badge images ([`c1eba1b`](https://github.com/material-components/material-components-android/commit/c1eba1b26809fdc529fc599fc48dea165a202e22)) - `BottomAppBar` - Fix bug with transparent top app bar when in bottom app bar layout ([`c22eb0d`](https://github.com/material-components/material-components-android/commit/c22eb0d31bbd1e87b244100b8ae7d5d7995394a6)) - Fix issue with pre-21 FAB elevation/shadow sometimes appearing ([`2ea3df9`](https://github.com/material-components/material-components-android/commit/2ea3df991f14488ef21593f5c72792dd470923d2)) - `BottomNavigationView` - Integrate tokens and add shape appearance support ([`7bd9724`](https://github.com/material-components/material-components-android/commit/7bd97240786ad84eae6bdaac6b4fde767910022b)) - `BottomSheet` - Fix sheet corners animation ([`a5ff190`](https://github.com/material-components/material-components-android/commit/a5ff190f529d2ce1e15906ca95ca5bc91b64a913)) - Update bottom sheet documentation ([`af1fa70`](https://github.com/material-components/material-components-android/commit/af1fa709792e1225df3fc582321c6a8287a221bf)) - Integrate tokens ([`86cd9d7`](https://github.com/material-components/material-components-android/commit/86cd9d70bf770fe45b5cf1e6755b0e12938430db)) - Add method to allow programmatically changing shouldRemoveExpandedCorners behavior ([`c8a0d47`](https://github.com/material-components/material-components-android/commit/c8a0d478257069157d6c4c321735019f7daf4d25)) - Update expanded corner removal to check if sheet view is actually at top of screen ([`1c01e82`](https://github.com/material-components/material-components-android/commit/1c01e8229700de423dcfbf63b0122cd96056bce7)) - Fix for detached from bottom sheet behavior. ([`9c4b73d`](https://github.com/material-components/material-components-android/commit/9c4b73da3a040003bae3167e9ae91f4d0cc0a9f7)) - Ignore ACTION_MOVE events in BottomSheetBehavior that weren't preceded by an ACTION_DOWN event. ([`d8c01c1`](https://github.com/material-components/material-components-android/commit/d8c01c185994574dd67af4d78c1fd8fe425425ae)) - `Carousel` - Add orientation helper to clean up CarouselLayoutManager orientation differences ([`7822ef8`](https://github.com/material-components/material-components-android/commit/7822ef827b3d48c4f73a4bcdb35fb2b2a23b697d)) - Update docs to include hero variant ([`ec509cc`](https://github.com/material-components/material-components-android/commit/ec509cc7341c5d660642c0b8e00826678dc63c34)) - Add vertical scrolling capability ([`6b48d3b`](https://github.com/material-components/material-components-android/commit/6b48d3bb80576d649f7218e1bf29d0ecfa14d8f4)) - Deprecate set/get mask x percentages in Maskable as they are no longer used anywhere, and is a misleading method due to these methods not actually having any effect on the Carousel as CarouselLayoutManager overrides the values. ([`29d8742`](https://github.com/material-components/material-components-android/commit/29d8742917ee7d8e977446665703859878eeff23)) - Ensure that masks are pushed out beyond the parent bounds if they are *on* the parent bounds ([`9486de5`](https://github.com/material-components/material-components-android/commit/9486de5f2fba5c15cb85ac7ac27f30a724162f12)) - Carousel updates and fixes ([`16c1575`](https://github.com/material-components/material-components-android/commit/16c15757585eb6b7146d46d7603624a9546cc6a7)) - Fix contained mask logic to only update masks when it is still in view, and remove restrictions on mask size with childWidth/2F. The only restriction is that the right of the mask must be greater than the left of the mask. ([`7d6a977`](https://github.com/material-components/material-components-android/commit/7d6a977d50b798e991d31d5223a4f3efcdfd6a24)) - Fixed multi browse strategy clipping extra small items before being fully collapsed ([`85b6d50`](https://github.com/material-components/material-components-android/commit/85b6d5018d4aaab074490c6794b5a3a77eef072d)) - Add Carousel Hero strategy demo ([`b57dae5`](https://github.com/material-components/material-components-android/commit/b57dae57aa0ef31577cbd60bb08f030ae5b1618f)) - Add Hero carousel strategy ([`340cd44`](https://github.com/material-components/material-components-android/commit/340cd44b073bcf5b9f4d8e0f15754171549838a6)) - Add option for snapping with multi-browse carousel demo ([`26c3779`](https://github.com/material-components/material-components-android/commit/26c377962fde6221dff79e1f723f8541aa7c9661)) - Add CarouselSnapHelper ([`8938da8`](https://github.com/material-components/material-components-android/commit/8938da8c2828e36fe68b86d295b3f879e84a1d24)) - Refactor to reuse logic between different Carousel strategy classes ([`1c27404`](https://github.com/material-components/material-components-android/commit/1c27404fc5d562fed5dedf2d2165ec95b623120c)) - Fix item masking for API 21 ([`7bc26e5`](https://github.com/material-components/material-components-android/commit/7bc26e5070b6cb90d8598cffe35f74b6f7c1ea06)) - Updated MultiBrowseCarouselStrategy to find best arrangments using a cost function ([`0184b5b`](https://github.com/material-components/material-components-android/commit/0184b5baa959dd3fa31c75f0e81d60f3e92d69be)) - Fixed mutli-browse catalog demo crashing due to invalid position slider values. ([`5bc7a50`](https://github.com/material-components/material-components-android/commit/5bc7a50b35f29e5d60b08a7fa4edd6987933901e)) - Add support for transitions by forcing canvas clipping when detaching from the window. ([`93ceb7e`](https://github.com/material-components/material-components-android/commit/93ceb7edeecce7db4288b1e4b36b7ea98b20a3b0)) - Updated MaskableFrameLayout to use Outline path clipping on 33+ only. ([`43c5077`](https://github.com/material-components/material-components-android/commit/43c507775f9a536d4706c832fd15cbfea6d785c0)) - Updated setForceCompatClipping visibility for testing. ([`3856af1`](https://github.com/material-components/material-components-android/commit/3856af1b65e4e1a78493647627d47ce02efad621)) - Updated MaskableFrameLayout to clip more performantly. ([`733c9e0`](https://github.com/material-components/material-components-android/commit/733c9e08c28e8c68f8ad208a7be8ffaf784a9509)) - Changed Maskable.add/removeOnMaskChangedListener to Maskable.setOnMaskChangedListener. ([`359580b`](https://github.com/material-components/material-components-android/commit/359580b6c1160301967ebdededb1011c1133b42c)) - Fixed child index bug causing items to be ordered incorrectly. ([`9d0732b`](https://github.com/material-components/material-components-android/commit/9d0732be9e16c328ac960f5a8d64417b4d6a1c68)) - `Catalog` - Update side sheet state handling to be more accurate in demos ([`4442635`](https://github.com/material-components/material-components-android/commit/4442635aec49e9465a109e1d6ed669768828fc95)) - Update bottom sheet state handling to be more accurate in demos ([`386d47b`](https://github.com/material-components/material-components-android/commit/386d47b51b31d8068f1fc6617414ca1a92c3353b)) - Update to compileSdkVersion 34 and update catalog to use androidx.activity:activity:1.8.0-alpha05 ([`2336c23`](https://github.com/material-components/material-components-android/commit/2336c23fab664ce7dc94f97b23e7b38942d63b4a)) - Fixed catalog errors for some demos. ([`4c3e1d5`](https://github.com/material-components/material-components-android/commit/4c3e1d513be6cd8399515b2541eea74ac1c9a040)) - Fixes context menu are not themed on S ([`33e4f84`](https://github.com/material-components/material-components-android/commit/33e4f841b213fb306091971dd1d1025c8da897a7)) - `Checkbox` - Fixed checkmark icon not updating color on error correctly in pre 21. ([`62aa802`](https://github.com/material-components/material-components-android/commit/62aa802f6c5f45ee357537079b07442dabc31236)) - `Chip` - Fix hand pointer icon not showing up on whole Chip when using mouse input ([`2702b1a`](https://github.com/material-components/material-components-android/commit/2702b1a8d5040f6ab4d69b66f38952c1f78a6225)) - Add theme overlays supported on API < 23 ([`fd0c815`](https://github.com/material-components/material-components-android/commit/fd0c81531c74a48255f82350f6c1330521566e55)) - `Color` - Temporarily remove v34 Android U color references which could be causing resource NotFoundExceptions ([`2a1a67f`](https://github.com/material-components/material-components-android/commit/2a1a67f076c5dad0d45b9b65a65181dcea10cdf4)) - Fixed lint error. ([`824d75e`](https://github.com/material-components/material-components-android/commit/824d75e7731fba70b66a8833e0e3f69101787dd9)) - Integrate container color token ([`206928b`](https://github.com/material-components/material-components-android/commit/206928b8f91e802213ed82c2aa52211c008b60dc)) - Made SearchBar and SearchView's container colors configurable in XML style. ([`cf006c5`](https://github.com/material-components/material-components-android/commit/cf006c5e10e8cfa0f33f8d4ffa654c5136d14bdc)) - Added U color resources for contrast mode support. ([`93f386c`](https://github.com/material-components/material-components-android/commit/93f386c9f61eec448ff6ddb5af3a22c06ffa30b1)) - `Dialog` - Update DialogWhenLarge theme to have correct parent theme ([`dae89b7`](https://github.com/material-components/material-components-android/commit/dae89b7ce2ddf6e76a71ce0385071cc0645ccb0a)) - Made dialog background color configurable in XML styles. ([`77cdc1e`](https://github.com/material-components/material-components-android/commit/77cdc1e3ace0ddc22e8cb2b4cc40c176835f6149)) - Made dialog background color configurable in XML styles. ([`303fabd`](https://github.com/material-components/material-components-android/commit/303fabd331e014ba98676d3bd0c4a7d544decb99)) - `Documentation` - Fix SideSheetDialog class definition and source links ([`e4d0fd3`](https://github.com/material-components/material-components-android/commit/e4d0fd3d6c4e65d56bd5699b3f9537a87d98a8cc)) - Revise version guidance for Search usage. ([`0bcb570`](https://github.com/material-components/material-components-android/commit/0bcb57074d00a20a2159d0ef5b209a7ca9a06fd5)) - Formatted tables in the eng doc. ([`ef57f69`](https://github.com/material-components/material-components-android/commit/ef57f699cb2fc509ef9b4762f901ec914834b165)) - Fix doc formatting for github ([`e75654d`](https://github.com/material-components/material-components-android/commit/e75654d4c205dc0a311be23725a71228e7ea4762)) - `ExposedDropdownMenu` - Added attribute to set dropdown menu's container. ([`1562d0b`](https://github.com/material-components/material-components-android/commit/1562d0b64f7fe1b25390110eedc9650be2c626b8)) - `FloatingActionButton` - Correctly handle min touch target size ([`d6f36e8`](https://github.com/material-components/material-components-android/commit/d6f36e89e2f815a4d72884618b62e946aaf7b6d9)) - `Material 3` - Remove resources loader support for tonal surface update ([`dfd9bfb`](https://github.com/material-components/material-components-android/commit/dfd9bfb12f7c2e003c9bb9d2b4d7a8548ed5818e)) - Fix harmonization demo bug ([`836c51e`](https://github.com/material-components/material-components-android/commit/836c51e44a720a736aeb47a2b16a7094f7f0f712)) - Updated content-based dynamic colors ([`e9b485d`](https://github.com/material-components/material-components-android/commit/e9b485d6194a45cef54dfdbd2c3c3baf534e338b)) - Update Color doc ([`d7f9a06`](https://github.com/material-components/material-components-android/commit/d7f9a067e34967937bfab4ce7a9e004ff8fcf658)) - Updated content-based dynamic colors ([`a511501`](https://github.com/material-components/material-components-android/commit/a5115012868e87493da5c8eeb43d140179788a04)) - Adds Search class definition link to Search documentation. ([`e157608`](https://github.com/material-components/material-components-android/commit/e157608050c9c748d121801b1f7ce4a24c764a18)) - Added ColorContrast API ([`a6cf098`](https://github.com/material-components/material-components-android/commit/a6cf0985c4bd650d09f0eb84f85d22404b750722)) - Updated content-based dynamic with contrast levels ([`b335436`](https://github.com/material-components/material-components-android/commit/b335436cf2f70bf0f9222f1960ad0e442d46ebd7)) - Updated SearchDemoUtils to mark the class and methods as public so that it can be resued. ([`3b43d41`](https://github.com/material-components/material-components-android/commit/3b43d41f16633016c5c581ded82a32cd89ed286e)) - Code style update ([`1fd695c`](https://github.com/material-components/material-components-android/commit/1fd695c72af14529e10b9baeb84699d03be3eb2d)) - Fix Search view prefix style. ([`e56e9b1`](https://github.com/material-components/material-components-android/commit/e56e9b1dde6b6cb8af7039033b1357b0947efb70)) - Updated search styles to set the default style attributes in the related theme overlay. ([`9ffaa8d`](https://github.com/material-components/material-components-android/commit/9ffaa8d1bf45c1753d722e94c80e5573a3aac906)) - Improve performance by preventing item change notifications during inflation. ([`203d5ec`](https://github.com/material-components/material-components-android/commit/203d5ec3a36f133163270271fd8f3f10de404f99)) - Fixed a crash in search components when view attributes inspection dev setting is turned on. ([`1159923`](https://github.com/material-components/material-components-android/commit/11599231a9a2753ba4489518e3ccc443251eec52)) - Color Component demo update ([`2aa1cf3`](https://github.com/material-components/material-components-android/commit/2aa1cf31985405bc74a9a659c26900a709923c06)) - Color Component demo update ([`c786582`](https://github.com/material-components/material-components-android/commit/c786582d6a78e44090d6769cda657dee10c19765)) - `MaterialButton` - Set up Android Studio resource inspection annotation and annotation processor, and add [@&#8203;Attribute](https://github.com/Attribute) annotation to MaterialButton#getIconPadding ([`2b5c75f`](https://github.com/material-components/material-components-android/commit/2b5c75f966a26d06b6d700bdda3880d021c5ffc7)) - `MaterialDatePicker` - Allow client app to access user selected inputMode ([`4d80434`](https://github.com/material-components/material-components-android/commit/4d8043453e631c36b38ea19c3241b14b7f41b558)) - Fix crash when clicking OK/Cancel on text input mode due to hiding keyboard ([`7ccf670`](https://github.com/material-components/material-components-android/commit/7ccf6708b0299317c3757c4d86a47827839c9ef7)) - Add getTextColor to DayViewDecorator ([`29b59c2`](https://github.com/material-components/material-components-android/commit/29b59c21f585d6cc96ad1b7e43ed7831995b6cc6)) - a11y/i18n alignment ([`f4d0f56`](https://github.com/material-components/material-components-android/commit/f4d0f5653a99cd723bd2b05ed05dfec816c8e1c3)) - ContentDescription for "DayName" is not properly getting read by talkback for the German language ([`35bd1fc`](https://github.com/material-components/material-components-android/commit/35bd1fc98ffd449d11400ae040c3b43a24dea43b)) - Fix time zone when custom text input format is set ([`619d5a6`](https://github.com/material-components/material-components-android/commit/619d5a6cad0f3bd3f0a1a7d9a16013f9c3c19c97)) - Update screen width at which days size is 48dp in portrait mode. ([`ec511a5`](https://github.com/material-components/material-components-android/commit/ec511a54cf63eb1199f4c6927be9694c4c1ba304)) - Made dialog container color configurable in xml style. ([`7b2c19b`](https://github.com/material-components/material-components-android/commit/7b2c19b2731d5d264dfa91306f6236e46f4d4467)) - Fix hint for Korean ([`bcc97bf`](https://github.com/material-components/material-components-android/commit/bcc97bfaf54b53757c51af3f3d1e4a64d77183fd)) - Integrated tokens. ([`30ea33e`](https://github.com/material-components/material-components-android/commit/30ea33e948c14e9fa957763d79164ac4a1b3ad7f)) - Fix keyboard not showing at first in text input mode ([`4032a74`](https://github.com/material-components/material-components-android/commit/4032a741127b4715c3bbcd4cab08494b39ae5bdb)) - `NavigationRail` - Added bigger padding in between items on the navigation rail when font scale is large so there is more room for the badges when they are forced inside the view bounds ([`8b016a0`](https://github.com/material-components/material-components-android/commit/8b016a0e8b8a885d4a3d1110f73b3deb8c6021a3)) - Integrate tokens and add shapeAppearance attribute ([`3b2b827`](https://github.com/material-components/material-components-android/commit/3b2b8275973113fd4be0ec336cdf64c147ef0ecd)) - Added attribute to control the application of start window inset padding. ([`3f99392`](https://github.com/material-components/material-components-android/commit/3f993923b2520f1490381b375fe94758ce0e844a)) - Fixed active item focused state color not being visible. ([`1d2a59b`](https://github.com/material-components/material-components-android/commit/1d2a59ba37a9ed6e3abeac0500d6a480ccebb0ab)) - `NavigationView` - Updated NavigationView to use ViewOutlineProvider to handle corner clipping when possible and remove drawerLayoutCornerClippingEnabled attribute. ([`c031144`](https://github.com/material-components/material-components-android/commit/c031144d2652f759c59d281e7a78beac2b42313b)) - Removed canvas clipping by default and added an option to enabled/disable manually ([`e3b493f`](https://github.com/material-components/material-components-android/commit/e3b493f5eb77139624a43f573ae41988c911f92e)) - `Predictive Back` - Fix issue where modal accessibility is not reset after collapsing search view predictively, which caused the screen to appear frozen when using TalkBack ([`e8af8f9`](https://github.com/material-components/material-components-android/commit/e8af8f94607daa58f8f3f61bf5ca8e99bed7bd07)) - Fixed IllegalStateException crashes caused by MaterialBackAnimationHelper. ([`845007e`](https://github.com/material-components/material-components-android/commit/845007e5e976be67944f7a37a31f27840ef99725)) - Fixed `UnsupportedOperationException` `AnimatorSet` crash in `SearchView`. ([`6720e24`](https://github.com/material-components/material-components-android/commit/6720e242b0f7c74c39468b4eb44826ade8c9ecb2)) - Fix custom predictive back implementations and update androidx.activity dependency to 1.8.0-alpha06. ([`722b936`](https://github.com/material-components/material-components-android/commit/722b93682c7a3afeb4e2ced7341ff2cb6afd8f20)) - Fixed MaterialBackAnimationHelper.onCancelBackProgress being called twice. ([`ad60bbf`](https://github.com/material-components/material-components-android/commit/ad60bbf5d932b6fcceccf9a0140917164d179d0c)) - Fixed possible NaN crashes in MaterialBottomContainerBackHelper, MaterialMainContainerBackHelper and MaterialSideContainerBackHelper. ([`122c296`](https://github.com/material-components/material-components-android/commit/122c2966fd4abc867bc74270fcd1366bcdb239e7)) - Update components to use BackEventCompat ([`a67a885`](https://github.com/material-components/material-components-android/commit/a67a8856683542c6bf2e6f7cb4440ddae7fcd6e8)) - Make MaterialMainContainerBackHelper collapsedView optional ([`fb56ab4`](https://github.com/material-components/material-components-android/commit/fb56ab4130b74a1757ad587dd7c8373544118058)) - Fix issue on Android U where clicking SearchView back button causes SearchBar to disappear and back arrow animation to not run ([`e69a324`](https://github.com/material-components/material-components-android/commit/e69a324a2fc1c7259d6a599d6d729ff0ea9e7395)) - Minor dev doc edits ([`82a91c8`](https://github.com/material-components/material-components-android/commit/82a91c8455bf1ccb8a1067e549e81a7acafd08da)) - Update dev docs ([`47c307d`](https://github.com/material-components/material-components-android/commit/47c307d889a89988b01ec573dd39ed74021c0143)) - Fix expand/collapse animation for non-predictive back cases where rootView bounds are not equal to searchView bounds ([`577d23e`](https://github.com/material-components/material-components-android/commit/577d23ecebcd937d0c77df537863a21561bd3994)) - Added updateBackProgress() predictive back support for coplanar side sheets. ([`5ba704a`](https://github.com/material-components/material-components-android/commit/5ba704a2732ee7a13b2f430257a45b1661fde6bd)) - Added handleBackInvoked() predictive back support for coplanar side sheets. ([`b984e64`](https://github.com/material-components/material-components-android/commit/b984e64445fb21956a4affd189fe17f60d411fb2)) - Fix subtle detached side sheet glitch where after predictive back the sheet does not fully slide off screen ([`52f1737`](https://github.com/material-components/material-components-android/commit/52f1737dd8f4fe3dad9e12512475c360002126d3)) - Fix custom nav drawer Catalog demo pre-T crash due to OnBackAnimationCallback class not found ([`d8c5c2c`](https://github.com/material-components/material-components-android/commit/d8c5c2c87d4eef9b919542eb5f80aae5e3e97476)) - Added predictive back support for modal side sheets. ([`f335a50`](https://github.com/material-components/material-components-android/commit/f335a509077e954a9ed5206947b7649425f2f04a)) - Added predictive back support for standard side sheets. ([`562285e`](https://github.com/material-components/material-components-android/commit/562285e051771a8f32624f6efe67da3ed1b932cc)) - Update side container back helper to support containers with arbitrary child views ([`9405121`](https://github.com/material-components/material-components-android/commit/9405121f62eee1cb6e188e161031c358b8d9d962)) - Only use device corner radius if SearchView reaches edge of screen ([`a93c91a`](https://github.com/material-components/material-components-android/commit/a93c91a2e23d52b761fdb0c495be6d0716c08354)) - Make back helpers support generified View type ([`69b5386`](https://github.com/material-components/material-components-android/commit/69b5386e4bb51f9e2cff0aca9f4484c8b3fda6c4)) - Add ability to opt-out of back handling ([`176ce5e`](https://github.com/material-components/material-components-android/commit/176ce5e5f0987f5dd385c467747155c5c3e6031c)) - Update SearchView to support predictive back when set up with SearchBar ([`a4b6f46`](https://github.com/material-components/material-components-android/commit/a4b6f46f0cbeaf4b4eac421db492e8ba74f2f94a)) - Fix bug where standard hideable bottom sheets don't stay hidden after predictive back ([`2c23d2a`](https://github.com/material-components/material-components-android/commit/2c23d2a158f3a2e5ce786bfd14b6d2a1ab10730b)) - Add top-level developer documentation ([`8105cb7`](https://github.com/material-components/material-components-android/commit/8105cb7ed659690c121077dac45d26017341a099)) - Update Bottom Sheet to support predictive back ([`d6fad95`](https://github.com/material-components/material-components-android/commit/d6fad952c6762816f4c54978bb352c972d952ea9)) - Infrastructure for back handling in components + Navigation Drawer predictive back support ([`2c297fa`](https://github.com/material-components/material-components-android/commit/2c297faf4b210dcea41f62a1671cf6acd9475668)) - Migrate Catalog to use AndroidX back pressed callbacks and enable predictive back-to-home ([`22c4e0d`](https://github.com/material-components/material-components-android/commit/22c4e0dd60409954baed006bae51c4d5b55a9d85)) - `Search` - Enforced outline variant to use colorSurface as container color. ([`cbbd50d`](https://github.com/material-components/material-components-android/commit/cbbd50dedf35619ef74841863662e8904b167f21)) - Support stylus handwriting in SearchBar ([`884a454`](https://github.com/material-components/material-components-android/commit/884a4541e2da332364e52799972005de0eb34eeb)) - `SideSheet` - Aligned close affordance and title text along the baseline rather than the top. ([`7a3f30b`](https://github.com/material-components/material-components-android/commit/7a3f30b06561e6e8252b00b543d65119b8bf04ef)) - Mapped close affordance to ?attr/colorOnSurfaceVariant in catalog. ([`7ee0b72`](https://github.com/material-components/material-components-android/commit/7ee0b72e8ade3af9a365b17dada7b88b0119d368)) - Add links to class definitions in Side Sheet documentation and revise version guidance. ([`d005ad7`](https://github.com/material-components/material-components-android/commit/d005ad7a0c6bffdf55f08b933d869f415f97e60f)) - Changed side sheet child containers in Catalog from LinearLayouts to FrameLayouts. ([`690cd5d`](https://github.com/material-components/material-components-android/commit/690cd5d695d57a540967c09ad822e9f360a472d6)) - Changed side sheet title text appearance to Title Large. ([`a0d4fa0`](https://github.com/material-components/material-components-android/commit/a0d4fa03ffa7fae9cb3dc4f6fb505e6e1b993cdb)) - Fixed modal sheet text field formatting bug in catalog. ([`87a45a2`](https://github.com/material-components/material-components-android/commit/87a45a2a3da12b040e86d91cf836de920e6b1dee)) - Renamed private references of "origin" to "inner" in SheetDelegate and related delegate classes. ([`ad9ad20`](https://github.com/material-components/material-components-android/commit/ad9ad204f8b624a7be4342244284634feb010c46)) - Fixed side sheet swipe calculations in RightSheetDelegate. ([`8ae8a37`](https://github.com/material-components/material-components-android/commit/8ae8a3791a4b07eb3b2d499a7c01718b3c757742)) - Added left/start modal sheet. ([`d0ad45e`](https://github.com/material-components/material-components-android/commit/d0ad45e1a13e01a71797813b6afbd1a990d9e8be)) - Fixed container color assigned to incorrect attribute. ([`a4c65d8`](https://github.com/material-components/material-components-android/commit/a4c65d86d3f9ee736653788d60f161f4b1120cfa)) - Removed the hasValue check for shapeAppearance to guarantee it always has a user value or default value to avoid NPE. ([`5e427da`](https://github.com/material-components/material-components-android/commit/5e427da912f6af228b5939d1a134f026b300b341)) - Added `LeftSheetDelegate` and left sheet support for standard and coplanar side sheets. ([`78fa157`](https://github.com/material-components/material-components-android/commit/78fa15748f37df44bf88f71b29431751f276a280)) - `Switch` - Amendments to thumb icon size support ([`3abb658`](https://github.com/material-components/material-components-android/commit/3abb658c886d4b295951a722707aaa23b8da3a42)) - Add support for setting thumb icon size ([`2e85f06`](https://github.com/material-components/material-components-android/commit/2e85f062470c00b6f5b78717b357b4d2cddd7b21)) - Fix morphing time of switch thumbs ([`23a2b17`](https://github.com/material-components/material-components-android/commit/23a2b173554540b74b12ece3bc953e78fcc0a177)) - `Tabs` - Create tab demo fragment that uses viewpager2 in Catalog ([`add7f5d`](https://github.com/material-components/material-components-android/commit/add7f5d65036113cc0d6b476328a0b90b1a9cc9f)) - Re-adding mistakenly removed tab layout theme ([`e708d98`](https://github.com/material-components/material-components-android/commit/e708d98c74f46f78bf215002f09589832077ca6d)) - Fix issue with indicator not being drawn when viewpager starts scrolling before onLayout is called ([`34d6a14`](https://github.com/material-components/material-components-android/commit/34d6a14700a348a9c3f50d4c34c201f21b6b3310)) - `TextInputLayout` - Added API to set cursor colors for API 28+. ([`c598ccd`](https://github.com/material-components/material-components-android/commit/c598ccd51ec68828f241301455fb3f59369fe467)) - Make collapsed hint aligned with prefix and suffix text ([`d9b97b4`](https://github.com/material-components/material-components-android/commit/d9b97b42ffa46bc41fc54b194ae4c59eb8fcf818)) - `TimePicker` - Fix crash when clicking OK/Cancel/Icon on text input mode due to hiding keyboard ([`1fcde2c`](https://github.com/material-components/material-components-android/commit/1fcde2c8b2aa29508cc4fd07e0db89a6e7a9f6b4)) - Made dialog container color configurable in xml style. ([`5f542c8`](https://github.com/material-components/material-components-android/commit/5f542c894693763eca78b26a1d96fed3db9720ed)) - `Tokens` - Upgraded outdated token output in textfield & appbar. ([`d722a78`](https://github.com/material-components/material-components-android/commit/d722a782bc6852ff58d8b6afc4a65688f2e69fd0)) - Updated to v0.162 for a new target. ([`0be665c`](https://github.com/material-components/material-components-android/commit/0be665cfc0187971334add7cc69f252ee28db86d)) - Upgraded to v0.162. ([`9f1caa2`](https://github.com/material-components/material-components-android/commit/9f1caa2c6445f1cf77a3ac5967bae02238fa81a5)) - `TopAppBar` - Updated to take a CSL as the AppBarLayout background color. ([`6980c40`](https://github.com/material-components/material-components-android/commit/6980c40f12434ff140196825a8a5d3ddf741eed0)) - Removing keyboard scroll event workaround for AppBarLayout since CoordinatorLayout issue has been fixed in androidx.core:core:1.10.0 ([`fdaff78`](https://github.com/material-components/material-components-android/commit/fdaff785062ae80496154dd5f5e7b1a80607d027)) - Fixed dragging the app bar layout overshoots the status bar. ([`b3f7b66`](https://github.com/material-components/material-components-android/commit/b3f7b6604e21ec7e49bba6634726429b82a867a7)) - Added support to pass toolbar style. ([`cdda1fc`](https://github.com/material-components/material-components-android/commit/cdda1fc66e98e7d91bec861d436f0d66281ec43a)) - Fix bug in AppBarLayout that refreshes all its children's drawables instead of just its own ([`21a7aff`](https://github.com/material-components/material-components-android/commit/21a7aff545956972a06b6fa6e81199a26a185803)) - `Other` - Update library version to 1.10.0 ([`5a45d85`](https://github.com/material-components/material-components-android/commit/5a45d851e7e434b77d62403e816bb5c4b15d498c)) - Update androidx.activity dependency to version 1.8.0 ([`4faa81c`](https://github.com/material-components/material-components-android/commit/4faa81c74d8374d6653a82b5ca9755747e9fcd16)) - Update androidx.activity dependency to version 1.8.0-rc01 ([`7160a68`](https://github.com/material-components/material-components-android/commit/7160a68c59de877e3e691b2850ba6073c7ff1d97)) - Update library version to 1.10.0-rc01 ([`bcc2f91`](https://github.com/material-components/material-components-android/commit/bcc2f915e8e5ff72240c7fdd57fbc237e86ba16a)) - Update androidx.activity dependency to version 1.8.0-beta01 ([`bb0973f`](https://github.com/material-components/material-components-android/commit/bb0973f2a50dcb9dcfe14a29336428bc1b0ef4ec)) - Update library version to 1.10.0-beta01 ([`7b8507f`](https://github.com/material-components/material-components-android/commit/7b8507fd44652a1ac8e49470b62a1cbf0956f12c)) - Update library version to 1.10.0-alpha06 ([`0c0addd`](https://github.com/material-components/material-components-android/commit/0c0adddbb9db67a5d635bd445cf134ec75c3dc4f)) - Merge branch 'master' into release-1.10 ([`543c473`](https://github.com/material-components/material-components-android/commit/543c4736961187034994d9e96972570ec6e9ae5a)) - Updated library version to 1.10.0-alpha05. ([`174a57d`](https://github.com/material-components/material-components-android/commit/174a57dabeb6e0481993b71af71e8aaa8afbb68d)) - \[TextInputEditText]Fix: TextInputEditText misses some visible lines in CursorAnchorInfo#getVisibleLineBounds after scrolled ([`bdef355`](https://github.com/material-components/material-components-android/commit/bdef355289df85d05bd3630619fd579f51d660af)) - Fix kotlin version alignment ([`fc6f0a2`](https://github.com/material-components/material-components-android/commit/fc6f0a24fae55bc75ee8436c27adead44a9997da)) - Fix kotlin version alignment ([`7671188`](https://github.com/material-components/material-components-android/commit/76711889df757f2ef7e5b7d8f906390828495d16)) - Merge branch 'master' into release-1.10 ([`797d494`](https://github.com/material-components/material-components-android/commit/797d494e1a3d269a1336b61c811cce81c94174c4)) - Update library version to 1.10.0-alpha04 ([`9123e4f`](https://github.com/material-components/material-components-android/commit/9123e4ffb5ec8205ad0f4bd864b61cd872bb655d)) - Replaced BuildCompat#isAtLeastU() method calls with explicit SDK checks for UPSIDE_DOWN_CAKE. ([`f2e70d2`](https://github.com/material-components/material-components-android/commit/f2e70d2d66887de039beb18fdbd788fda754314b)) - Add itemTextAppearanceActiveBoldEnabled attr ([`022e217`](https://github.com/material-components/material-components-android/commit/022e2177704915eca6b0e7fd104cba98ae38509e)) - Update library version to 1.10.0-alpha03 ([`11b8da4`](https://github.com/material-components/material-components-android/commit/11b8da4da3c2c8e33c30020009a4326339d1667e)) - Update AppCompat dependency to 1.6.1 ([`46778db`](https://github.com/material-components/material-components-android/commit/46778db594edc5915987dcd6e737fa7d15414690)) - Update library version to 1.10.0-alpha02 ([`1a2078b`](https://github.com/material-components/material-components-android/commit/1a2078be29c67922eb121ba9f9400a18a012be6c)) - Update to AGP 7.4.2 to get latest lint and fix Android U lint issues ([`5a37e4b`](https://github.com/material-components/material-components-android/commit/5a37e4b35fe7be69050b008c3c44d3277d4de01d)) - Update library version to 1.10.0-alpha01 ([`c7d31fb`](https://github.com/material-components/material-components-android/commit/c7d31fbec2b800cf3996d45b2a767fea2981a0f5)) - Minor fix. ([`dfbf4d9`](https://github.com/material-components/material-components-android/commit/dfbf4d9c2cc2e45acdce2c0a9b0bafa7aed85adf)) - Upgrade to 7.6.1. ([`500c8eb`](https://github.com/material-components/material-components-android/commit/500c8eb25d1401a7b427c09165f9c74b88de0b5a)) - Update gradle-wrapper.jar ([`bb2716f`](https://github.com/material-components/material-components-android/commit/bb2716f95e4d62fce5e84b9e946e67227fa61ea0)) - Update string translations ([`5689ce2`](https://github.com/material-components/material-components-android/commit/5689ce260843bae313519ce0f8fcd3e8c8a19712)) - Update compileSdkVersion to android-UpsideDownCake ([`3fb6bb2`](https://github.com/material-components/material-components-android/commit/3fb6bb27a4856f9ef212f7901486819248ece00d)) #### Full list of changes #### Full list of release notes - [1.10.0-alpha01](https://github.com/material-components/material-components-android/releases/tag/1.10.0-alpha01) - [1.10.0-alpha02](https://github.com/material-components/material-components-android/releases/tag/1.10.0-alpha02) - [1.10.0-alpha03](https://github.com/material-components/material-components-android/releases/tag/1.10.0-alpha03) - [1.10.0-alpha04](https://github.com/material-components/material-components-android/releases/tag/1.10.0-alpha04) - [1.10.0-alpha05](https://github.com/material-components/material-components-android/releases/tag/1.10.0-alpha05) - [1.10.0-alpha06](https://github.com/material-components/material-components-android/releases/tag/1.10.0-alpha06) - [1.10.0-beta01](https://github.com/material-components/material-components-android/releases/tag/1.10.0-beta01) - [1.10.0-rc01](https://github.com/material-components/material-components-android/releases/tag/1.10.0-rc01) ### [`v1.9.0`](https://github.com/material-components/material-components-android/releases/tag/1.9.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.8.0...1.9.0) ### What's new since 1.8.0 - Brand new Carousel component! Check out the Carousel [design guidance](https://m3.material.io/components/carousel/overview) and [developer documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/Carousel.md) for more details. - Updated and improved Badge component! Check out the Badge [design guidance](https://m3.material.io/components/badges/overview) and [developer documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/BadgeDrawable.md) for more details. #### Dependency Updates - No dependency updates. #### Library Updates - `Badge` - Added shape appearance for badges ([`89a2a64`](https://github.com/material-components/material-components-android/commit/89a2a64805ee11005cd62a539e531af9d9b8cc62)) - Updated M3 style to match specs - alignment tweaks and text appearance changes ([`3c1ac05`](https://github.com/material-components/material-components-android/commit/3c1ac05facae9cd566d02d50e17a6e2ed546537d)) - Added new 'offsetAlignmentMode' attribute that determines where the offset starts for the badge ([`d0d0f54`](https://github.com/material-components/material-components-android/commit/d0d0f54018a0400e60114cd4cda9582c0b0ba500)) - `BottomSheet` - Added animation for bottom sheet position when keyboard is shown using WindowInsetsAnimationCompat API ([`697d93a`](https://github.com/material-components/material-components-android/commit/697d93a854571a5b70b617654395e04556404fc4)) - `Carousel` - Added developer documentation ([`be9f16c`](https://github.com/material-components/material-components-android/commit/be9f16ceb602d6a64aad446bc5af2904b738753f)) - Released carousel component ([`4ecba81`](https://github.com/material-components/material-components-android/commit/4ecba81de6fcce6067386d1300bedcef28deb2a0)) - `Color` - Added new theme attributes for fixed accent colors. ([`4f3dc3e`](https://github.com/material-components/material-components-android/commit/4f3dc3ed194c430eb9d91ac772e006715955395e)) - Added tonal surface color theme attributes and updated themes. ([`989d574`](https://github.com/material-components/material-components-android/commit/989d574dbb4c0b406a47eff78635aecdf59e2899)) - Added support for missing color roles. ([`169bbca`](https://github.com/material-components/material-components-android/commit/169bbca57bc8a56d850ef46c5ba9de3344c18718)) - Added framework color roles support for content color ([`ce68ec6`](https://github.com/material-components/material-components-android/commit/ce68ec61930ec44774477af4408569f0e1afd2a4)) - `SideSheet` - Added detached variant of modal side sheet. ([`ad3cf5a`](https://github.com/material-components/material-components-android/commit/ad3cf5ad6b63a6d84e1b0b620063a4b7bfbe882b)) - Added detached variants of standard and coplanar sheets. ([`938105a`](https://github.com/material-components/material-components-android/commit/938105a93b4d730b4d87504ded57bda03b46ea8e)) - Added modal side sheet documentation. ([`2e9b39f`](https://github.com/material-components/material-components-android/commit/2e9b39f3dc6bd1d2b33cae4d78864b51847ebb54)) - `Slider` - Added mouse support for slider control. ([`93f8ffb`](https://github.com/material-components/material-components-android/commit/93f8ffb46af4967a82a1fd13e07b795499071012)) - Added API for setting the radius of active/inactive tick in xml and Java. ([`7bbbe39`](https://github.com/material-components/material-components-android/commit/7bbbe3925ee83e9b59237671f1803a384251cac8)) - `Tokens` - Introduced new accent color tokens. ([`dac9450`](https://github.com/material-components/material-components-android/commit/dac9450bfb453970a99fb48a355620c937cb7cc8)) #### Full list of changes #### Full list of release notes - [1.9.0-alpha01](https://github.com/material-components/material-components-android/releases/tag/1.9.0-alpha01) - [1.9.0-alpha02](https://github.com/material-components/material-components-android/releases/tag/1.9.0-alpha02) - [1.9.0-beta01](https://github.com/material-components/material-components-android/releases/tag/1.9.0-beta01) - [1.9.0-rc01](https://github.com/material-components/material-components-android/releases/tag/1.9.0-rc01) ### [`v1.8.0`](https://github.com/material-components/material-components-android/releases/tag/1.8.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.7.0...1.8.0) ### What's new since 1.7.0 - Brand new Side Sheet component with standard, modal and coplanar variants! Check out the Side Sheet [design guidance](https://m3.material.io/components/side-sheets/overview) and [developer documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/SideSheet.md) for more details. - Brand new Search component! Check out the Search [design guidance](https://m3.material.io/components/search/overview) and [developer documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/Search.md) for more details. - Integrated tokens for Bottom Sheet, Checkbox, Chip, Dialog, Divider, MaterialButton, NavigationRail, ProgressIndicator, Slider, Switch, Tabs, and TextInputLayout. #### Dependency Updates | Dependency | Previous version | New version | | - | - | - | | ext.kotlinVersion | 1.3.50 | - | | errorproneVersion | - | 2.15.0 | | compileSdkVersion | 32 | 33 | | targetSdkVersion | 32 | 33 | #### Library Updates - `A11y` - Improve date input validation feedback follow up ([`1200e25`](https://github.com/material-components/material-components-android/commit/1200e25d1bbe91672172ae6682ff2a2b32a75da6)) - Improve date input validation feedback ([`f394903`](https://github.com/material-components/material-components-android/commit/f394903fd3552f9331bbc772f26be879c9515696)) - Improve TalkBack focus order when selecting a day ([`dff70c0`](https://github.com/material-components/material-components-android/commit/dff70c062d680257ef647ea89ac3e9eea4e43f2d)) - Improve date selection announcements ([`5c5b1e8`](https://github.com/material-components/material-components-android/commit/5c5b1e82586166187082f8d958a6db57e542f4f9)) - Announce start/end dates ([`2f9844b`](https://github.com/material-components/material-components-android/commit/2f9844b34a6fdc54bf1468f7609c3aeed3ef73f7)) - Announce current year and day ([`c6539f2`](https://github.com/material-components/material-components-android/commit/c6539f23901dbb6ca5fbbd6e311bcad04412ec72)) - Fix TalkBack announcements when switching between year/day selection views ([`62b2b19`](https://github.com/material-components/material-components-android/commit/62b2b19d60ae66989506626f95ea0d264fbaa1c6)) - Announce selection ([`be8b8d4`](https://github.com/material-components/material-components-android/commit/be8b8d44de785f1a4826d02c7e82115f549de9cd)) - Improve focus handling ([`ceacaa6`](https://github.com/material-components/material-components-android/commit/ceacaa699a7663aeebc69a1a143fb5c74f64fd18)) - Request focus on search menu when showing ([`968e035`](https://github.com/material-components/material-components-android/commit/968e035e835364faf38a481160d25838151a0942)) - Fix focus when changing input mode ([`eca825f`](https://github.com/material-components/material-components-android/commit/eca825fd37738e49aae5bd9b0aeb20480d3d133f)) - Update hour content description for 24h clock ([`ee19b01`](https://github.com/material-components/material-components-android/commit/ee19b01e2eada55f31aad5caf5b6d789095a4aa5)) - Make Clock text scale with system font size ([`e9fc0a0`](https://github.com/material-components/material-components-android/commit/e9fc0a033a10ec2e53d8a721aa68779dbc33aa7c)) - `Badging` - Fix NPE in BadgeState ([`23b7157`](https://github.com/material-components/material-components-android/commit/23b7157a648411cf01ca22eb7071fc4f4ad5ac05)) - `BottomAppBar` - Request layout for FAB when BAB changes so that FAB will always be aware of BAB changes ([`10fe695`](https://github.com/material-components/material-components-android/commit/10fe695ed989b7e7017b3ca28ee16aa6a54f16b8)) - Add attribute to remove shadow on container ([`1322e61`](https://github.com/material-components/material-components-android/commit/1322e61c4ca4229f07cc9b1ad0af6042a459d80c)) - Added the handle to the bottom sheet. ([`4c11606`](https://github.com/material-components/material-components-android/commit/4c11606122d260b16cf863ad9d9ef12ecdeb6029)) - Update motion specs for show/hide bar ([`fdd8dae`](https://github.com/material-components/material-components-android/commit/fdd8dae9822a1e6cbc56f35190404b9e0f5c509a)) - Updating catalog to remove M2 options ([`8bec167`](https://github.com/material-components/material-components-android/commit/8bec1675e6671eacffd77ce46efbc6a5e322c952)) - Small bugs and padding adjustments ([`63f98bf`](https://github.com/material-components/material-components-android/commit/63f98bf5f9cb7b643b852418918eea39f74dceee)) - `BottomNavigationView` - Remove elevation shadows ([`e393748`](https://github.com/material-components/material-components-android/commit/e3937483c36449f71bc00a5b9376198345060f89)) - Updated active text label to use a bold typeface. ([`11e98f2`](https://github.com/material-components/material-components-android/commit/11e98f2d1159cee2e1983a392cde6beb3e9436dc)) - Fix hardcoded number of children ([`a2ce1dd`](https://github.com/material-components/material-components-android/commit/a2ce1dd1020ec992234836394330aeeac9ac0a64)) - `BottomSheet` - Update motion attributes for bottom sheet dialog animation ([`1cdb371`](https://github.com/material-components/material-components-android/commit/1cdb371c307a8b4057120677b06aa7ba96339dda)) - Token integration ([`e474cf4`](https://github.com/material-components/material-components-android/commit/e474cf4796a884d3485db142fd645360d1ce972c)) - Update elevation to match specs ([`617e582`](https://github.com/material-components/material-components-android/commit/617e5822f9fabe7838052266a0df6a599407ac7b)) - Sync custom actions with drag handle views ([`0804031`](https://github.com/material-components/material-components-android/commit/080403173c073f2e4d3bd6412dd508283f956124)) - Only remove round corners in M3 styles when it's fullscreen ([`6631abb`](https://github.com/material-components/material-components-android/commit/6631abbdb53e789589951452f99d1e0bbedd30bd)) - Add shouldRemoveExpandedCorners attribute ([`6e6c53a`](https://github.com/material-components/material-components-android/commit/6e6c53a4f4408604dd010bdb3d88117fb102128c)) - Add method to calculate slide offset ([`2958d8d`](https://github.com/material-components/material-components-android/commit/2958d8d51b2363bc441eb5eb3e842094c1b5788f)) - Add attribute for significant velocity threshold ([`d845db8`](https://github.com/material-components/material-components-android/commit/d845db8979cc5ba59362886768dd8c3c0f3c01be)) - Corrected guidance to use modal bottom sheet default style theme attribute for standard bottom sheets and added a callout explaining that there is no default style theme attribute for standard bottom sheets. ([`4865639`](https://github.com/material-components/material-components-android/commit/48656398cbad7cd19aa1015a606d4fe200765362)) - Disable drag handle when restricting expansion ([`c9e855e`](https://github.com/material-components/material-components-android/commit/c9e855e7d930c7720fd01bb7a70148dde38b93e7)) - `Catalog` - Fix incorrect time stamps ([`305e19d`](https://github.com/material-components/material-components-android/commit/305e19df335f18f4fb3bdbb389b82f76bdef4ad8)) - Updated search demo to change search bar hint ([`fafee33`](https://github.com/material-components/material-components-android/commit/fafee33a869bf1be4d758d438b6f84a0ab95ef68)) - Updated Catalog demo to change search bar/view demo title. ([`df85be2`](https://github.com/material-components/material-components-android/commit/df85be268f9eed5c65f616d4e59c477a87073161)) - Applied edge-to-edge to preferences bottom sheet ([`c440d86`](https://github.com/material-components/material-components-android/commit/c440d868f83d79ed7b9a9d9c51e17ea7ceae17cb)) - Add themed icon ([`45a569f`](https://github.com/material-components/material-components-android/commit/45a569f858bc67b09ecc3654da329ac7d9a243d8)) - Add input mode selector ([`09f1ee5`](https://github.com/material-components/material-components-android/commit/09f1ee56444aa12f75f2a11c4640d47b6d97dfb4)) - Fix navigation bar overlaps ui [#&#8203;2927](https://github.com/material-components/material-components-android/issues/2927) ([`5c2eb45`](https://github.com/material-components/material-components-android/commit/5c2eb45fd9eee06374a4e687aec93550a750610f)) - Replace android.support dependencies with androidx ([`3d32f73`](https://github.com/material-components/material-components-android/commit/3d32f73f4d661af9dfd5856147c6b964f22896f3)) - Update date picker demo text appearances to M3 ([`c19efa0`](https://github.com/material-components/material-components-android/commit/c19efa03e524278238e0c5c53bf58115cacc9f73)) - Updated button demo to provide the correct content description for icon only buttons. ([`2697e0f`](https://github.com/material-components/material-components-android/commit/2697e0f699c66dcc7f2bcb0a7eec5e9ce4a169df)) - Added search/filter functionality to MDC Catalog. ([`549fe19`](https://github.com/material-components/material-components-android/commit/549fe191340452403605a80946c40d21de37e211)) - Fix the favorite icon vertical alignment on demo landing rows ([`745acfd`](https://github.com/material-components/material-components-android/commit/745acfdfc7914be14414dea7642741f8647eb3af)) - Update Catalog preferences demo to use MaterialSwitch ([`229eb9d`](https://github.com/material-components/material-components-android/commit/229eb9d64f0e2f3972fddb0abcd12baa3e9e96cb)) - Fix favorite row button alignment in lower apis. ([`849be73`](https://github.com/material-components/material-components-android/commit/849be73edb5510748d66e8b84d50639ee9082856)) - Updated catalog preferences for shape corner sizes. ([`3daa028`](https://github.com/material-components/material-components-android/commit/3daa028e42314b79bd72ad50a123045bed21a5c8)) - `Checkbox` - Update unselected outline color to ?attr/colorOnSurfaceVariant to match tokens. ([`5d261f5`](https://github.com/material-components/material-components-android/commit/5d261f516aece8e5243394fd1ca9fbb2f96098fb)) - Integrated tokens ([`e67e68d`](https://github.com/material-components/material-components-android/commit/e67e68d6b422c065421f4da6078c04dd568420a3)) - Fixed NPE crash due to layer drawable's constant state issue in APIs < 23. ([`b8e1b57`](https://github.com/material-components/material-components-android/commit/b8e1b5780478a7ea77312d067e708bffd35dac4a)) - Fix a11y announcement for indeterminate state. ([`6f474b3`](https://github.com/material-components/material-components-android/commit/6f474b3e48a84aadc7eefe8a0c166cb8f1b5701a)) - Fixed pre 21 issue where the icon did not update its color according to its state properly ([`ccf67f7`](https://github.com/material-components/material-components-android/commit/ccf67f7edf867d26c003aaba63d1b171aa442d61)) - Added indeterminate state support to the checkbox. ([`8f149b1`](https://github.com/material-components/material-components-android/commit/8f149b10dcebf807157c313f483f167b75f0c73f)) - Fixed icon color not updating correctly in light mode in pre 21. ([`a4d6f51`](https://github.com/material-components/material-components-android/commit/a4d6f51b4b9104294507c7b79c17f602225626a8)) - Fix pre-21 issue where a child of the layer drawable (the button and/or the icon drawables) may not have its constant state set up properly. ([`079371f`](https://github.com/material-components/material-components-android/commit/079371fd1069daf578cb6812335a5c018db0a1da)) - Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used. ([`9ca8a80`](https://github.com/material-components/material-components-android/commit/9ca8a804682cd0fec13d738f0d46d4c14e5f4c53)) - `Chip` - Integrate Chip component tokens to Chip styles in M3. ([`cb65cc6`](https://github.com/material-components/material-components-android/commit/cb65cc6e60d370971f531b329ae3f84acaea432a)) - `CollapsingToolbarLayout` - Exposing methods to set text size for collapsed and expanded text size ([`29bed9a`](https://github.com/material-components/material-components-android/commit/29bed9a021dd84b07fdab38a055bf3bb72cfff1a)) - `Color` - Updated Builder class for content color ([`2351fd9`](https://github.com/material-components/material-components-android/commit/2351fd9f6cd49a57fe33dbe700526dc02a9e3146)) - Implement content color with resources loader ([`4619f31`](https://github.com/material-components/material-components-android/commit/4619f31bc79ea7e25790980b8031ffa036b1332c)) - Added content color api ([`8ca326a`](https://github.com/material-components/material-components-android/commit/8ca326ac5203a2c026413a8ef1c35d65c916fb90)) - Added the rest of the library for content color support. ([`8510596`](https://github.com/material-components/material-components-android/commit/85105965281085d6571e0290b69e3d09bdf504c5)) - Updated material color utilities library implementation. ([`f0e5bda`](https://github.com/material-components/material-components-android/commit/f0e5bdafab07ace15491514ce79c1dbdb9cd3fca)) - Refactored material color utilities library into its own directory. ([`9897bc2`](https://github.com/material-components/material-components-android/commit/9897bc293d20341e8c9ba7e4bf91cb65d6800846)) - Add additional condition to check dynamic color supported devices ([`17ac05d`](https://github.com/material-components/material-components-android/commit/17ac05d0e93596771e762bce708be9f5527d1724)) - `Dialog` - Updated enter/exit animation to use fade pattern and motion tokens. ([`8d8a0d1`](https://github.com/material-components/material-components-android/commit/8d8a0d14ae1c7923eb1b409db266b612e7434b44)) - `Divider` - Change shouldDrawDivider from private to protected to allow for more user flexibility. ([`b08257b`](https://github.com/material-components/material-components-android/commit/b08257bce32e8fbbf51aa16415d2c4bb3ea18cfd)) - Integrated M3 tokens and updated color. ([`2f6ebb4`](https://github.com/material-components/material-components-android/commit/2f6ebb4001adbee3552b20eb4a2174f121f2c371)) - Fixed logic of determining whether to draw divider in MaterialDividerItemDecoration. ([`6f547d4`](https://github.com/material-components/material-components-android/commit/6f547d4fd3ed090a7686d4020761b43428848c27)) - `Documentation` - Added warning about known issue in slider where label doesn't scroll along with the screen. ([`ca54c65`](https://github.com/material-components/material-components-android/commit/ca54c659a4b6c6251b3527f23b2516fb6f428aab)) - Add android dev doc and source link to the Material dev doc ([`00c9ce5`](https://github.com/material-components/material-components-android/commit/00c9ce51dd49b45e03e16997eb6d4c636f5b9a6d)) - Update docs to remove links to Kotlin docs and remove Kotlin from dependency ([`bde2092`](https://github.com/material-components/material-components-android/commit/bde20921169f6b0476203a5ef805ae72127b2611)) - Update text field doc to include information about android:textColorHighlight ([`ae788ac`](https://github.com/material-components/material-components-android/commit/ae788ac4815e4b0cc28d285d499156e7a4895828)) - Changing the name for the AGP compatibility variable so that the IDE points to the right documentation. ([`2527cc2`](https://github.com/material-components/material-components-android/commit/2527cc25c83b385b44dc7ebe201e70cf4ae5e7dd)) - Update typography guideline to M3. ([`bc1ec5a`](https://github.com/material-components/material-components-android/commit/bc1ec5af8f82daeedebcb6937f3b86270c290156)) - `ExposedDropdownMenu` - Dismiss modal popup in dismissDropDown ([`644d141`](https://github.com/material-components/material-components-android/commit/644d141359559f17e9307e8c248f92ddca3bc845)) - Fix MaterialAutoCompleteTextView.setDropDownBackgroundDrawable(Drawable). ([`db115f0`](https://github.com/material-components/material-components-android/commit/db115f0a1f0489ff2d32c5ad0c12e810527c1bba)) - Fixed missing icon activated color. ([`9147704`](https://github.com/material-components/material-components-android/commit/91477044684b426bef5f82d5dc3d3c201c0dd7b1)) - `ExtendedFloatingActionButton` - Add a `extendToWrapContent` attribute that can disable the current eFAB behavior of extending to wrap content (thus allowing `extend` to return to its original width before shrinking) ([`d5b41c1`](https://github.com/material-components/material-components-android/commit/d5b41c185ff41243f961784aa5a8382a387aa25a)) - Update extend/shrink motion spec ([`9db041c`](https://github.com/material-components/material-components-android/commit/9db041cc52472b1e5d2ad0643acaaa5879d9fed8)) - `MaterialButton` - Integrate M3 Tokens. ([`b9e8fb8`](https://github.com/material-components/material-components-android/commit/b9e8fb89fa2711999619e6ae376cedd8147835c1)) - Use Layout to measure text width. ([`3b333ee`](https://github.com/material-components/material-components-android/commit/3b333ee8343dc0bde20d110a39ccc4654977eb23)) - Added support for toggleable Icon buttons. ([`8a4af07`](https://github.com/material-components/material-components-android/commit/8a4af079796a9594c97315a943d73d5bceb95bd3)) - `MaterialButtonToggleGroup` - handle setEnable childs ([`e8bfad5`](https://github.com/material-components/material-components-android/commit/e8bfad56446af18b7bcaf2e7e63d573b025221c9)) - Added the default Material3 toggleGroupStyle ([`b6c6600`](https://github.com/material-components/material-components-android/commit/b6c6600ad80caacc91879a37a2b67494775a4a91)) - `MaterialCardView` - Update motion specs for Z-shadow ([`3975a2e`](https://github.com/material-components/material-components-android/commit/3975a2e908353b816d3dfe67cee3b756d72c2aed)) - Add fade animation for checked icon drawable ([`7d129ea`](https://github.com/material-components/material-components-android/commit/7d129eae21e97eba46d515cf8fd9ad287c6ff94b)) - `MaterialDatePicker` - Fix headerTitle text size ([`147463f`](https://github.com/material-components/material-components-android/commit/147463f33d090d8b3b1f9d9beb92d3ee631c91fe)) - Update text appearances ([`ffbf835`](https://github.com/material-components/material-components-android/commit/ffbf8351958a122ac7b4a42ff1747eb88c2c7ade)) - Update elevation to match specs ([`b813b2b`](https://github.com/material-components/material-components-android/commit/b813b2b441cca6599a4c0eb635a2c7282c6c1187)) - Improve inputs validation ([`4046525`](https://github.com/material-components/material-components-android/commit/4046525b20ff81c4f4fef654b9e8f09ffd7f5a81)) - Exposed method to set a custom formatter for text input fields. ([`276c117`](https://github.com/material-components/material-components-android/commit/276c1171b08ac3d9f6a188f4bb90345a0d5b5a17)) - Enable auto-sizing of the date selection text ([`32f1118`](https://github.com/material-components/material-components-android/commit/32f111817f1c0e846a638d19cb8063d9dc02eec1)) - Update string translation for datepicker. ([`8dcdd26`](https://github.com/material-components/material-components-android/commit/8dcdd268341d00f9e330c87f358fa6bb1177f34c)) - Add method to specify a content description to decorated views ([`7bc5689`](https://github.com/material-components/material-components-android/commit/7bc5689789489b14ccf38e574a29bcbba521a834)) - Make new public getter methods for start/end/openAt values with long return types for CalendarConstraints ([`6643695`](https://github.com/material-components/material-components-android/commit/6643695c3e6d9ee03e5f58623db901124ed1ce02)) - Update doc to include DayViewDecorator. ([`aff6a94`](https://github.com/material-components/material-components-android/commit/aff6a9453901e07be8212d7106d255d4ac6b51d7)) - Expose CalendarConstraints start and end getter methods ([`95ab979`](https://github.com/material-components/material-components-android/commit/95ab9794cbe5a3915999059f1479b94984aaf546)) - Add initialize() method to DayViewDecorator to better support configuration changes ([`be650c4`](https://github.com/material-components/material-components-android/commit/be650c4f57aa437c873c0696e77d66a8fcd872d6)) - Refactor header styling to allow for multiline title with description text ([`debe22e`](https://github.com/material-components/material-components-android/commit/debe22e3978ffd41ea31c9fe9fe9b0e3d78ef1b6)) - Hide month pagination from the year picker ([`51b6054`](https://github.com/material-components/material-components-android/commit/51b605412af7ff6c69b35900c922dcb67f606f26)) - Add ability to customize background color to DayViewDecorator ([`24201b4`](https://github.com/material-components/material-components-android/commit/24201b42467773c612fd2093c62f517f0ec180fd)) - Add support for decorating day views and a demo for circle indicators ([`bca0f2e`](https://github.com/material-components/material-components-android/commit/bca0f2ea8eee79c45a5684cafa550815d3951c6c)) - `NavigationRail` - Added design tokens for M3 NavigationRail Component. ([`d1b682f`](https://github.com/material-components/material-components-android/commit/d1b682f9fd95dcfceb64d9f276b4dd35fc048f0e)) - `NavigationView` - Disable drawing left and right insets if the nav bar is not edge to edge ([`cb384c5`](https://github.com/material-components/material-components-android/commit/cb384c5c2c16f8323abbb9bcc8db45aab3d44369)) - Fix subheaderInsetEnd setter ([`88c448e`](https://github.com/material-components/material-components-android/commit/88c448ed19673e7b5d9f53690b3482a6bed06fd2)) - `ProgressIndicator` - Integrates tokens into M3 styles. ([`ab063b7`](https://github.com/material-components/material-components-android/commit/ab063b7b7f86e3e8fb16fd67f6dd3d9389f5e6eb)) - Finish all visibility animations when animate = false ([`26aa22b`](https://github.com/material-components/material-components-android/commit/26aa22b26df23c05818fe9e35e7399cf1e42a684)) - `Search` - Added search bar component. ([`4e323fa`](https://github.com/material-components/material-components-android/commit/4e323fa18be5f9cdd32765b57143cdcc55c993c6)) - Fixed issue that caused the wrong component to be focused on automatically when talkback is active. ([`8cbfd20`](https://github.com/material-components/material-components-android/commit/8cbfd20c841aecac1baa234f017fc16ac91a4130)) - Updated search bar/view UI to match spec and cleaned up the API. ([`d049b1b`](https://github.com/material-components/material-components-android/commit/d049b1bfe0d95ab53aa2a5e78e44f6840913c7a5)) - Updated style to match updated M3 spec. ([`be8ff16`](https://github.com/material-components/material-components-android/commit/be8ff16d6632243a4528a655c20d4cb3b2a5225b)) - Renamed search style attributes to add "material" prefix. ([`978ffdf`](https://github.com/material-components/material-components-android/commit/978ffdf0aa36b43203ae60e2b38dac8408c3fcc1)) - Added new SearchBar and SearchView components ([`d1bacf5`](https://github.com/material-components/material-components-android/commit/d1bacf55db6b81e5f62f506c69bc7adc8a297958)) - Refactored status bar spacer edge-to-edge detection to work based on insets ([`38605f4`](https://github.com/material-components/material-components-android/commit/38605f4a757ab283e4b353bf4051f22f0279ad57)) - Removed M3 search style references from Material theme. ([`2977a75`](https://github.com/material-components/material-components-android/commit/2977a75f29fe2f0fc850db7f3411b8a486a8feac)) - Added Search Demo . ([`030fe32`](https://github.com/material-components/material-components-android/commit/030fe32445cc1b8245bd52de8d6b861fd5dd4bb2)) - `SideSheet` - Disabled lift on scroll in Side Sheet demo. ([`99664aa`](https://github.com/material-components/material-components-android/commit/99664aac4b4e47322887c0f23d76e1805f5afb3c)) - Added accessibilityPaneTitle to side sheet. ([`516240d`](https://github.com/material-components/material-components-android/commit/516240d4e5519838305e4129235f964a5f82ef16)) - Fixed issue where sheet would jump to the far edge of the screen in RTL without temporary fix. ([`a24832a`](https://github.com/material-components/material-components-android/commit/a24832add838213ab3f7da69f122a39bd38bba0f)) - Added explicit style definition to coplanar sheet catalog demo. ([`35dfa92`](https://github.com/material-components/material-components-android/commit/35dfa926e150deb9d5ba26dbd7b0e3ff1411c196)) - Updated close sheet button content description in catalog. ([`0538a3c`](https://github.com/material-components/material-components-android/commit/0538a3c333596a8a5820b5dee41c72516fe3e8ca)) - Added coplanar side sheet with APIs for setting a coplanar sibling view. ([`8055a2c`](https://github.com/material-components/material-components-android/commit/8055a2c6c61883a779a763df6ad662eba4c740ed)) - Set accessibility focus to the side sheet when expanded. ([`0949e9c`](https://github.com/material-components/material-components-android/commit/0949e9c272e42eed27e4795daa689331ea799673)) - Release Side Sheet catalog demo. ([`f707836`](https://github.com/material-components/material-components-android/commit/f707836033913946d580e2bc6414e3800a99d45c)) - Rebrand "Adaptive Sheets" demo to "Side Sheet". ([`7f17891`](https://github.com/material-components/material-components-android/commit/7f17891b89792b5ef8e30013fc6d913b83dffcd9)) - Fix vertically scrolling sheet swipe issue by deleting most of the nested scrolling code ([`3bc1f6e`](https://github.com/material-components/material-components-android/commit/3bc1f6e68384f490280373f1d73032fa12e37010)) - Cancel modal side sheet scrim on STATE_HIDDEN. ([`0c4e4a7`](https://github.com/material-components/material-components-android/commit/0c4e4a7ff1752ece94f0c5bac814e00ec12bd0ce)) - Restrict SheetDialog methods from the public API surface and rename getDismissWithAnimation. ([`9c8ea58`](https://github.com/material-components/material-components-android/commit/9c8ea5862d0603e55cf1f6f54f8eab179536ffb5)) - Add SideSheetCallback listener to SideSheetBehavior to track [@&#8203;SheetState](https://github.com/SheetState) state change events. ([`99e09b0`](https://github.com/material-components/material-components-android/commit/99e09b08977ac44e3f4f2382d7f39689133514f9)) - Renamed SheetEdge#RIGHT to SheetEdge#EDGE_RIGHT. ([`35d6051`](https://github.com/material-components/material-components-android/commit/35d60519bf1f4806bedb2e376b322533c28ed224)) - Made SheetDialog abstract base class and Sheet interface package-private. ([`0c35d1d`](https://github.com/material-components/material-components-android/commit/0c35d1d852c053e3a5319d550e34dbd64f50b412)) - Add [@&#8203;RestrictTo](https://github.com/RestrictTo) annotations to restrict SheetEdge annotation interface. ([`e6ca949`](https://github.com/material-components/material-components-android/commit/e6ca949f3c9b8b6c495956e4a23a28c66a09e4ab)) - Made SideSheetBehavior extendable. ([`f7b3aac`](https://github.com/material-components/material-components-android/commit/f7b3aac02e474fd030f5ea94a87a5c5e7211867e)) - Add STATE_HIDDEN to SideSheetBehavior#getState javadoc. ([`7a706cc`](https://github.com/material-components/material-components-android/commit/7a706cc82c19861ff069584c983e00afec1f80cb)) - Changed modal side sheet shape to large. ([`1653055`](https://github.com/material-components/material-components-android/commit/1653055b2c1d35db5fdc303532a85936749012f1)) - Added initial modal side sheet. ([`10d72ee`](https://github.com/material-components/material-components-android/commit/10d72eebec116d73b4afab85e48580e298a34818)) - Add standard side sheet documentation. ([`4364c4f`](https://github.com/material-components/material-components-android/commit/4364c4f5fb41b3b157278d47934b74a243a09d2a)) - Moved behavior_draggable attribute to the resources package. ([`1d3e374`](https://github.com/material-components/material-components-android/commit/1d3e37438771bc02b9bf333b8b783f82317bfa56)) - `Slider` - Add current value to talkback for Slider ([`9e210ea`](https://github.com/material-components/material-components-android/commit/9e210ea731692d6a4779df42c0e64b1b5b277bbe)) - Integrate component tokens ([`4a1e6bc`](https://github.com/material-components/material-components-android/commit/4a1e6bc42aced9d0eb949bccb3b1a8be8102982b)) - Fix compat halo visibility ([`bcb551b`](https://github.com/material-components/material-components-android/commit/bcb551b8a02aff6e881fb4a3dbe4358a91d14cc2)) - Do not capture inflation parameters for reuse ([`a137c28`](https://github.com/material-components/material-components-android/commit/a137c28b77a3aaef164e363f1163ca70a11d9d18)) - Update motion attributes ([`c7a3d5e`](https://github.com/material-components/material-components-android/commit/c7a3d5e874abdebb77405e66acd542cc41466da3)) - Release slider thumb if gesture has been cancelled ([`f3a5f2f`](https://github.com/material-components/material-components-android/commit/f3a5f2ff8a646c24e39b99925c0117316f01c0c8)) - Ensured the minimum touch size of handle is 48dp ([`f3952f8`](https://github.com/material-components/material-components-android/commit/f3952f83df7443156d83c38dcd55c1712ad3978a)) - `Switch` - Update animations to use motion theming. ([`3fc3ec1`](https://github.com/material-components/material-components-android/commit/3fc3ec1153ef686b6a644d99641697a9b0c95220)) - Removed resources from deprecated tokens. ([`112378d`](https://github.com/material-components/material-components-android/commit/112378dcfd6856955f980715fb890d8ce711a443)) - `Tabs` - Fix bug with setScrollPosition not updating indicator due to onLayout call drawing the indicator below the selected tab. ([`1681b1d`](https://github.com/material-components/material-components-android/commit/1681b1daa9dc9b8c366e3c4144c664ae381596e8)) - Fixing bug with animation flicker when using tabs with ViewPager2 ([`ab3f203`](https://github.com/material-components/material-components-android/commit/ab3f203caea0a724840d2cabee785995aa94ad28)) - Fix bug with selected tab text appearance when swiping in viewpager. ([`4a0e1a0`](https://github.com/material-components/material-components-android/commit/4a0e1a0cdb4e80f9371bc4592d2a1ee086e4d820)) - Fix default tabTextAppearance ([`cb1905d`](https://github.com/material-components/material-components-android/commit/cb1905dbff746ffce992ce60a8af7999ced89062)) - Fixing bug with animation cancelling if tab is double-tapped ([`857f481`](https://github.com/material-components/material-components-android/commit/857f481edd64f3d3214de6b4605a9bcbca01e0c5)) - Fix tab indicator animation ([`f9a37c5`](https://github.com/material-components/material-components-android/commit/f9a37c5077feaa6e00607adf0005671d0efd390b)) - Integrated tokens into M3 styles. ([`d0460f3`](https://github.com/material-components/material-components-android/commit/d0460f3a70bdfdfef5be1036588c7211a1310d10)) - Fixed potential NPE when updating tab view. ([`34a1dde`](https://github.com/material-components/material-components-android/commit/34a1dde7b61131692597351b7a1e669c4f0ca51c)) - Add selectedTabTextAppearance attribute ([`00220d0`](https://github.com/material-components/material-components-android/commit/00220d0ad636355b7c9c54c6a1aad64550db5897)) - Setting a custom view on the tab should replace the current custom view ([`3c0c9e7`](https://github.com/material-components/material-components-android/commit/3c0c9e75f50c2e3b7438d3e20b854319ab4a6d01)) - Do not impose margins in custom tab views ([`d68c0f8`](https://github.com/material-components/material-components-android/commit/d68c0f8dc598fc7449d001c53b9972d22fc85fe7)) - Update motion attributes for tab layout ([`d1c5a52`](https://github.com/material-components/material-components-android/commit/d1c5a52cf47a4c67a6ee453c7474e18ab3377094)) - Update AppCompat version to 1.5 stable ([`7f98ebc`](https://github.com/material-components/material-components-android/commit/7f98ebca5b8abd82abf1b4f2a978834ac43cd463)) - Fix icon position in icon-only tabs ([`cebf591`](https://github.com/material-components/material-components-android/commit/cebf5919ad404f3dfba65bf9a9fe0f7045c0cbaa)) - Added AnimatableView Interface. ([`edcb7fb`](https://github.com/material-components/material-components-android/commit/edcb7fb38c87d17a82d6d4b884b25b2270ed797f)) - `TextInputLayout` - Fix label cutout doesn't work on API < 18 ([`a352178`](https://github.com/material-components/material-components-android/commit/a3521784e8dddf359759331859de88244017b264)) - Fixed counter overflow text color getter ([`e76eaff`](https://github.com/material-components/material-components-android/commit/e76eaff716ed1fd4f6bfb4234867dcc1ed2567d5)) - Integrated tokens for text fields and the exposed dropdown menu. ([`e7697c2`](https://github.com/material-components/material-components-android/commit/e7697c235bcd6179271e4d12db18145a2ad1b8b0)) - Updated cursor color on error for APIs >= 29. ([`fbd75ec`](https://github.com/material-components/material-components-android/commit/fbd75ec5b00d04e32eeb48617a3babd0f40c35ee)) - Update motion attributes for textfield animations ([`c98480c`](https://github.com/material-components/material-components-android/commit/c98480c019c6fdcc399ee56cd758b2ec70c5ceb3)) - Updated expanded label color to take error color when on error. ([`a85204e`](https://github.com/material-components/material-components-android/commit/a85204eb758912b2b8580304d4bb647759e76996)) - Added method to set corner family programmatically and a setShapeAppearanceModel method for greater customizability of the box background shape. ([`08c40d8`](https://github.com/material-components/material-components-android/commit/08c40d85e5710bc1cd208d7cea2d8268d98c42e6)) - Update motion specs for hint animation ([`6b53f62`](https://github.com/material-components/material-components-android/commit/6b53f62aa2713a96ef4f5f5a48037d40b11c38f2)) - Add scale type setters/getters for start and end image buttons in the TextInputLayout ([`e284e57`](https://github.com/material-components/material-components-android/commit/e284e57d6412941dd534a1d93e2f42cdf199ecfe)) - `Theming` - Added a theme attribute for outline-variant color. ([`ac6f13c`](https://github.com/material-components/material-components-android/commit/ac6f13c0bec818568bf413883a24358bfa33dd3a)) - `TimePicker` - Fix NumberFormatException ([`0c204b8`](https://github.com/material-components/material-components-android/commit/0c204b82125bc2465367722a370ec3e2b9148563)) - Fix divider alignment on the clock display ([`6d956ed`](https://github.com/material-components/material-components-android/commit/6d956edcb933d6747d88346d5a0458a7ab7b251c)) - Pre-fill hour and minute edit texts in text input mode ([`56ea071`](https://github.com/material-components/material-components-android/commit/56ea071320719b438ba2e0d40ab74e38dc474b07)) - Pre-fill hour and minute edit texts in text input mode ([`087da2f`](https://github.com/material-components/material-components-android/commit/087da2f2bcb880592b801dd1d76121478ce447dc)) - Fix keyboard not showing at first in text input mode ([`15c7128`](https://github.com/material-components/material-components-android/commit/15c712863048c8cef9fc918bab1578996ebd56a0)) - Update motion specs ([`a4f6a1e`](https://github.com/material-components/material-components-android/commit/a4f6a1e02a17346abd10c5b409f4dd224e55b9ec)) - Fix text appearance on the clock display ([`0dbea2d`](https://github.com/material-components/material-components-android/commit/0dbea2df1af208558a8b7a8e0e17a9c2de3e4ddc)) - Use a single layout for time input ([`60bc025`](https://github.com/material-components/material-components-android/commit/60bc025aa9be8efcc421273d7768b53a8f676cdc)) - Fix text and cursor alignment on the clock display ([`16edbb9`](https://github.com/material-components/material-components-android/commit/16edbb986bc60ba169f69a79a808336ca6aab0a3)) - Fix TimePicker appearance for RTL ([`b3acd17`](https://github.com/material-components/material-components-android/commit/b3acd17ee4b5b5949e5c698a2c3678a2e8dc25f1)) - 2-ring support for 24H clock ([`cbc0711`](https://github.com/material-components/material-components-android/commit/cbc0711ca34bf42af1ac3e6bb2e0587195b63b86)) - `Tokens` - Refresh the output to reflect the current version. ([`567cc54`](https://github.com/material-components/material-components-android/commit/567cc5494be96cc01a92206b11d4641d87565e31)) - Added in formatter a new feature to format a resource string without handling the ordering. ([`4a24684`](https://github.com/material-components/material-components-android/commit/4a24684535c38dfdfb2f8944a96bdf44ed7af0df)) - Refreshed outdated component token resources files. ([`ed77ab3`](https://github.com/material-components/material-components-android/commit/ed77ab36ccac98df24e55060d58406c5981a9062)) - Upgraded to v0.126 for 1p and 3p. ([`1ef53e2`](https://github.com/material-components/material-components-android/commit/1ef53e2b37e6f5c14e49ada180dc2c0306e58e95)) - Updated to correctly convert shape tokens with asymmetric shape value. ([`02327c3`](https://github.com/material-components/material-components-android/commit/02327c332594bab59a8b0baaef7b42b576dc7266)) - `TopAppBar` - Update motion specs ([`c8108b1`](https://github.com/material-components/material-components-android/commit/c8108b1f8e3d06e90fa7978d09e4efa280072ca1)) - Adding new attribute liftOnScrollColor that disables elevation overlay and allows users to change the app bar color ([`c587dd1`](https://github.com/material-components/material-components-android/commit/c587dd12597ee52086c3f637f03d6913e56e03cc)) - Fix issue with a physical keyboard scroll not collapsing toolbar ([`9df6c9d`](https://github.com/material-components/material-components-android/commit/9df6c9d072d927da65e5c371cea7be6bd2fff498)) - Make a new setter for scroll effect and make SCROLL_EFFECT_COMPRESS public ([`14415a1`](https://github.com/material-components/material-components-android/commit/14415a1308876f03af0611d0f7d26c2f3e47d58b)) - Added documentation for status bar foreground on scrolling app bars. ([`32f41ff`](https://github.com/material-components/material-components-android/commit/32f41ff41aaaa5c13213bbda7d726a6744103dd4)) - `Transitions / Motion` - Motion tweaks ([`1236a90`](https://github.com/material-components/material-components-android/commit/1236a90896710150f6a4b692a49b3e7b2fa37269)) - Update motion specs ([`3d3edce`](https://github.com/material-components/material-components-android/commit/3d3edce956b88ffd1c52e9a1f7155c41a4b4b45c)) - `Other` - Update compileSdkVersion and targetSdkVersion to 33 (T) ([`090b988`](https://github.com/material-components/material-components-android/commit/090b98847f8da512e0b6e949de94ede28fbfaeb3)) - Updated active text label to use a bold typeface. ([`b1bd580`](https://github.com/material-components/material-components-android/commit/b1bd580d7e6a587f88da5c034107bed1e77cd26a)) - Fix Gradle warnings ([`ba70cd7`](https://github.com/material-components/material-components-android/commit/ba70cd72d92501d556c3a4dbf01b1446217e4627)) - Fixed SwipeDissmissBehavior not work when down touch event consumed. ([`624543f`](https://github.com/material-components/material-components-android/commit/624543f9bffcdd4088d643875fdd92581d826b36)) - Update string translations ([`7c56473`](https://github.com/material-components/material-components-android/commit/7c56473a58380b0f8e95e6bee811872f17605719)) - Change relative corner size behavior for "vertical" shapes ([`158d9f0`](https://github.com/material-components/material-components-android/commit/158d9f012a5753b0321ca2c16d8e47481d5a42aa)) - Updated SDK target version to 33 ([`89a2b6f`](https://github.com/material-components/material-components-android/commit/89a2b6fc1c654190d7390d3e0160e436671b7af0)) - Fixed drag view alpha not changing when swipeDirection is END_TO_START ([`39b4c76`](https://github.com/material-components/material-components-android/commit/39b4c76c720f00d00a9641550c522e57984f553a)) - Add `@CanIgnoreReturnValue` to some APIs that `return this`. ([`44cc9b7`](https://github.com/material-components/material-components-android/commit/44cc9b745ceb9bfc842c69666ca4f46500505c79)) - Add errorprone dependency to our gradle file ([`52ebb77`](https://github.com/material-components/material-components-android/commit/52ebb77d1bdf04361177a57408cc56bbfb8ac8b0)) - Fix rotation angle calculation ([`41eb6d0`](https://github.com/material-components/material-components-android/commit/41eb6d0ff4eb72f7343191a0bd28f28219439c56)) - Add defensive null check for typeface passed in to util ([`2b1af84`](https://github.com/material-components/material-components-android/commit/2b1af845734efefeb6cded6c4833bb4cb4f107c1)) - Update AppCompat dependency to 1.5.0-rc01 ([`5c6f0c8`](https://github.com/material-components/material-components-android/commit/5c6f0c8b996c179d09719371f0a224d4c2beb4da)) - Update lerp to accept input ranges of any size. ([`1a336b5`](https://github.com/material-components/material-components-android/commit/1a336b5cecef90f8018eeb4d13e1b2d360393988)) #### Full list of changes #### Full list of release notes - [1.8.0-alpha01](https://github.com/material-components/material-components-android/releases/tag/1.8.0-alpha01) - [1.8.0-alpha02](https://github.com/material-components/material-components-android/releases/tag/1.8.0-alpha02) - [1.8.0-alpha03](https://github.com/material-components/material-components-android/releases/tag/1.8.0-alpha03) - [1.8.0-beta01](https://github.com/material-components/material-components-android/releases/tag/1.8.0-beta01) - [1.8.0-rc01](https://github.com/material-components/material-components-android/releases/tag/1.8.0-rc01) ### [`v1.7.0`](https://github.com/material-components/material-components-android/releases/tag/1.7.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.6.1...1.7.0) ### What's new since 1.6.1 - All new Switch component with a new look! Check out the updated [documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/Switch.md) for details. - New Shape system that is now being used by all components. Learn about the [shape system](https://m3.material.io/styles/shape/overview) and see how its used in the Material3 theme and components by checking out the updated [documentation](https://github.com/material-components/material-components-android/blob/master/docs/theming/Shape.md) - Checkbox has been redesigned and now supports indeterminate and error states! Check out the updated [documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/Checkbox.md). - BottomAppBar has been redesigned! Check out the updated [documentation](https://github.com/material-components/material-components-android/blob/master/docs/components/BottomAppBar.md) - New [Icon Button](https://github.com/material-components/material-components-android/blob/master/docs/components/Button.md#icon-button) support has been added including outlined, tonal, and filled variants! ##### New minimum requirements for your app's project: - Update to [Android Gradle Plugin (AGP) version 7.2.0](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle) - Update to [Gradle version 7.3.3](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle) - Update to [Java 8 (version 1.8)](https://developer.android.com/studio/write/java8-support#supported_features) - Update to [Android Studio Chipmunk, version 2021.2.1](https://developer.android.com/studio/releases/gradle-plugin#agp-studio-compatibility) #### Dependency Updates | Dependency | Previous version | New version | | - | - | - | | androidx.appcompat | 1.5.0-beta01 | 1.5.0 | | androidx.core | 1.5.0 | 1.6.0 | | androidx.test | 1.1.0 | 1.4.0 | | Android Gradle Plugin (AGP) | 4.0.0 | 7.2.0 | | Gradle | 6.1.1 | 7.3.3 | | Java Version | 1.7 (7) | 1.8 (8) | #### Other highlights - `MaterialButton` - Added methods to not toggle checked state on buttons on click ([`a601107`](https://github.com/material-components/material-components-android/commit/a6011078689521cf0c042e7444c36b6607cedcf9)) - Updated M3 button style to add outlined icon button style ([`467a2c9`](https://github.com/material-components/material-components-android/commit/467a2c9f7314cdfd5300594b4e66a70657d5d702)) - Updated M3 button style to add filled tonal icon button style ([`14578ed`](https://github.com/material-components/material-components-android/commit/14578ed68cb296080d511ceb502469903c0ef5d7)) - Updated M3 button style to add filled icon button style ([`25606cf`](https://github.com/material-components/material-components-android/commit/25606cf34addae1420eeba24eec0f90aef06d0d2)) - Fix icon textStart/End alignment with multiline text ([`b6b895a`](https://github.com/material-components/material-components-android/commit/b6b895a1e40efbf2e36b2ea5e91bae7bcd0bdb8c)) - Fix icon position with multiline text ([`19d0500`](https://github.com/material-components/material-components-android/commit/19d05000bcc273f781a85ce41530f604fead268e)) - `Documentation` - Updated typography guidelines to M3 ([`104a342`](https://github.com/material-components/material-components-android/commit/104a342307c31170494c3dcd2011ca63b182e4b5)) - Added an example to demonstrate how to make bottom sheet dialog in edge-to-edge mode ([`57a3c98`](https://github.com/material-components/material-components-android/commit/57a3c989ffdaee252fa00bbe5246f837d18b6a60)) - Updated Snackbar doc regarding CoordinatorLayout ([`ef2c2fa`](https://github.com/material-components/material-components-android/commit/ef2c2fad36d11933d71ea5c9a2826be3119bec17)) - Add status bar / edge-to-edge section to Top App Bar doc ([`b8e1f97`](https://github.com/material-components/material-components-android/commit/b8e1f978940c218502ee6161d0b3f673299eceb0)) - `TopAppBar` - Fixed bug in HeaderScrollingViewBehavior that causes child translation Y not to be reset to default if the behavior is changed from an overlapping to non-overlapping behavior in layoutParams.setBehavior ([`00c62d2`](https://github.com/material-components/material-components-android/commit/00c62d21c9e21eb595d2d83bddcf6782a9773729)) - Excluded views that are GONE from scroll range calculation ([`687e735`](https://github.com/material-components/material-components-android/commit/687e73590de5ea219a14a336094002b9d3884af5)) - Fixed collapsing title issue with different fonts ([`0c341c4`](https://github.com/material-components/material-components-android/commit/0c341c4e9b9703945ffbf22af0a4158bde41582c)) - Added setLiftOnScrollTargetView() method ([`d6c4354`](https://github.com/material-components/material-components-android/commit/d6c435461eece74656db5e2de92944c7ca807439)) - `A11y` - Made multi-selection Chips announce as Buttons ([`d4c2c95`](https://github.com/material-components/material-components-android/commit/d4c2c9549051d706d91dcd96ceb79c52e1aedd30)) - Made drawer announce its number of items ([`b1f7d5b`](https://github.com/material-components/material-components-android/commit/b1f7d5bebc298865a25747d2f28050a67b15761d)) - `TextInputLayout` - Added a new custom length counter field and getters/setters to switch how text length is calculated for the counter. ([`4ded01e`](https://github.com/material-components/material-components-android/commit/4ded01ed3ff5f6669080b6330c3d6dce8869cdca)) - Fixed hint is not displayed when expanding space is limited ([`73cb1b6`](https://github.com/material-components/material-components-android/commit/73cb1b6e78a0e28d157a1b5da061568117c2fa40)) - Fixed icon ripples shown behind the edit text ([`2c0e42f`](https://github.com/material-components/material-components-android/commit/2c0e42f56a5c3caf386fe23312c12f90f3cffdd1)) - Updated shapes to use M3 attrs/styles. ([`0e4e44e`](https://github.com/material-components/material-components-android/commit/0e4e44e8cdc00251275c4c4b6af6873fdb2e3fea)) - `Color` - Fixed HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable ([`824a12b`](https://github.com/material-components/material-components-android/commit/824a12b7c80703d59a909496f3dbe0126d0dd899)) - `Transitions / Motion` - Updated container transform to use new motion system. ([`f2f454b`](https://github.com/material-components/material-components-android/commit/f2f454ba8a9d40912608a458681ea3b1dfbc50c0)) - Opened MotionUtils and update resolveThemeInterpolator to load both new and legacy easing attributes. ([`894edb6`](https://github.com/material-components/material-components-android/commit/894edb6aa53a8be559d97046bda0951532778990)) - `Chip` - Migrated M3 chip styles to new shape system. ([`3fc53ac`](https://github.com/material-components/material-components-android/commit/3fc53ac51fb1f49e2e6094d9e9c20c57124fe510)) - Fixed chip layout not updating when programmatically setting text size ([`788866e`](https://github.com/material-components/material-components-android/commit/788866e4483621e2222f649e617ee95f7aa9caa6)) - `Snackbar` - Added shape theming support and update M3 style to use new shapeAppearanceCornerExtraSmall ([`a717813`](https://github.com/material-components/material-components-android/commit/a71781355e48eb6106fc42bd4237027b71e8d803)) - Made dismiss direction the same as swipe direction ([`5b9f27a`](https://github.com/material-components/material-components-android/commit/5b9f27aad0bb185261d6e400274a416953755d74)) - `TimePicker` - Properly align text vertically in MaterialTimePicker on S+. ([`703249d`](https://github.com/material-components/material-components-android/commit/703249d8727141f5cd9c346756b4e69682c54110)) - Migrated to new shape system ([`f302da7`](https://github.com/material-components/material-components-android/commit/f302da7401487303d42e97822dbce66b1efdc9dc)) - Fixed restoring hour/minute selection when switch to text mode ([`72abed0`](https://github.com/material-components/material-components-android/commit/72abed042f7577a6e24219742d0a5ac860adcb56)) - `BottomSheet` - Disable drag handle when restricting expansion ([`d4da5b1`](https://github.com/material-components/material-components-android/commit/d4da5b10a38b126f9503ddefcd9bb7bd61c1baff)) - Handle half-expanded state when drag handle clicked ([`f0e6625`](https://github.com/material-components/material-components-android/commit/f0e662535c57c1ae4edfaaad412e9d95b4d2a16c)) - Created a drag handle view which support accessibility control ([`ac7b761`](https://github.com/material-components/material-components-android/commit/ac7b761294808748df167b50b223b591ca9dac06)) - Exposed bottom sheet hide friction with get/set methods. ([`be1b38c`](https://github.com/material-components/material-components-android/commit/be1b38c30b4383a332e8b0ff297d636789287d99)) - Migrated to to new shape system. ([`921868d`](https://github.com/material-components/material-components-android/commit/921868d31ba733b99c7175fbc7dfa7678f4a2fa5)) - `Divider` - Fixed lastItemDecorated not being applied to horizontal orientation ([`92caa19`](https://github.com/material-components/material-components-android/commit/92caa194b8e99de232cee00a696f05dff28f78dc)) - Fixed extra space when lastItemDecorated = false ([`714521b`](https://github.com/material-components/material-components-android/commit/714521b4aca7c2f6602324fe25643a747556ca70)) - `Slider` - Fixed label visibility when slider is hidden ([`ed11e69`](https://github.com/material-components/material-components-android/commit/ed11e694e7e893deba91d9b56008a42f339572b0)) - Updated tooltip shape style to use M3 shape system. ([`75af80c`](https://github.com/material-components/material-components-android/commit/75af80cf4687da527542b57980bcaa869cfba4c0)) - `MaterialCardView` - Migrated shape appearance to new shape system. ([`bfce84a`](https://github.com/material-components/material-components-android/commit/bfce84a27cf6d69bfb32e270da969dcc801fdf49)) - `CollapsingToolbarLayout` - Added experimental API to allow generic customizations of the StaticLayout.Builder used for the title text ([`241aa5c`](https://github.com/material-components/material-components-android/commit/241aa5cd8bcb321ca36ac625ea1ff013db8056cd)) - Added ability to set ellipsis on title in CollapsingToolBar ([`7b043c3`](https://github.com/material-components/material-components-android/commit/7b043c3b684eb0a680bf5219e0916ccd919760c2)) - `NavigationRail` - Updated active indicator to use new shape system. ([`f700e6d`](https://github.com/material-components/material-components-android/commit/f700e6d6f16fec94fcc84e57c776a9d41c113fcf)) - `ProgressIndicator` - Fixed indeterminate progress indicator not working on API 22 ([`61cbb8c`](https://github.com/material-components/material-components-android/commit/61cbb8c9a6b90fcc11148b60c7c7a9f23f28037f)) - `BottomNavigationView` - Updated item ripple to be contained within active indicator shape when enabled. ([`11578b3`](https://github.com/material-components/material-components-android/commit/11578b34f3cd37ac57c4c8856850f385bb338d2e)) - Updated active indicator to use new motion system. ([`1995438`](https://github.com/material-components/material-components-android/commit/1995438305044de55b36e7f54e5b9620aae4814a)) - Updated active indicator to new shape system. ([`9a16aa4`](https://github.com/material-components/material-components-android/commit/9a16aa471bd1f31f47c0c3163456735a4583e32f)) - `ExposedDropdownMenu` - Added support for default/ripple background colors for the selected item of the exposed dropdown menu when the default MaterialAutoCompleteArrayAdapter is being used. ([`6206ff5`](https://github.com/material-components/material-components-android/commit/6206ff5a1f68de815b779673b73f860a0f277607)) - `Switch` - Update dev doc with the new switch design ([`f469720`](https://github.com/material-components/material-components-android/commit/f469720cca7fa0603fafe421ff560963bd0b009a)) - Added thumb icon tint to the new switch styles ([`2f33cfc`](https://github.com/material-components/material-components-android/commit/2f33cfc2133036127a0c09d21d6a40b8aa77e1f9)) - Added associated text styles ([`06bba00`](https://github.com/material-components/material-components-android/commit/06bba009d441b7448c36f23040b366ec621adc38)) - Added material switch style to M3 themes ([`1e08c68`](https://github.com/material-components/material-components-android/commit/1e08c680d41fd55263246a555f6d97a27ce9c540)) - Created an icon style for the new switch design ([`a3ca744`](https://github.com/material-components/material-components-android/commit/a3ca744776aab9d69234e8ea52796feb3084c4df)) - Support tinting thumb & track according to thumb position ([`3b257c0`](https://github.com/material-components/material-components-android/commit/3b257c0169bb2a86e9bff1c7df09233feafe8d09)) - `MaterialDatePicker` - Migrated to new shape system ([`91a2550`](https://github.com/material-components/material-components-android/commit/91a2550afd2218e0a15cdc3471dac5b6c32e336c)) - Hide the keyboard when switching to calendar mode ([`5d6678c`](https://github.com/material-components/material-components-android/commit/5d6678cc66e64c379818bc294a3db4a19e1005a4)) - `FloatingActionButton` - Migrated "regular/default" sized styles to new shape system. ([`25482b1`](https://github.com/material-components/material-components-android/commit/25482b142510a2b30ab398f91edb0c07afdf896a)) - Migrated "Large" styles to use new shape system. ([`30bb583`](https://github.com/material-components/material-components-android/commit/30bb583f206bd60a3b1c540366f8f54835dc9b20)) - Migrated "Small" styles with new shape system. ([`acc7569`](https://github.com/material-components/material-components-android/commit/acc75697ea20fc8aa978f235586a50810edcf819)) - Updated FAB to use new motion attributes. ([`934985e`](https://github.com/material-components/material-components-android/commit/934985ec5338e7cfd8fe1f4ffbdb9f9149ddba34)) - `BottomAppBar` - Changed default Material3 theme to follow use BottomAppBar M3 specs ([`53b3001`](https://github.com/material-components/material-components-android/commit/53b30013969e14c7aaafb808b4bdda7502684622)) - Added an attribute to remove embedded FAB elevation ([`f2423de`](https://github.com/material-components/material-components-android/commit/f2423de558f727316f290b7f3b4a0ae4a4f6e855)) - Added fab end margin attribute ([`88a73eb`](https://github.com/material-components/material-components-android/commit/88a73ebb8eebc883fe84724162ad706d3c551076)) - Added menu alignment attribute ([`397e48f`](https://github.com/material-components/material-components-android/commit/397e48f2790a95878caf7523a026eabfac286c07)) - Generated resources from tokens. ([`4188995`](https://github.com/material-components/material-components-android/commit/4188995b115534643f3a95a8a46818ca18753100)) - Added new anchor mode attribute for FAB for an embedded option ([`cab45dd`](https://github.com/material-components/material-components-android/commit/cab45dd1dfd90a2c9069cb9486400c7467e64b97)) - `ExtendedFloatingActionButton` - Updated show and hide motion specs to use motion tokens. ([`5c0003c`](https://github.com/material-components/material-components-android/commit/5c0003ca81dfa51503efd6f640fd8e18bd65d59d)) - `Checkbox` - Added indeterminate state support to the checkbox. ([`4da7ce1`](https://github.com/material-components/material-components-android/commit/4da7ce1a4136e5dcea08df080e75344de05e5981)) - Updated checkbox to M3 look. ([`1666fbc`](https://github.com/material-components/material-components-android/commit/1666fbc3aa16d584956b2acba3dd0d5ad7040165)) - Added support for error state. ([`8dd9c7e`](https://github.com/material-components/material-components-android/commit/8dd9c7e30c6c2a36d16b9a9c933547705f7e9af5)) - `Tabs` - Fixed indicator not updating when a tab to the start/left of the selected tab is removed. ([`2fc2e6a`](https://github.com/material-components/material-components-android/commit/2fc2e6a167213e7b7f0f1491120b212132972543)) - `NavigationView` - Update foreground boundaries of menu items when setting a new foreground ([`4dc3d93`](https://github.com/material-components/material-components-android/commit/4dc3d93ac24df8ee630a4e95a11540b611a82f22)) - `ShapeableImageView` - Updated to not layer type when view is detached from the window ([`74b7706`](https://github.com/material-components/material-components-android/commit/74b7706de9ff3b1613aaf911f2285401ca39c45d)) #### Full list of changes #### Full list of release notes - [1.7.0-alpha01](https://github.com/material-components/material-components-android/releases/tag/1.7.0-alpha01) - [1.7.0-alpha02](https://github.com/material-components/material-components-android/releases/tag/1.7.0-alpha02) - [1.7.0-alpha03](https://github.com/material-components/material-components-android/releases/tag/1.7.0-alpha03) - [1.7.0-beta01](https://github.com/material-components/material-components-android/releases/tag/1.7.0-beta01) - [1.7.0-rc01](https://github.com/material-components/material-components-android/releases/tag/1.7.0-rc01) ### [`v1.6.1`](https://github.com/material-components/material-components-android/releases/tag/1.6.1) [Compare Source](https://github.com/material-components/material-components-android/compare/1.6.0...1.6.1) #### Dependency Updates - No dependency updates #### Library Updates - `TopAppBar` - Add null check for logo ConstantState check ([`299c8e1`](https://github.com/material-components/material-components-android/commit/299c8e1e82c459d7de9fac0884edfbc32f571cb8)) - Loosen check for scrollable child when adding a11y actions ([`dff14ca`](https://github.com/material-components/material-components-android/commit/dff14cadd78af3992dfd7c8c989314d11758554d)) - Fix scrolling for a11y ([`a5a738b`](https://github.com/material-components/material-components-android/commit/a5a738bfa2f2786e8d6bd91e77d823d3534612b1)) - `Color` - Fix Resources Loader bug for color harmonization ([`bef8ca1`](https://github.com/material-components/material-components-android/commit/bef8ca1b49c92660410c6a68cda326af86cfa749)) - Provide better logging for ColorResourcesTableCreator ([`b33cf80`](https://github.com/material-components/material-components-android/commit/b33cf80dd7937b6d31c511e9c545f2a040c70665)) - `Chip` - Fix ChipGroup.getCheckedChipIds() returns wrong state ([`0356d7c`](https://github.com/material-components/material-components-android/commit/0356d7c391c4aa64e54a5aa398d58def673d0114)) - `TextInputLayout` - Fix for TextInputLayout leak via AccessibilityManager. ([#&#8203;2718](https://github.com/material-components/material-components-android/issues/2718)) ([`948d5da`](https://github.com/material-components/material-components-android/commit/948d5dac03a55971338d36bb52f1f49bd448ebd7)) - `Other` - Update library version to 1.6.1 ([`248d4c8`](https://github.com/material-components/material-components-android/commit/248d4c8efb89b0f8579b8fc5b5bc9e23695f29b4)) #### Full list of changes ### [`v1.6.0`](https://github.com/material-components/material-components-android/releases/tag/1.6.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.5.0...1.6.0) ### What's new since 1.5.0 - Color harmonization support! Check out the following resources for more information: - [Designing Harmony into Dynamic Color](https://material.io/blog/dynamic-color-harmony) blog post - [Using color harmonization](https://github.com/material-components/material-components-android/blob/master/docs/theming/Color.md#using-color-harmonization) documentation #### Other highlights - `Material 3` - Hide shadows on all M3 Toolbar styles, not just Surface style ([`b49284e`](https://github.com/material-components/material-components-android/commit/b49284ec75ab16a9f649b97cb26aa4a17bc82512)) - Migrate action bar popup themes to M3 ([`2ae3ca4`](https://github.com/material-components/material-components-android/commit/2ae3ca42985722900f53de9d9a1ef61c143767eb)) - Update M3 card elevation according to the spec ([`bb23e2d`](https://github.com/material-components/material-components-android/commit/bb23e2d6ad7888713d51e1dc53f36a69b0db62ff)) - Add missing attributes to M3 button styles ([`3c9b452`](https://github.com/material-components/material-components-android/commit/3c9b45292d78a80f511d672bb5fe4ef1431dd8bd)) - Update M3 navigation rail text appearances ([`6b57c52`](https://github.com/material-components/material-components-android/commit/6b57c52973c2ceb97c88da1df1b72859ed28775a)) - Fix M3 date picker styles ([`fba1a34`](https://github.com/material-components/material-components-android/commit/fba1a341c31cbe2c5d71c239afc8bcc14af9d968)) - Change checkedIconGravity values to enum ([`bc56d5b`](https://github.com/material-components/material-components-android/commit/bc56d5b43b93ab6dbed4d561ad8b8b1351f9535c)) - `Badging` - Prevent multiple badges being attached to a menu item at the same time ([`b3db1cc`](https://github.com/material-components/material-components-android/commit/b3db1cc02855453f91353fca9e9cb11ccf0db9cc)) - Refactored Badge state managing logic ([`bbbeacd`](https://github.com/material-components/material-components-android/commit/bbbeacd64e3b1cc64e8edc6adf430aad45d03e32)) - Added support for different locale on badges ([`b8f2dd5`](https://github.com/material-components/material-components-android/commit/b8f2dd53e0e19ea376639a610a0b51faabf0f9af)) - `BottomNavigationView` - Added supported NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. ([`1222268`](https://github.com/material-components/material-components-android/commit/12222684370dfb6c3400fd984578059d22741bb3)) - Removed font scaling from NavigationBarView item labels. ([`d66676f`](https://github.com/material-components/material-components-android/commit/d66676fd6bb93556c2cb3b0d9f7885821ac5bd8f)) - Set backgroundTint explicitly to [@&#8203;null](https://github.com/null) in M3 bottom navigation styles ([`adbcf8c`](https://github.com/material-components/material-components-android/commit/adbcf8cbbc6e95921d233c87eb87dc01b6cc8f0d)) - `BottomSheet` - Fix bottom sheets in EXPANDED state when the expanded height is the same as the collapsed height ([`493243e`](https://github.com/material-components/material-components-android/commit/493243ea1e5a2a0eee675b652cae0eeaec73b6a3)) - Simplify state transition logic ([`04c483c`](https://github.com/material-components/material-components-android/commit/04c483cf3466cd0a7bf4835cadccc2372ba0da2b)) - Fix activity leak when setting states on destroying activities ([`43114c4`](https://github.com/material-components/material-components-android/commit/43114c4f7c9ca0c70c48c777dbd2957386d539e5)) - Update edge-to-edge paddings when bottom sheet is laid out ([`19af0ac`](https://github.com/material-components/material-components-android/commit/19af0ac9d98cc3c504ce69ae38fbc00570cc85f5)) - `Chip` - Refactored chip group selection logic to a standalone class ([`f3c6430`](https://github.com/material-components/material-components-android/commit/f3c6430f94bb7f82afc740e5545fd6302e9bf3aa)) - Added missing attributes to M3 chip styles ([`cc18f3f`](https://github.com/material-components/material-components-android/commit/cc18f3f7e8ff097b80d774911c2ede92d4b30698)) - Update M3 chip styles with spec ([`8ed0ac9`](https://github.com/material-components/material-components-android/commit/8ed0ac9fd383bbb53fac100e74b2a0e9ee41bc9a)) - `CollapsingToolbarLayout` - Fixed shadow issues when transition between expanded and collapsed states. ([`86e8b00`](https://github.com/material-components/material-components-android/commit/86e8b00ecdc9f9c5212e5a7e0700bd95be4da94b)) - Constrain adjusted font weight to acceptable values ([`5dce006`](https://github.com/material-components/material-components-android/commit/5dce006a5c1649df4eb6631c85619017728726af)) - `Color` - Fix resources being re-harmonized when wrapContextIfAvailable() is used. ([`b402cb3`](https://github.com/material-components/material-components-android/commit/b402cb3c032ea10beb941284b49a9667ee7abe1e)) - Added ColorGrid classes for color harmonization demo. ([`fcc1091`](https://github.com/material-components/material-components-android/commit/fcc10914f2b87c0e5f28761e8316bba2d9d1a318)) - Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. ([`1dad5f6`](https://github.com/material-components/material-components-android/commit/1dad5f65d4c54952a3a63efa4b9fd81b9c46d4a2)) - Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable ([`44054aa`](https://github.com/material-components/material-components-android/commit/44054aaf3ab11d815e4086b37575e829e0b626db)) - Added support for color resources harmonization in XML ([`869d943`](https://github.com/material-components/material-components-android/commit/869d9430677e66f9007bee65960dc0539627fd4a)) - Refactor DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. ([`bdbf052`](https://github.com/material-components/material-components-android/commit/bdbf052aaf1e824f221057ca3c3acae80d1a521d)) - Update DynamicColors to use peekDecorView() instead of getDecorView() when applying dynamic color theme overlay ([`56ed070`](https://github.com/material-components/material-components-android/commit/56ed07008ba0bff682e99c5d91126596fe9e6ddf)) - Update DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue ([`f6c8fa5`](https://github.com/material-components/material-components-android/commit/f6c8fa5aefc84a1543eca3056a538120de0b4297)) - Update DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue ([`b84f35f`](https://github.com/material-components/material-components-android/commit/b84f35f1211028e7c456ce1ca91685a938f0ffcc)) - Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 ([`48741b4`](https://github.com/material-components/material-components-android/commit/48741b4e16236ee8ac9dc0052204e6a7be32c0f4)) - Add Resource Table format for XML color Harmonization. ([`822a5b2`](https://github.com/material-components/material-components-android/commit/822a5b2cb2dedf133618d981140edf30db0058ef)) - `Dialog` - Fixed crashes when colorControlHighlight is a CSL ([`1c5c054`](https://github.com/material-components/material-components-android/commit/1c5c054b70a55c2567cdfee460d3876158b2945a)) - Added date and time picker themes to M3 dialog themes ([`8342f90`](https://github.com/material-components/material-components-android/commit/8342f9025eefe64ca24312467d021a522e833769)) - Fixed dialog icon color tint ([`246b340`](https://github.com/material-components/material-components-android/commit/246b3400ec698da2805f9b7023dcb28b3601daad)) - Fixed dialog paddings ([`672e744`](https://github.com/material-components/material-components-android/commit/672e7440f9586cd6ab276cd9e8295e3028f73253)) - Start-align message text with centered styles ([`9980596`](https://github.com/material-components/material-components-android/commit/9980596586d270123e36b21980457b56fb70e146)) - `Divider` - Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. ([`9416b2c`](https://github.com/material-components/material-components-android/commit/9416b2c7d6d927696f3ecd30096dd2e1349538a4)) - `MaterialDatePicker` - Fixed edge-to-edge mode being applied multiple times ([`e1ee959`](https://github.com/material-components/material-components-android/commit/e1ee959b1b6065de37da7a6648fe319b10cc13ca)) - Always go edge-to-edge in fullscreen mode ([`be6050a`](https://github.com/material-components/material-components-android/commit/be6050a23c773d93469eb5b4cfa26a2a908f6269)) - Start align edit icon in landscape ([`94cd532`](https://github.com/material-components/material-components-android/commit/94cd532bd17cfc5f6af32b1da79642ce43734c66)) - Fixed wrong month title with certain months ([`62e8993`](https://github.com/material-components/material-components-android/commit/62e89933d667e5d9c86a1cecaa6f934698803c6b)) - Added methods to use custom text for positive and negative button ([`b2fbace`](https://github.com/material-components/material-components-android/commit/b2fbacecd44671236fd8e0ac03532da07c354cf3)) - `MaterialButton` - Fix icon position not being updated when size is not changed ([`b0f3700`](https://github.com/material-components/material-components-android/commit/b0f37007aa3cd00cc655439ff84484354c478a53)) - Support icon gravity with text alignments other than centered ([`6c41f07`](https://github.com/material-components/material-components-android/commit/6c41f070e88d5b6adf63c7fafb2e897bf939eea5)) - `MaterialCardView` - Fixed crash on Pre-Q devices when checked icon is null ([`b4cab87`](https://github.com/material-components/material-components-android/commit/b4cab87015fa29e23460f4f47d4d06adfe3a9e9a)) - Fixed checked icon gravity issues ([`283715d`](https://github.com/material-components/material-components-android/commit/283715d348a3fb9c487469d6f2749727b0705710)) - Added option to set the checkedIcon gravity ([`250d56d`](https://github.com/material-components/material-components-android/commit/250d56de4b33e8ae25aa056be519ddf507c06880)) - `MaterialShapeDrawable` - Implement getAlpha() ([`5ff917d`](https://github.com/material-components/material-components-android/commit/5ff917dc5f99f9b008d53da269a20d7025b95b57)) - `NavigationRail` - Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. ([`c66633b`](https://github.com/material-components/material-components-android/commit/c66633b385d20b44bdd632b1c736dd512f4ea1c6)) - `Slider` - Added LABEL_VISIBLE to label behavior. ([`ca8594d`](https://github.com/material-components/material-components-android/commit/ca8594d2d258246d1c56e1e85c4d2f26420d5d56)) - Add support for custom thumb drawables ([`17da000`](https://github.com/material-components/material-components-android/commit/17da000a295a4a2554b603940ce014ff6a18da45)) - `Snackbar` - Fixed margins are added multiple times when show() is called ([`2bfc7ba`](https://github.com/material-components/material-components-android/commit/2bfc7bae0778c8fa20308d2bf434ca1f5cc38cce)) - Fixed the issue that setting margins programmatically does not work ([`d5856fd`](https://github.com/material-components/material-components-android/commit/d5856fd0365b4daeb27f07c8864d88618884dfb8)) - Support setting max lines programmatically ([`4c7be52`](https://github.com/material-components/material-components-android/commit/4c7be527751f1cb11f7c5f55ca5eecbb41c1620c)) - Enforce vertical layout when action text is too long ([`ff97a68`](https://github.com/material-components/material-components-android/commit/ff97a6805c203724d8cd64d7ed7d6fc483c93f16)) - Fixed NPE on Android 8 & 9 ([`35d9da8`](https://github.com/material-components/material-components-android/commit/35d9da8f67911c84267fd0829fea6d5aba7c3544)) - Fixed maxWidth is not applied on Snackbar ([`6a3ea94`](https://github.com/material-components/material-components-android/commit/6a3ea94ae0794793c91c11ebafbd87b4a2445112)) - `Tabs` - Tabs with padding in fixed mode shouldn't scroll ([`9c2df28`](https://github.com/material-components/material-components-android/commit/9c2df2811c263679e492f159229028311e24a56b)) - Added fade indicator animation mode. ([`a295de9`](https://github.com/material-components/material-components-android/commit/a295de97283b51cacfbc74e58e95048d348cc471)) - Fix NPE caused by set a position less than 0 ([`823c34a`](https://github.com/material-components/material-components-android/commit/823c34a90c97828115e147d482c544bdee6c2b57)) - `TextInputLayout` - Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. ([`4d78879`](https://github.com/material-components/material-components-android/commit/4d788794bac8d3abba22ad1d774e7f145fce90de)) - Extracted start components from TextInputLayout ([`9a46af2`](https://github.com/material-components/material-components-android/commit/9a46af2af2a7faa99ed287e9f1ff89e2a05e3238)) - Split icon tinting logic to a helper class ([`9789f2e`](https://github.com/material-components/material-components-android/commit/9789f2e286e5452f9e566a1c0db5b398b56bb4ac)) - Provided set simple items API with default item layout for MaterialAutoCompleteTextView ([`85ed993`](https://github.com/material-components/material-components-android/commit/85ed9938d73786ea001ccb4ac2642a1384f673ec)) - Added support for minEms and maxEms ([`7d46b95`](https://github.com/material-components/material-components-android/commit/7d46b95e9e183907c12dc86f065a13b6ad6bf7f0)) - Applied edit text's letter spacing to expanded hints ([`88eb089`](https://github.com/material-components/material-components-android/commit/88eb0890219b49c12dd9c873bc51c3929eee44e9)) - Text field should comply with system level bold ([`e8bde75`](https://github.com/material-components/material-components-android/commit/e8bde7546b0828dc348685ef9e0cc87fb6d74409)) - Fixed crashes when text field size is too large ([`cf5df22`](https://github.com/material-components/material-components-android/commit/cf5df22ccefae252a77b21119d56f86eeac5217c)) - Fixed getBoxCornerRadiusBottomEnd and getBoxCornerRadiusBottomStart returning wrong values. ([`9d2f864`](https://github.com/material-components/material-components-android/commit/9d2f864f0ac6c75b6601fedcf3a2a6c9c1648184)) - `TopAppBar` - Fixed app:expanded=false not working ([`2f3110f`](https://github.com/material-components/material-components-android/commit/2f3110ff5d67dc46308621e5bf63d4dae9b2e04b)) - Fixed centering logic when title and subtitle are the same ([`f69e3a0`](https://github.com/material-components/material-components-android/commit/f69e3a025b533ed6eb2e20016a5fc31b0e17a9be)) - Support scaleType and adjustViewBounds for logo ([`b01051b`](https://github.com/material-components/material-components-android/commit/b01051b8bcafa1aa732de2a1bef82aa43de71d05)) - Make title and subtitle match ActionBar's ([`0f2b537`](https://github.com/material-components/material-components-android/commit/0f2b5378f709e3eb58fe92d321bf441761860f66)) - Save and restore scroll state during scroll range recalculation ([`698cf9b`](https://github.com/material-components/material-components-android/commit/698cf9b45e8d9358e4accbf0685e6a6daf3effec)) - Fixed top app bar snapping issue ([`acb7958`](https://github.com/material-components/material-components-android/commit/acb7958c662f37d5a89589f67f05a72ffa0ce816)) - Fixed expanded title margin not applied ([`89d80d0`](https://github.com/material-components/material-components-android/commit/89d80d080fbb2c53d1a09102a2e4ffb71d7bb0fc)) - Correctly set letter spacing when expanding titles ([`44d4c3e`](https://github.com/material-components/material-components-android/commit/44d4c3ea3fa6d81f127c6d92ed76df232afb45cc)) - Fixed text alignment of multi-line title in collapsing toolbar ([`e6db8a4`](https://github.com/material-components/material-components-android/commit/e6db8a4d31fa5566e287254121969a589cdfaf97)) - Fixed snap issue with transparent status bar ([`b935604`](https://github.com/material-components/material-components-android/commit/b935604e2c9192e3ad3f9e3f5f2ebf93086d2ea0)) #### Dependency Updates | Dependency | Previous version | New version | | - | - | - | androidx.fragment | 1.0.0 | 1.2.5 #### Full list of changes #### Full list of release notes - [1.6.0-alpha01](https://github.com/material-components/material-components-android/releases/tag/1.6.0-alpha01) - [1.6.0-alpha02](https://github.com/material-components/material-components-android/releases/tag/1.6.0-alpha02) - [1.6.0-alpha03](https://github.com/material-components/material-components-android/releases/tag/1.6.0-alpha03) - [1.6.0-beta01](https://github.com/material-components/material-components-android/releases/tag/1.6.0-beta01) - [1.6.0-rc01](https://github.com/material-components/material-components-android/releases/tag/1.6.0-rc01) ### [`v1.5.0`](https://github.com/material-components/material-components-android/releases/tag/1.5.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.4.0...1.5.0) ### What's new since 1.4.0 - `Material3` themes, styles, and functionality! Check out the following resources for more information: - [Material 3](https://m3.material.io) site and guidelines - [Start building with Material You](https://material.io/blog/start-building-with-material-you) blog post - [Migrating to Material Design 3](https://material.io/blog/migrating-material-3) blog post - [Getting started](https://github.com/material-components/material-components-android/blob/master/docs/getting-started.md) & [dynamic color](https://github.com/material-components/material-components-android/blob/master/docs/theming/Color.md#using-dynamic-colors) developer documentation - New `Divider` component ([Docs](https://github.com/material-components/material-components-android/blob/master/docs/components/Divider.md)) #### Other highlights - `Badging` - Added support for differing offsets for badges with/without text, and support for badge width and padding in styles. ([`bd4914d`](https://github.com/material-components/material-components-android/commit/bd4914dd8bcdb64c4ec8734c95b90cec2a3d723d)) - `BottomAppBar` - Added attr to set the color of navigation icon. ([`0ed7c76`](https://github.com/material-components/material-components-android/commit/0ed7c7675e42cbe417fb947f150ed9faf6a5174b)) - Added support for showing/hiding immediately ([`34740b6`](https://github.com/material-components/material-components-android/commit/34740b6fdf164665c438658935653d354a64d72b)) - `BottomNavigationView` - Updated to explicitly read and set minimum height. ([`943c4f0`](https://github.com/material-components/material-components-android/commit/943c4f0eedb35850f19167ac989387f5b640af2f)) - `BottomSheet` - Added maxHeight to bottom sheet behavior ([`a38d2d8`](https://github.com/material-components/material-components-android/commit/a38d2d89a8aa22a40dd200f2d1c9e837f87669c1)) - `Chip` - Fixed icon tint states are not updated after setting new icon ([`c08a07d`](https://github.com/material-components/material-components-android/commit/c08a07d7e8247647ea939549c1a493f1d42ac326)) - `CollapsingToolbarLayout` - Added option to add extra height when title text spans across multiple lines ([`655dde0`](https://github.com/material-components/material-components-android/commit/655dde062aa4e7cd4cad0137f4e975c6ed1d2c27)) - Added option to force always applying system window inset top regardless of layout_height ([`9ebf1a1`](https://github.com/material-components/material-components-android/commit/9ebf1a1387be4dfad00ad2af58ef9f02ec204d10)) - Fixed multiline RTL collapsed title text position ([`af35dfb`](https://github.com/material-components/material-components-android/commit/af35dfb86bebdbd913e74df7cb828a0218b7889a)) - Added support for expanded and collapsed title text color attributes ([`5c14772`](https://github.com/material-components/material-components-android/commit/5c147722edcd5e6696248a1fdd372a1385d8a7df)) - Fixed RTL text only laying out as RTL when actual text is RTL ([`841f229`](https://github.com/material-components/material-components-android/commit/841f2295921b4eed8bd16bb72b28d4ef7ca7cfa5)) - Added title line spacing and hyphenation frequency setters ([`f0ce498`](https://github.com/material-components/material-components-android/commit/f0ce498108616ee26f84d8afd26c4627a4cdcf48)) - Added support for multiline RTL when using fade title mode ([`f0ac362`](https://github.com/material-components/material-components-android/commit/f0ac3629682b003629858ab18bf74a878f2398ac)) - Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL ([`3ad232d`](https://github.com/material-components/material-components-android/commit/3ad232d829b8c1192b9c1af74225a69ac1632597)) - `MaterialButton` - Updated Material Button style to set the preferred maximum width to 320dp. ([`c5c7a74`](https://github.com/material-components/material-components-android/commit/c5c7a74cef46569ee74f92d0ef973cafe06c06e9)) - Fixed MaterialButton lollipop shape issue ([`153fdee`](https://github.com/material-components/material-components-android/commit/153fdee2f6f9f528856130be28c74f92bf739346)) - `MaterialDatePicker` - Avoided NPE caused by getSelection() before created ([`cb5d622`](https://github.com/material-components/material-components-android/commit/cb5d622f131323bf1f27e9e6c27c16f4a918d3d1)) - Fixed opening at the selected date in the end month ([`eb7b114`](https://github.com/material-components/material-components-android/commit/eb7b11478b110fc917958565876899856ba2411b)) - Fixed DatePicker crashes and and potential issue of range selection ([`281688a`](https://github.com/material-components/material-components-android/commit/281688a2f21263817f037d187a98b4cbc8471985)) - Fixed excessive whitespace ([`8fda897`](https://github.com/material-components/material-components-android/commit/8fda897e1d2670b82752e8906a2a00700557408c)) - `Snackbar` - Handled anchor view properly so no memory leak will happen ([`58ceeab`](https://github.com/material-components/material-components-android/commit/58ceeab63ca74d740fb96fbb5e999de325822330)) - Fixed memory leak caused by not resetting anchor views ([`b0558dc`](https://github.com/material-components/material-components-android/commit/b0558dc006ac60f1c33cff4706bef109a6f77e07)) - Fixed maxWidth and maxInlineActionWidth are not applied ([`8729d8a`](https://github.com/material-components/material-components-android/commit/8729d8ab571bc58582147cfb01c140d2c014617c), [`15e2254`](https://github.com/material-components/material-components-android/commit/15e2254397996e47128d73129b305abe5b17d071)) - `TextInputLayout` - Applied tint when setting start icons ([`4044183`](https://github.com/material-components/material-components-android/commit/4044183f46385d09fe0059143bda77ce78f2dad9)) - Made clear text icon focusable ([`8a4f42a`](https://github.com/material-components/material-components-android/commit/8a4f42aca737f4b0c2b7e7851e557ef275df6ebd)) - Added a fade transition to placeholder TextView's appear and disappear. ([`c92e693`](https://github.com/material-components/material-components-android/commit/c92e6934d53032e9a3c0b4550787e665e6494d86)) - Fixed cutout padding so text field outline doesn't overlap collapsed hint. ([`87b50c6`](https://github.com/material-components/material-components-android/commit/87b50c6aee240659841a7d5f2e52c1a6324d611f)) - `TimePicker` - Hid cancel button when it's not cancelable ([`35c2af3`](https://github.com/material-components/material-components-android/commit/35c2af3c2dabdc470d55b8eddff56d174cbd9763)) - Updated accessibility event sending when updating input mode ([`00c0df9`](https://github.com/material-components/material-components-android/commit/00c0df9e7d27c093b0b8ad82934a06637247bbae)) - Added ability to customize positive and negative button ([`168c691`](https://github.com/material-components/material-components-android/commit/168c69189e5f9df27bcc9a72d4b0e27189f087df)) #### Dependency Updates | Dependency | Previous version | New version | | - | - | - | | compileSdkVersion | 30 | 31 | | targetSdkVersion | 29 | 31 | | androidx.annotation | 1.0.1 | 1.2.0 | | androidx.drawerlayout | N/A | 1.1.1 | #### Full list of changes #### Full list of release notes - [1.5.0-alpha01](https://github.com/material-components/material-components-android/releases/tag/1.5.0-alpha01) - [1.5.0-alpha02](https://github.com/material-components/material-components-android/releases/tag/1.5.0-alpha02) - [1.5.0-alpha03](https://github.com/material-components/material-components-android/releases/tag/1.5.0-alpha03) - [1.5.0-alpha04](https://github.com/material-components/material-components-android/releases/tag/1.5.0-alpha04) - [1.5.0-alpha05](https://github.com/material-components/material-components-android/releases/tag/1.5.0-alpha05) - [1.5.0-beta01](https://github.com/material-components/material-components-android/releases/tag/1.5.0-beta01) - [1.5.0-rc01](https://github.com/material-components/material-components-android/releases/tag/1.5.0-rc01) ### [`v1.4.0`](https://github.com/material-components/material-components-android/releases/tag/1.4.0) [Compare Source](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0) ### What's new since 1.3.0 - `NavigationRailView` ([Docs](https://github.com/material-components/material-components-android/blob/master/docs/components/NavigationRail.md)) - Motion theming ([Docs](https://github.com/material-components/material-components-android/blob/master/docs/theming/Motion.md#theming)) #### Other highlights - Support for centered titles in `MaterialToolbar` ([`cbf528e`](https://github.com/material-components/material-components-android/commit/cbf528e3a6deaa2bc39d0836b3a850b27c2ada49)) - Max width for `MaterialButton`s ([`eb5453c`](https://github.com/material-components/material-components-android/commit/eb5453cd7ee0cc8e0610b57d39b44b26cd95f31e)) - Max width for `BottomSheet`s ([`63d01aa`](https://github.com/material-components/material-components-android/commit/63d01aa2686d56b165e9131265a449d810359695)) - Updated edge-to-edge support for `BottomSheet` ([`c15139a`](https://github.com/material-components/material-components-android/commit/c15139a5c3f685ff8c0e64857fdac4b2afc49abc)) ([`b163458`](https://github.com/material-components/material-components-android/commit/b163458a3a7919d7b7c76de81a7a9b5c940c8def)) ([`c574e9e`](https://github.com/material-components/material-components-android/commit/c574e9ea23a6f54f7e0582495f9a9d3691b6af22)) ([`28c3254`](https://github.com/material-components/material-components-android/commit/28c3254d2a9d51a76ef25aa245a6a140536bcdb6)) - `TextField`'s collapsed hint background no longer overlap with the field's background color ([`6015a4e`](https://github.com/material-components/material-components-android/commit/6015a4e901dc55a02f86e12703820d520684f95e)) #### Dependency Updates | Dependency | Previous version | New version | | - | - | - | | compileSdkVersion | 29 | 30 | | androidx.core | 1.2.0 | 1.5.0 | #### Full list of changes </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuOCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kumi merged commit 45929487fd into main 2025-03-15 15:17:23 +00:00
kumi deleted branch renovate/com.google.android.material-material-1.x 2025-03-15 15:17:23 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kumi/andOTP#12
No description provided.