Skip to content

1.6.0-alpha03

Compare
Choose a tag to compare
@hunterstich hunterstich released this 25 Feb 19:23

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