github material-components/material-components-android 1.8.0-alpha02

23 months ago

What's new

  • New SideSheet component! Standard and modal configurations available.

Library Updates

  • SideSheet
    • Added standard and modal side sheets. (10d72ee)
    • Added standard side sheet documentation. (4364c4f)
    • Moved behavior_draggable attribute to the resources package. (1d3e374)
  • MaterialDatePicker
    • 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)
  • 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)
  • MaterialCardView
    • Update motion specs for Z-shadow (3975a2e)
    • Add fade animation for checked icon drawable (7d129ea)
  • 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)
  • 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)
  • Tabs
    • 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)
  • Documentation
    • Add android dev doc and source link to the Material dev doc (00c9ce5)
    • Update spec link to the new Material3 site (bdb8253)
    • Fix broken column due to extra newline (ad0d73a)
    • Update docs to remove links to Kotlin docs and remove Kotlin from dependency (bde2092)
  • A11y
    • 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)
  • Material 3
    • Add additional condition to check dynamic color supported devices (347cb9e)
  • TimePicker
    • Fix NumberFormatException (0c204b8)
    • Fix divider alignment on the clock display (6d956ed)
    • Pre-fill hour and minute edit texts in text input mode (56ea071)
    • Revert pre-fill hour and minute edit texts in text input mode (9806ad9)
    • 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)
  • Tokens
    • 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)
  • BottomSheet
    • Update elevation to match specs (6cf56a5)
    • 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)
  • ProgressIndicator
    • Integrates tokens into M3 styles. (ab063b7)
  • Catalog
    • Add input mode selector (09f1ee5)
  • BottomNavigationView
    • Updated active text label to use a bold typeface. (11e98f2)
    • Fix hardcoded number of children (a2ce1dd)
  • NavigationView
    • Fix subheaderInsetEnd setter (88c448e)
  • BottomAppBar
    • Add attribute to remove shadow on container (1322e61)
    • Added the handle to the bottom sheet. (4c11606)
  • Theming
    • Added a theme attribute for outline-variant color. (ac6f13c)
  • MaterialButtonToggleGroup
    • Handle setEnable for children (e8bfad5)
    • Added the default Material3 toggleGroupStyle (b6c6600)
  • Divider
    • Integrated M3 tokens and updated color. (2f6ebb4)
  • Switch
    • Removed resources from deprecated tokens. (112378d)
  • Checkbox
  • Color
    • 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)
  • ExposedDropdownMenu
    • Fix MaterialAutoCompleteTextView.setDropDownBackgroundDrawable(Drawable). (db115f0)
  • Other
    • Explicitly denote the target SDK version of bottom sheet tests (9907579)
    • Fixed SwipeDissmissBehavior not work when down touch event consumed. (624543f)
    • Set the outline to a path whenever possible (8cd2341)
    • Update string translations (7c56473)
    • Add internal method to disable hiding gestures (158a413)

Full list of changes

1.8.0-alpha01...1.8.0-alpha02

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

NewReleases is sending notifications on new releases.