github material-components/material-components-android 1.8.0-alpha01

latest releases: 1.13.0-alpha03, 1.13.0-alpha02, 1.12.0...
22 months ago

What's new

  • MaterialTimePicker redesign: 2-ring support for 24H clock!
  • Updated SDK target version to 33 (89a2b6f)

Dependency Updates

Dependency Previous version New version
errorproneVersion N/A 2.15.0

Library Updates

  • Button

    • Added support for toggleable Icon buttons. (8a4af07)
  • Divider

    • Fixed logic of determining whether to draw divider in MaterialDividerItemDecoration. (6f547d4)
  • BottomSheet

    • Add shouldRemoveExpandedCorners attribute (6e6c53a)
    • 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)
    • Fixed drag view alpha not changing when swipeDirection is END_TO_START (39b4c76)
    • Add method to calculate slide offset (2958d8d)
    • Add attribute for significant velocity threshold (d845db8)
  • TextInputLayout

    • 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)
    • Adding set/get methods to control minimum width and height for start/end icons (633b3ce)
  • TopAppBar

    • 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)
  • Slider

    • Update motion attributes (c7a3d5e)
    • Release slider thumb if gesture has been cancelled (f3a5f2f)
    • Ensured the minimum touch size of handle is 48dp (f3952f8)
  • MaterialDatePicker

    • 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)
  • TimePicker

    • 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)
  • Switch

    • Update dev doc with the new switch design (a6df254)
    • Move public.xml to the correct directory (aa59bdd)
  • A11y

    • Fix focus when changing input mode (eca825f)
    • Update hour content description for 24h clock (ee19b01)
    • Make Clock text scale with system font size (e9fc0a0)
  • BottomAppBar

    • Update motion specs for show/hide bar (21b74f9)
  • CollapsingToolbarLayout

    • Exposing methods to set text size for collapsed and expanded text size (29bed9a)
  • Tabs

    • Update motion attributes for tab layout (d1c5a52)
    • Fix icon position in icon-only tabs (cebf591)
  • ProgressIndicator

    • Finish all visibility animations when animate = false (26aa22b)
  • ExtendedFloatingActionButton

    • Update extend/shrink motion spec (9db041c)
  • Snackbar

  • Shape

    • Change relative corner size behavior for "vertical" shapes (158d9f0)
    • Fix rotation angle calculation (41eb6d0)
  • Catalog

    • 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)
    • Fix favorite row button alignment in lower apis. (849be73)
    • Updated color in Crane, Fortnightly, and Shrine with the colors generated from custom theme builder. (676a658)
    • Moved edge to edge mode from the app header to CatalogPreferencesDialogFragment. (98ce465)
    • Add ability to favorite a specific demo fragment/activity to launch on start (15196f5)
    • Updating catalog to remove M2 options for Bottom App Bar (8bec167)
  • Other

    • Add @CanIgnoreReturnValue to some APIs that return this. (44cc9b7)
    • Update lerp to accept input ranges of any size. (1a336b5)
    • Simplify size computations for some views (41d4460)
    • Added AnimatableView Interface. (edcb7fb)

Full list of changes

1.7.0-rc01...1.8.0-alpha01

Don't miss a new material-components-android release

NewReleases is sending notifications on new releases.