Skip to content

Releases: material-components/material-components-android

1.7.0-rc01

30 Aug 21:26
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates

Library Updates

  • Checkbox
    • Fixed NPE crash due to layer drawable's constant state issue in APIs < 23. (7e18ac4)
    • Fixed a11y announcement for indeterminate state. (ec1663f)
  • Snackbar
    • Made snackbar javadoc more clear of how its dismissing works. (5cb92c8)

Full list of changes

1.7.0-beta01...1.7.0-rc01

1.7.0-beta01

11 Aug 19:41
Compare
Choose a tag to compare

Important

New minimum requirements for your app project:

What's new

  • Updated MaterialCheckBox component with indeterminate state support!
  • New icon-only styles for MaterialButton component!
  • New MaterialSwitch component! (Spec)
  • Updated BottomAppBar component! (Spec)

Dependency Updates

Dependency Previous version New version
androidx.appcompat 1.5.0-beta01 1.5.0

Library Updates

  • Divider
    • Fixed lastItemDecorated not being applied to horizontal orientation. Also updated the demo to include both orientations. (92caa19)
  • BottomSheet
    • Disable drag handle when restricting expansion (d4da5b1)
    • Handle half-expanded state when drag handle clicked (f0e6625)
  • Catalog
    • Updated Catalog preferences demo to use MaterialSwitch (f82e727)
    • Updated catalog preferences for shape corner sizes. (f162494)
    • Fixed corner family options in preference. (f6942a4)
  • 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)
  • Checkbox
    • Fixed pre 21 issue where the icon did not update its color according to its state properly (2cc8932)
    • Updated checkbox documentation. (130a35c)
    • Added indeterminate state support to the checkbox. (4da7ce1)
    • Fixed icon color not updating correctly in light mode in pre 21. (a5f8e93)
    • Fixed 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. (f76b75a)
    • Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used. (04fed55)
    • Updated checkbox to M3 look. (1666fbc)
  • Slider
    • Fixed NPE when trying to remove labels when ViewOverlay doesn't exist yet (95e585c)
  • Badging
    • Fixed NPE in BadgeState (4f844ab)
  • Switch
    • Updated doc with the new switch design (f469720)
  • Documentation
    • Updated typography guideline to M3. (104a342)
  • BottomAppBar
    • Updated catalog to remove M2 options (048c35d)
    • Updated docs (be86168)
    • Small bugs and padding adjustments (949f623)
  • Color
    • Added additional condition to check dynamic color supported devices (81c2ded)
  • ExposedDropdownMenu
    • Fixed missing icon activated color. (3af5784)
  • Button
    • Added support for toggleable Icon buttons. (631f0eb)
  • Other
    • Added defensive null check for typeface passed in to util (2e815d2)

Full list of changes

1.7.0-alpha03...1.7.0-beta01

1.7.0-alpha03

14 Jul 21:05
Compare
Choose a tag to compare

Important

New minimum requirements for your app project:

What's new

  • New MaterialSwitch component! (Spec)
  • Updated BottomAppBar component (Spec)

Dependency Updates

Dependency Previous version New version
androidx.appcompat 1.4.0 1.5.0-beta01
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)

Library Updates

  • Switch
    • Update to AppCompat 1.5.0-beta01 and remove workarounds (also update compileSdkVersion/targetSdkVersion to 32) (e968929)
    • Tokenize the new switch styles (e9b5328)
    • Refine tinting logic to have better performance (072578d)
    • Add thumb icon tint to the new switch styles (2f33cfc)
    • Add associated text styles (06bba00)
    • Add material switch style to M3 themes (1e08c68)
  • BottomSheet
    • Add drag handle to scrollable demo (f89a91f)
    • Create a drag handle view which support accessibility control (ac7b761)
    • Do not find scrolling child that's not visible (1fe1618)
    • Update javadoc of setHideable() method (132ff88)
    • Fix BottomSheetDialog edge-to-edge mode (2d3024e)
    • Fix BottomSheetDialog edge-to-edge mode (fd8d30d)
    • Fix full-screen dialog layout after restrict expansion is enabled once (109748e)
  • ProgressIndicator
    • Renamed res/animator to res/anim. (04f4a1a)
    • Fix ProgressIndicator's size under a complex measurement (71bfaca)
    • Make progress indicator drawables scalable by setBounds() (69e484d)
  • Catalog
    • Small fixes (51c59fa)
    • Updated Buttons Demo to showcase toggleable icon only buttons. (273554f)
    • Updated checkbox catalog demo to include error state. (0cb355b)
    • Migrate M3 catalog to use the new Switch design (93e53d0)
  • Documentation
    • Add an example to demonstrate how to make bottom sheet dialog edge-to-edge (57a3c98)
    • Update Snackbar doc regarding CoordinatorLayout (ef2c2fa)
    • Update Getting Started Guide with new minimum requirements for 1.7.0-alpha02+ (cdc781d)
  • FloatingActionButton
    • Reorder styles. (5ff3930)
    • Integrate component tokens. (ac5c4df)
    • Combined Small, Regular, and Large styles in one catalog fragment. (ab04c9c)
    • Migrated "regular/default" sized styles to new shape system. (25482b1)
    • Fix the issue that state-list animator cannot be customized (ea12f84)
  • Tokens
    • Integrate component tokens. (2719859)
    • Included parent display group names in the output file comments. (cc317e1)
    • Updated formatter to add an new line between token_set sections for better readability. (cd37b91)
    • Integrated elevation overlay color. (d320d48)
    • Upgraded token resources to v0.99. (d0c3ea0)
  • Snackbar
    • Avoid update layout if bottom margins for anchor view does not change (fd5ee4a)
    • Add defensive null check for messageView.getLayout() in SnackbarContentLayout onMeasure (e981f2f)
  • Slider
    • Fix label visibility when slider is hidden (ed11e69)
  • TopAppBar
    • Add status bar foreground to compress catalog demo. (4e52469)
    • Exclude gone views from scroll range calculation (687e735)
    • Add clearNavigationIconTint() method (c5b37e6)
  • BottomNavigationView
    • Updated item ripple to be contained within active indicator shape when enabled. (11578b3)
  • ExtendedFloatingActionButton
    • Updated show and hide motion specs to use motion tokens. (5c0003c)
  • Checkbox
    • Added support for error state. (8dd9c7e)
  • MaterialButton
    • Add methods to not toggle checked state on buttons on click (a601107)
  • RadioButton
    • Refactored button tint color resource and updated docs (254abc5)
  • TextInputLayout
    • Delete unused paint (b18f45e)
    • Fix "android:enabled" attribute support (15fa4db)
    • Stop saving/restoring TextInputLayout's themeable fields (051410b)
  • CollapsingToolbarLayout
    • Added experimental API to allow generic customizations of the StaticLayout.Builder used for the title text (241aa5c)
  • BottomAppBar
    • Changing default Material3 theme to follow M3 specs (53b3001)
    • Token integration (f2f588a)
    • Add attribute to remove embedded FAB elevation (f2423de)
    • Add fab end margin attribute (88a73eb)
    • Add menu alignment attribute (397e48f)
    • Generated resources from tokens. (4188995)
    • Add new anchor mode attribute for FAB that has an embedded option (cab45dd)
  • Tabs
    • Mutate selected indicator drawable when it's being set (d1895cd)
    • Refine tab update logic from ViewPager adapters (36efca0)
    • Fixed indicator not updating when a tab to the start/left of the selected tab is removed. (2fc2e6a)
  • Transitions / Motion
    • Update documentation with new visual assets. (a9752ee)
  • TimePicker
  • NavigationView
    • Update foreground boundaries of menu items when setting a new foreground (4dc3d93)
  • Divider
    • When lastItemDecorated false then creates a blink with the last view contains a dropdown from visible to gone (03c4353)
  • ShapeableImageView
    • Don't change layer type when view is detached from the window (74b7706)
  • MaterialDatePicker
    • Improve error formatting (be8e4e2)
  • A11y
    • Fix announced Chip count and index (9b1a74b)
  • Chip
  • Other
    • Version 1.7.0-alpha03 (a40f5fa)
    • Automated g4 rollback of changelist 458265064 (34ac0ec)
    • Update guidelines for CollapsingToolbar + PreferenceFragmentCompat (201b4a0)
    • Automated g4 rollback of changelist 457744460 (10ac255)
    • Automated g4 rollback of changelist 458476376 (c49f961)
    • Added support for toggleable Icon buttons. (2d83321)
    • Automated g4 rollback of changelist 457648699 (65a3ac5)
    • Remove unused public.xml resources (cd80b71)
    • Automated g4 rollback of changelist 454163860 (ca2da6c)
    • Automated g4 rollback of changelist 457576897 (7e9045b)
    • Updated translated strings. We know how to say "Cancel" now :) (3fdfb6e)
    • Fixed overlapping of compat shadow of inner corners. (ecb6284)
    • Updated dev doc. (36e204f)
    • Update Appcompat and Emoji2 libraries from aosp-androidx-g3-release with build id #8479725 (eb54d6a)
    • Add glide to catalog dependencies. (8a352fd)
    • Automated g4 rollback of changelist 452075757 (a9a57af)
    • Added isMaterial3DynamicColorApplied attr to identify whether dynamic colors are being used in a theme. (7d0f1ba)
    • Migrated to new shape system. (3db2109)

Full list of changes

https://github.com...

Read more

1.6.1

31 May 19:18
948d5da
Compare
Choose a tag to compare

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

1.6.0...1.6.1

1.7.0-alpha02

25 May 15:18
Compare
Choose a tag to compare

Important

New minimum requirements for your app project:

What's new

  • New MaterialSwitch component! (Spec)

Dependency Updates

Dependency Previous version New version
androidx.appcompat 1.1.0 1.4.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)

Library Updates

  • Switch
    • Create icon style for the new switch design (a3ca744)
    • Added token generated resources. (6512092)
    • Support tinting thumb & track according to thumb position (3b257c0)
    • Add a workaround to get thumb position (72bac61)
    • Override switch width set by AppCompat to respect the drawable width (fd40fea)
    • Implement track decoration in the new design (1e7bd27)
    • Add thumb and track drawables for the new switch design (1414f9e)
    • Create a base skeleton of the new MaterialSwitch package/class (b2a3fbe)
  • Chip
    • Fix ChipGroup.getCheckedChipIds() returns wrong state (413a047)
    • Migrate M3 chip styles to new shape system. (3fc53ac)
    • Fix chip layout not updated when programmatically setting text size (788866e)
  • Snackbar
    • Fix margins are added multiple times when show() is called (46fa8cc)
    • Add shape theming support and update M3 style to use new shapeAppearanceCornerExtraSmall (a717813)
    • Make dismiss direction the same as swipe direction (5b9f27a)
  • MaterialButton
    • Updated M3 button style to add outlined icon button style. Updated catalog to showcase the same. (467a2c9)
    • Updated M3 button style to add filled tonal icon button style. Updated catalog to showcase the same. (14578ed)
    • Updated M3 button style to add filled icon button style. Updated catalog to showcase the same. (25606cf)
    • Always update drawable state when background changed (363e2b1)
    • Added materialIconButtonStyle attribute and updated M3 doc to document icon (only) button style and attribute. (402bdf4)
    • Migrated shape appearance to new shape system. (1d3bb00)
    • Fix the issue that button state is not updated (45b99f6)
  • Color
    • Added DynamicColorsTest. (66581f2)
    • Fix Resources Loader bug for color harmonization (78d2c1f)
    • Update Dynamic Colors condition (b3a7daf)
    • Provide better logging for ColorResourcesTableCreator (29fddaa)
    • Refactored ColorHarmonizationDemoFragment to DemoActivity (65e7506)
    • Refactored PreferencesActivity to allow configurations on any activity-level preferences/options (dfd8dba)
    • Added DynamicColorsTest. (a2507b8)
    • Updated color harmonization demo (dc65df3)
    • Fix resources being re-harmonized when wrapContextIfAvailable() is used. (f0f07c5)
    • Added ColorGrid classes for color harmonization demo. (0347587)
    • Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (66990a1)
    • Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (824a12b)
  • TopAppBar
    • Fix copy constructors (382ce9c)
    • Add null check for logo ConstantState check (2ac796f)
    • Loosen check for scrollable child when adding a11y actions (4b81bb1)
    • Fix scrolling for a11y (72228f4)
    • Fix collapsing title issue with different fonts (0c341c4)
    • Fix margins not applied when collapsed and expanded text size and type face are the same (526ce8c)
    • Add setLiftOnScrollTargetView() method (d6c4354)
  • TextInputLayout
    • Add a new custom length counter field and getters/setters to switch how text length is calculated for the counter. (4ded01e)
    • Link OnItemSelectedListener of AutoCompleteTextView with the actual drop-down list (2db8b0c)
    • Fix hint is not displayed when expanding space is limited (73cb1b6)
    • Fix for TextInputLayout leak via AccessibilityManager. (673cefc)
    • Centralize icon view state handling logic (ac74bc3)
    • Move end icon and content description logic to the layout class (86b512a)
    • Centralize accessibility event dispatching logic for drop-downs (d3ab6d7)
    • Remove TextInputLayout.getEditText() calls from EndIconDelegates (7b2f924)
    • Fix icon ripples go behind the edit text (2c0e42f)
    • Move drop-down background and ripple creation to TextInputLayout class (1a42c74)
    • Updated shape to use M3 attrs/styles. (0e4e44e)
    • Create EndIconDelegate.deactivate() method and remove the relevant listener (a0e8c35)
  • A11y
    • Make multi-selection Chips announced as Buttons (d4c2c95)
    • Announce number of items in drawer (b1f7d5b)
    • Fix label for hour/minute EditTexts. (5b78bf4)
  • TimePicker
    • Properly align text vertically in MaterialTimePicker on S+. (703249d)
    • Clean up shape appearance hardcoded in layout files. (269830e)
    • Migrate to new shape system (f302da7)
    • Restore hour/minute selection when switch to text mode (72abed0)
  • BottomSheet
    • Add back accidentally removed setLightStatusBar method and annotate it as deprecated (53086a0)
    • Fix bottom sheet dialog status bar color adjustment (1a91e68)
    • Exposing bottom sheet hide friction with get/set methods. (be1b38c)
    • Migrated shape appearance to new shape system. (921868d)
  • Divider
    • Fixed extra space when lastItemDecorated = false (714521b)
  • Slider
    • Add back deleted tooltip shape appearance (64bdf9e)
    • Updated tooltip shape style to use M3 value. (75af80c)
  • Transitions / Motion
    • Update container transform to use new motion system. (f2f454b)
  • MaterialCardView
    • Migrated shape appearance to new shape system. (bfce84a)
  • CollapsingToolbarLayout
    • Allow application to Set ellipsis to Title in CollapsingToolBar (7b043c3)
  • NavigationRail
    • Update active indicator to use new shape system. (f700e6d)
  • ProgressIndicator
    • Fix indeterminate progress indicator not working on API 22 (61cbb8c)
  • BottomNavigationView
    • Updated active indicator to use new motion system. (1995438)
    • Update 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)
  • MaterialDatePicker
    • Migrate to new shape system (91a2550)
    • Hide the keyboard when switching to calendar mode (5d6678c)
  • FloatingActionButton
    • Migrated "Large" styles to use new shape system. (30bb583)
    • Added "Small" styles with new shape system. (acc7569)
    • Updated FAB to use new motion attributes. (934985e)
  • BottomAppBar
    • Add a callback for whenever bottom view hides/unhides through scrolling (21f9b0f)
    • Updated FAB alignment mode slide animation to use new motion attributes. (722756e)
  • Tokens
    • U...
Read more

1.6.0

04 May 21:40
Compare
Choose a tag to compare

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

1.5.0...1.6.0

Full list of release notes

Read more

1.6.0-rc01

19 Apr 20:27
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates

Library Updates

  • A11y
    • Make picker header focusable to improve TalkBack response (9dd0952)
    • Attach/detach badge contentDescription when using menuItem. (bed5c59)
    • Make label important for accessibility (ebc9d19)
  • 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)
  • Material 3
    • Add additional condition to check dynamic color supported devices (51093e1)
  • MaterialDatePicker
    • Fix edge-to-edge mode being applied multiple times (e1ee959)
  • TopAppBar
    • Fix app:expanded=false not working (2f3110f)
  • Color
    • Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aa)
  • Other
    • Changed gradle so that tests run in parallel, preventing OutOfMemory errors (a8256c2)
    • Make sure targetSdkVersion is applied to all Gradle sub projects (9be224b)
    • Update Robolectric to 4.7.3 (aeed987)
    • Update library version to 1.6.0-rc01 (9e758af)

Full list of changes

1.6.0-beta01...1.6.0-rc01

1.7.0-alpha01

15 Apr 17:16
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates

Library Updates

  • TextInputLayout

    • Centralize EndIconDelegate listener logic (26308d9)
    • Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (784f901)
    • Create EndIconDelegates in an on-demand fashion (7c160c8)
    • Extract end components from TextInputLayout (6cdf7b5)
  • ExposedDropdownMenu

    • Updated the elevation of the popup to match M3 specs. Also fixed bug where elevation wasn't being read via xml. (2c335b5)
    • Removed update dropdown background call from setInputType as it indirectly calls setRawInputType (f915ffd)
    • Update dropdown background when setRawInputType is called. (f31414a)
    • Fixed android:popupBackground not working in xml/styles for the AutoCompleteTextView. (df3a708)
    • Update background when setInputType is called so that ripple is or isn't present properly. (1c02b62)
  • DatePicker

    • Fix edge-to-edge mode being applied multiple times (c6a654c)
    • expand the touch area of a month's days (ffb64c1)
    • Fix for issue that causes the month view not to expand to show all days in a month. (a1ec73b)
  • RadioButton

  • Tabs

    • tab layout should not ignore focused state ripple color (5a0541f)
  • Slider

    • Make slider's height adjustable with track height or thumb radius (dc0d8a9)
  • Button

    • Fix icon textStart/End alignment with multiline text (b6b895a)
    • Fix icon position with multiline text (19d0500)
  • TopAppBar

    • Fix app:expanded=false not working (05be1b9)
  • TextView

    • Deprecated 4 arg constructor. (df273cd)
  • NavigationRail

    • Fix bottom padding being applied to top bug (5173944)
  • Accessibility

    • Added more a11y tests for text fields and exposed dropdown menu. Also updated robolectric version (863d6aa)
    • Make picker header focusable to improve TalkBack response (c23daec)
    • Attach/detach badge contentDescription when using menuItem. (ee49c5a)
    • Make label important for accessibility (0ba0d65)
    • Fixed bug where setting the AutoCompleteTextView's input type to TYPE_NULL in code would make it unusable in a11y touch mode, as it was still seen as editable for a11y. (01021a7)
    • Update accessibility className used for hour/minute Chips (a51d1dc)
    • Fixed text field's focused rect wrong behavior when using a11y magnification. (dce4419)
  • Transitions / Motion

    • Open MotionUtils and update resolveThemeInterpolator to load both new and legacy easing attributes. (894edb6)
    • Add new motion system duration theming (0ab2068)
    • Add motion easing xml interpolators and theme attributes. (0d91f4a)
  • Color

    • Add additional condition to check dynamic color supported devices (6fdc114)
    • Refactored MaterialColorSpec to take @ColorRes or @ColorInt for the demo. (f43995f)
    • Fix MaterialColors cannot handle CSL issue (2544c1f)
    • Update link for m3 Color design guidelines (2a7f14a)
  • Catalog

    • Make card selection accessible (a49fa6a)
    • continuous slider demo should use a single switch (dbfcd35)
    • consolidate slider switches to a single switch (315c496)
  • Documentation

    • Added a note for shape theming. (e74baff)
    • Add status bar / edge-to-edge section to Top App Bar dev doc (b8e1f97)
    • Correct style name used in FAB dev doc (d26cb45)
  • Tokens

  • Other

    • Changed gradle so that tests run in parallel, preventing OutOfMemory errors (e9b04a6)
    • Make sure targetSdkVersion is applied to all Gradle sub projects (06348a0)
    • Update Robolectric to 4.7.3 (139f35c)

Full list of changes

1.6.0-beta01...1.7.0-alpha01

1.6.0-beta01

22 Mar 19:53
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates

Library Updates

  • Color
    • Deprecated previous apply...() APIs and add overload for activity apply method with no options (8363cde)
    • Iterated on HarmonizedColors and DynamicColors feedback (b70bbc2)
    • Updated dark tone values for ColorRoles. (7b51353)
    • Updated getters/setters naming in the HarmonizedColorsOptions (bfb6086)
    • Fixed formatting and typos for resources harmonization. (d24b3a9)
    • Updated Color dev doc and added new section for Apply dynamic colors using DynamicColorsOptions and Resource Harmonization. (a81a658)
  • NavigationRail
    • Updated documentation to include window inset attributes. (3b2b56e)
    • Fixed bottom padding being applied incorrectly (5173944)
  • TextInputLayout
    • Added class documentation to use TextInputLayout's context to construct the child TextInputEditText. (1085583)
    • Fixed end icon focus in a11y mode when a11y mode is turned on/off after views have been attached. Also added a11y tests. (b9a21f0)
    • Fixed text field's focused rect wrong behavior when using a11y magnification. (a8d8e70)
  • Tokens
    • Upgraded to v0.79. (ccfc0ee)
    • Migrated deprecated motion token generated resources. (91c2530)
    • Removed deprecated font family resource. (6a4fa0b)
    • Added missing palette token generated resources. (e7a691e)
    • Added new shape appearance styles. (a5b78e6)
    • Added lineHeight attr into TextAppearance. (b4d4450)
  • TimePicker
    • Updated accessibility className used for hour/minute Chips (981129f)
    • Updated to give more context on hour/minute selection (380778f)
    • Fixed TalkBack from announcing unavailable action (1b14715)
    • Fixed TalkBack announcing wrong selection between hour/minute (47781d5)
    • Fixed wrong clock item selection (9cdf4c9)
  • Tabs
    • Fixed tabs with padding in fixed mode from scrolling (9c2df28)
  • Slider
    • Added LABEL_VISIBLE to label behavior and added a demo fragment in catalog. (ca8594d)
    • Refined javadocs of thumb radius setters (78b532c)
  • DatePicker
    • Always go edge-to-edge in fullscreen mode (be6050a)
  • Catalog
    • Fixed status bar and action mode glitches in ActionBar demo (ebfb3db)
    • Removed the overflow menu from the bottom app bar demo (52daa6f)
  • Material 3
    • Added additional condition to check dynamic color supported devices (69121c8)
  • NavigationView
    • Fixed navigation view item ripple (cfc307e)
  • TopAppBar
    • Fixed centering logic when title and subtitle are the same (f69e3a0)
  • Other
    • Updated bug report template with more instructions for minimal sample app (a147bca)

Full list of changes

1.6.0-alpha03...1.6.0-beta01

1.6.0-alpha03

25 Feb 19:23
Compare
Choose a tag to compare

Dependency Updates

  • No dependency updates

Library Updates

  • Color
    • Refactored DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052)
    • Updated DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5)
    • Updated DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f)
    • Added missing M3 color attributes to public (0c8fc41)
    • Add support for color resources harmonization in XML (869d943)
  • TextInputLayout
    • Provide set simple items API with default item layout for MaterialAutoCompleteTextView (85ed993)
    • Updated documentation to clarify end icon mode's expected usage and behaviors relating to the icon's drawable. (1b7e92d)
    • Fixed icons behaving unexpectedly when switching modes + bug of wrong icon tint state when setting an icon programmatically. (ae16efd)
    • Added line mask expansion animation to filled box underline. (2463946)
    • Added support for minEms and maxEms (7d46b95)
  • MaterialButtonToggleGroup
    • Removed getAccessibilityClassName() override since TalkBack doesn't recognize the class name, in favor of getting identified as a generic list container (96fa85e)
  • Catalog
    • Added Navigation Drawer demo (2ce5f3b)
    • Removed Nav Rail Fab elevation to remove shadow in catalog demo. (6c1bdd7)
    • Updated Fonts section title (8b9be72)
    • Updated catalog preferences menu to a nested scroll view. (9a5ec35)
  • Dialog
    • Fixed crashes when colorControlHighlight is a CSL (1c5c054)
  • NavigationRail
    • Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (c66633b)
    • Enabled Resources Harmonization with Material defaults in Catalog app (d7a07ab)
  • Tokens
    • Better output ordering (37fcd24)
    • Generated TextAppearance styles instead of atomic typography resources. (878ea36)
    • Updated motion token resources. (0de6ad4)
    • Updated atomic shape resources to ShapeAppearance styles. (e721c46)
    • Re-upgraded to v0.73. (5386328)
  • Snackbar
    • Fixed the issue that setting margins programmatically does not work (d5856fd)
    • Added support for setting max lines programmatically (4c7be52)
    • Fixed lint error caused by @IntDef (3cf23e4)
  • Badging
    • Prevent multiple badges being attached to a menu item at the same time (b3db1cc)
  • CollapsingToolbarLayout
    • Fixed shadow issues when transition between expanded and collapsed states. (86e8b00)
    • Constrain adjusted font weight to acceptable values (5dce006)
  • A11y
    • Fixed prefix/suffix not being properly announced when the text field is focused and they show up. Improved their screen reader focus order to align with the visual order of the elements: navigating to the left will focus on the prefix and navigating to the right will focus on the suffix. (b690127)
    • Fixed Switch Access not being able to reach clock items (f9914da)
  • TopAppBar
    • Support scaleType and adjustViewBounds for logo (b01051b)
    • Made title and subtitle match ActionBar's (0f2b537)
  • MaterialCardView
    • Fixed crash on Pre-Q devices when checked icon is null (b4cab87)
  • BottomNavigationView
    • Added NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (1222268)
    • Fixed IllegalArgumentException in preview mode. (18554d9)
    • Removed font scaling from NavigationBarView item labels. (d66676f)
  • BottomSheet
    • Updated edge-to-edge paddings when bottom sheet is laid out (19af0ac)
    • Fixed IME bottom padding being ignored in edge-to-edge mode. (1304522, 6454b87)
    • Added support for background tint without shape appearance set (13dbc9f)
    • Fixed activity leak when setting states on destroying activities (43114c4)
  • MaterialDatePicker
    • Start align edit icon in landscape (94cd532)
  • Chip
    • Refactored chip group selection logic to a standalone class (f3c6430)
  • MaterialButton
    • Fixed icon position not being updated when size is not changed (b0f3700)
  • TimePicker
    • Added setters for hour and minute (85a4405)
  • Toolbar
    • Hide shadows on all M3 Toolbar styles, not just Surface style (b49284e)
  • Slider
    • Added support for custom thumb drawables (17da000)
  • Typography
    • Refactor how bold typefaces are created (2d90a7a)
    • Clamp typeface weight when adjusting it (dff1e4e)
    • Support setting text color programmatically. (10edcd1)

Full list of changes

1.6.0-alpha02...1.6.0-alpha03