Skip to content

Releases: material-components/material-components-android

1.14.0-alpha02

18 Jun 15:56
Compare
Choose a tag to compare

Important

  • The compileSdkVersion was updated to 35.

Dependency Updates

Dependency Previous version New version
androidx.core.core 1.6.0 1.16.0

Library Updates

  • AppBar
    • Fixed the bug that setBackground will reset the internal MaterialShapeDrawable for lift-on-scroll feature. (1adc501)
  • BottomSheet
    • Fixed crash when protections are set before setContentView is called (d211909)
    • Added half-expanded state description for accessibility (95e7b45)
    • Added support for androidx.core ProtectionLayout API and update dependency to 1.16 (e7f9f63)
  • Catalog
    • Made buttons tonal instead of outlined (1c2beb1)
    • Updated NavRail description in catalog (1dc3923)
    • Updated FAB Menu demo title string to make it more clear it is via Compose interop (2554c4f)
    • Suppress unchecked cast warning in TocAdapter (b92bc51)
    • Added Catalog demo to show using Compose FAB Menu in Views via interop (638156d)
  • Chip
    • Get default minTouchTargetSize from material attributes (ae68654)
  • Documentation
    • Added Material3Expressive theme content to getting started page (a860782)
    • Updated Badges doc to make it more user friendly (a1e2f9e)
    • Updated Search Bar doc to make it more user friendly (e249abf)
    • Updated Switch doc to make it more user friendly (fd5200c)
    • Fixed expanded attr and method references in NavigationRail and BottomNavigation (a54e07e)
    • Updated Material Text View doc to make it more user friendly (4a5da9a)
    • Updated Split Button usage documentation (86372ca)
    • Updated Divider doc to make it more user friendly (af387d0)
    • Updated Checkbox doc to make it more user friendly. (20d263e)
    • Updated Chips doc to make it more user friendly (5a37cf9)
    • Fixed Dialog spec link (0764d31)
    • Updated Floating and Docked toolbar docs (8f11252)
  • FloatingActionButton
    • Fixed labelOpacity property (6b41a60)
    • Fixed typos in comments (2f79f31)
    • Fixed the width calculation in the wrap_content extend strategy (a3a7d86)
  • MaterialButton
    • Updated the shapes of buttons when the orientation is changed. (bbd942c)
    • Fixed connected button groups to not morph button size. (0e6d4f4)
    • Fixed width morph in vertical button groups. (6d8d750)
    • Fixed checked non-checkable button not recover shape and container color (7df9b07)
    • Overflow menu item's text should be CharSequence (7428b2b)
    • Use button's text or content description as default menu item text. (fa0e908)
    • Added overflow feature. (981877d)
  • MaterialDatePicker
    • Replaced deprecated announcement API with accessibility pane title (787ad71)
    • Avoid re-creating text input picker fragment on configuration changes (f843ab0)
    • Set cursor to end of input text field when input is opened (65e7d8a)
    • Replaced the deprecated announcement API used for month navigation (91e6a97)
  • MaterialShapeDrawable
    • Updated ShapeAppearanceModel.Builder to not use extra ContextThemeWrapper for shape appearance overlay due to performance concerns (d16a193)
  • ProgressIndicator
    • Fixed stop indicator size when changing track thickness (dadbfa4)
  • SideSheet
    • Added support for enabling edge to edge via setFitsSystemWindows() (d754591)
  • Slider
    • Added ability to specify purely visual tick count in continuous mode (e62e66d)
    • Prevent duplicate accessibility announcements (ab52e6a, 917ce60)
    • Get default minTouchTargetSize from material attributes (9ae6b7f)
  • TextInputLayout
    • Replaced deprecated announceForAccessibility with accessibility live region (d438f09)
  • TimePicker
    • Set accessibilityDelegate for time announcement when editing (b5aee66, 2d73a5d)
    • Fixed setting time incorrectly in TimeFormat.CLOCK_12H (167451b)
  • TopAppBar
    • Fixed Extended FAB behavior demo to shrink and extend as expected. (1501d08)
  • Other
    • Fixed HideOnScrollBehavior bugs where setViewEdge() can't be used because EDGE_ constants are package private, and also client's setViewEdge() was being overridden by the internal setViewEdge() behavior in onLayout() (08de7b0)
    • Updated library version to 1.14.0-alpha02 (827e440)
    • Updated component string translations (eb935e6, 069bd97)
    • Modified some layout params overriden methods. (c1a432f)

Full list of changes

1.14.0-alpha01...1.14.0-alpha02

1.13.0-alpha14

03 Jun 20:18
Compare
Choose a tag to compare

Important

  • Expressive is moving to 1.14.0 starting with 1.14.0-alpha01, which is currently available. (#4803) (27226d6)
  • Updated compileSdkVersion to 35.

Dependency Updates

Dependency Previous version New version
androidx.dynamicanimation:dynamicanimation v1.0.0 v1.1.0

Library Updates

  • BottomSheet
    • Deprecated enableEdgeToEdge for bottom sheet dialogs on API 35+. (603f1ef)
    • Prevent ACTION_DOWN events on the BottomSheetHandleDragView from setting touchingScrollChild to true. (af7f254)
    • Fix keyboard animation on Android 14. (a0b4dfa)
  • Catalog
    • Update NavRail description in catalog. (28be49d)
    • Fix BottomWindowInsetView. (8699fe8)
  • Checkbox
  • Chip
    • Get default minTouchTargetSize from material attributes. (436437a)
    • Add a show all Chip for a11y. (8e33421)
  • Color
    • Updated to only draw surface color under the button's stroke when the buttons are actually overlapped. (7ae12b5)
    • ColorResourcesTableCreator: Fix length encoding for utf8 strings (7c62429)
  • Dialog
    • Add m3 styles for floating toolbar and docked toolbar for dialog. (1b58f5f)
    • Added Expressive styles. (0bd1749)
  • Documentation
    • remove {width=} and {height=} tags, and also remove unsupported tabs tags. (2e68da2)
    • Updated getting started Gradle, AGP, and studio requirements. (30f1850)
    • Updated Bottom Sheets doc to make it more user friendly. (e97782e)
    • Updated Side Sheet doc to make it more user friendly. (d0ba483)
  • FloatingActionButton
    • Fix the width calculation in the wrap_content extend strategy. (1e06f7c)
  • MaterialButton
    • Fixed a bug that checked state in XML was not respected. (0c5b17a)
    • Test improve memory usage when materialSizeOverlay is used. (571a196)
    • Update split button styles to lessen maker specification requirements and support consistency. (2aadbd1)
    • Add a demo to programmatically add/remove buttons in a button group. (4f55422)
    • Added a click action and toggleable control in button group demo. (8e52e94)
    • Fixed minor issues in button group demo and toggle group demo. (5161e71)
  • MaterialDatePicker
    • Replace the deprecated announcement API used for month navigation. (6a3d13f)
  • MaterialShapeDrawable
    • Update ShapeAppearanceModel.Builder to not use extra ContextThemeWrapper for shape appearance overlay due to performance concerns. (990fdb4)
  • NavigationRail
    • Force NavigationFrameLayout to be the available size at the minimum. (12fad1d)
  • ProgressIndicator
  • Search
    • Updating centered search bar text to have 8dp content start and end padding. (4070bef)
    • Added a clip bounds animation for searchview edit text. (5a600a8)
    • Add a placeholder textview to Searchbar that keeps track of searchview edit text in order to gracefully fade it out in searchview collapse animation. (be09936)
    • Added Expressive styles. (0b578fd)
    • Update centering layout logic to account for padding and content insets. (c2c660b)
  • Slider
    • Prevent duplicate accessibility announcements. (bccfdfa)
    • Get default minTouchTargetSize from material attributes.(422586e)
    • Fix label bounds for vertical slider in RTL. (23957e0)
    • Added Expressive styles. (3a29699)
    • Centered Slider Expressive updates. (781d344)
    • Reorganized styles. (72d011d)
  • Tabs
    • Don't try to detach an already detached TabLayout. (7144370)
  • TextInputLayout
    • Replace deprecated announceForAccessibility with accessibility live region. (e909768)
  • TopAppBar
    • Fix Extended FAB behavior demo to shrink and extend as expected. (13cdaba)
  • Typography
    • Added emphasized typescale to public attributes. (0c1a914)
  • Other
    • Bump MDC library version to 1.13.0-alpha14. (8e8948e)
    • Add a method to get the HideViewOnScrollBehavior associated with the view. (0f5974a)
    • Fix the target position of the view when sliding it off the screen without animation. (def80c5)
    • Updated compileSdkVersion to 35. (62f8561)

Full list of changes

1.13.0-alpha13...1.13.0-alpha14

1.14.0-alpha01

15 May 20:14
Compare
Choose a tag to compare

Important

  • The compileSdkVersion was updated to 35.

Dependency Updates

Dependency Previous version New version
androidx.dynamicanimation:dynamicanimation v1.0.0 v1.1.0

Library Updates

  • BottomSheet
    • Deprecated enableEdgeToEdge for bottom sheet dialogs on API 35+. (603f1ef)
    • Prevent ACTION_DOWN events on the BottomSheetHandleDragView from setting touchingScrollChild to true. (af7f254)
    • Fixed keyboard animation on Android 14 (a0b4dfa)
  • Catalog
    • Added documentation, screenshot tests and updated catalog demos for docked toolbar and floating toolbar. (b1552f1)
    • Fixed BottomWindowInsetView (ca46cd8)
  • Checkbox
  • Chip
  • Color
    • Updated to only draw surface color under the button's stroke when the buttons are actually overlapped. (7ae12b5)
    • ColorResourcesTableCreator: Fix length encoding for utf8 strings (7c62429)
  • Dialog
    • Added m3 styles for floating toolbar and docked toolbar for dialog (1b58f5f)
    • Added Expressive styles. (0bd1749)
  • DockedToolbar
    • Added OverflowLinearLayout to support adaptive behavior of the floating and docked toolbars. (914900e)
    • Added OverflowLinearLayout to support adaptive behavior of the floating and docked toolbars. (a12f17a)
  • Documentation
    • Updated GitHub's README to include note and link to compose issue tracker. (8ec6b77)
    • Removed {width=} and {height=} tags, and also remove unsupported tabs tags. (2e68da2)
    • Updated getting started Gradle, AGP, and studio requirements (30f1850)
    • Updated Bottom Sheets doc to make it more user friendly (e97782e)
    • Updated Side Sheet doc to make it more user friendly (d0ba483)
  • MaterialButton
    • Added filterTouchesWhenObscured=true to button layout. (2749544)
    • Fixed a bug that checked state in XML was not respected. (0c5b17a)
    • Improved memory usage when materialSizeOverlay is used. (571a196)
    • Updated split button styles to lessen maker specification requirements and support consistency. (2aadbd1)
    • Added a demo to programmatically add/remove buttons in a button group. (4f55422)
    • Added a click action and toggleable control in button group demo. (8e52e94)
    • Fixed minor issues in button group demo and toggle group demo. (5161e71)
  • NavigationRail
    • Updated to force NavigationFrameLayout to be the available size at the minimum (12fad1d)
  • ProgressIndicator
  • Search
    • Added attribute to control when to impose max width based on a percentage of available width in parent (43f2b90)
    • Updated centered search bar text to have 8dp content start and end padding (4070bef)
    • Added a clip bounds animation for searchview edit text (5a600a8)
    • Added a placeholder textview to Searchbar that keeps track of searchview edit text in order to gracefully fade it out in searchview collapse animation (be09936)
    • Added Expressive styles. (0b578fd)
    • Updated centering layout logic to account for padding and content insets (c2c660b)
  • Slider
    • Fixed label bounds for vertical slider in RTL (23957e0)
    • Added Expressive styles. (3a29699)
    • Centered Slider Expressive updates (781d344)
    • Reorganized styles. (72d011d)
  • Tabs
    • Updated to not detach an already detached TabLayout (6b35213)
  • Typography
    • Added emphasized typescale to public attributes (0c1a914)
  • Other
    • Bump MDC library version to 1.14.0-alpha01 (d9108c3)
    • Added a method to get the HideViewOnScrollBehavior associated with the view (8d044c4)
    • Fixed the target position of the view when sliding it off the screen without animation (def80c5)
    • Updated compileSdkVersion to 35 (62f8561)

Full list of changes

1.13.0-alpha13...1.14.0-alpha01

1.13.0-alpha13

21 Apr 20:12
Compare
Choose a tag to compare

Important

Dependency Updates

None

Library Updates

  • A11y
    • Include "hour" and "minute" in announcements. For example: "Not checked, Hour - 11'0 clock. double tap to select Hour". (960bb4c)
  • BottomNavigationView
  • BottomSheet
    • Fixed main catalog demo cutting off content when screen size is too small. (005687d)
    • Added back the AccessibilityStateChangedListener implementation in drag handle component (8ded9f5)
  • Catalog
    • Added an onDismissListener to the popup menu to synchronize menu display and button checked state. (bb90b20)
    • Fix crash occurring with all the adaptive demos (1125655)
  • Chip
    • Updated flow layout to correctly layout padding when in RTL. (1eaf483)
  • Color
    • ColorResourcesTableCreator: Fix resource entry names (443eaa5)
  • Dialog
  • DockedToolbar
  • FloatingActionButton
    • Updated catalog demo for Expressive styles. (3b3822f)
    • Added Expressive styles. (fd0b8ba)
    • Added medium FAB and s/m/l extended FABs to Material3. (870ace3)
    • Reorganized the FAB and exFAB styles in the order of most recent first. (bc2592a)
  • FloatingToolbar
    • Added m3 styles for buttons and theme overlays (4b9df08)
    • Integrate tokens and add m3 styles (f223b26)
  • MaterialButton
    • Added adaptation section in dev doc. (f61cea5)
    • Added expressive styles. (6c7354a)
    • Fixed the bug of size morph not working with layout_weight. (d791fad)
    • Added optical center feature. (2667e09)
    • Added expressive styles in M3 expressive dialog themes. (696a48a)
    • Updated XML for split button examples in documentation for improved accuracy. (ede1bdc)
  • MaterialDatePicker
    • Fix bug causing undesired screenshot changes (71bfc93)
    • Fix accessibility focus landing on first day of month after year selection (39dd3a4)
    • Translate fixed a11y announcements. (9fd5a67)
    • Fix DatePicker to use correct accessibility description for calendar/year view toggle button. (41f5079)
  • Menu
    • Fixed Dark Mode for Context Menu (93a5130)
  • Search
    • Add cutout insets to SearchView toolbar (53616ad)
    • Fix animation calculations for predictive back (44eabe3)
    • Fix long centered text overlapping with menu items (9170221)
    • Updated SearchBar styling (3a5861c)
    • Add maxWidth attribute and fix SearchBar/SearchView animations to be more flexible in hierarchy (548c15c)
    • Fix issue with a custom center view pushing out centered text (04c56f6)
    • Update demos to demonstrate an example with a ConstraintLayout (6db122b)
    • Update catalog demo to optionally show searchbar menu (e85371f)
    • Add a lift on scroll color to SearchBar when used with AppBarLayout (36b285c)
  • Slider
    • Add state description to VirtualView node (efea65b)
    • Add centered configuration (cd909c2)
  • Tokens
    • Updated the shape tokens output. (2ef3aba)
  • TopAppBar
    • Add attribute to center based on whole container (dcfbdff)
  • Other
    • Bump MDC library version to 1.13.0-alpha13. (8dd8706)
    • Added Expressive styles. (56a96a8)
    • Migrated to new token sets. (12a136c)
    • Added Expressive styles. (e980f60)
    • Migrated to new token sets. (02fcdf5)
    • Rearranged M3 styles. (d0194fb)
    • Reorganized styles. (9fc00e8)

Full list of changes

1.13.0-alpha12...1.13.0-alpha13

1.13.0-alpha12

24 Mar 20:07
Compare
Choose a tag to compare

Important

Dependency Updates

Dependency Previous version New version
androidx.appcompat:appcompat 1.6.1 1.7.0
androidx.constraintlayout:constraintlayout 2.0.1 2.1.0
com.android.tools.build:gradle 7.4.2 8.7.3

Library Updates

  • A11y
    • Move responsibility of disabling hide on scroll to HideViewOnScrollBehavior and BottomAppBar (9c33476)
  • Catalog
    • Migrated builds to use a version catalog (4662301)
    • Add demo for 3 item docked toolbar demo (d51f8c9)
    • A11y fixes for floating and docked toolbar (b085829)
    • Added the button group distribution demo in catalog. (828c932)
    • icon is square (37a84d5)
  • Dialog
    • Fixed issue with child views overflowing from the alert dialog. (1ee9a86)
  • DockedToolbar
    • Fix typo in DockedToolbar doc (0c83f50)
  • FloatingActionButton
    • Restored public jumpDrawablesToCurrentState method (6f41625)
    • Fixed wrong elevation per state. (f513914)
    • Improved readability. (949b057)
    • Fixed wrong elevation per state. (db7fe20)
    • Merged FABImpl and FABImplLollipop classes, since no pre-lollipop is supported. (da442be)
    • Integrated new token sets. (4a841f5)
    • Integrated to new token sets. (7e63ca1)
  • FloatingToolbar
    • Fix for insets handling adding insets on every onApplyWindowInsets call (3938284)
  • LoadingIndicator
    • Fix handling of negative morphFraction (e169ffc)
  • MaterialButton
    • Fixed the content description in distribution demo. (d54087e)
    • Added Expressive styles. (c806284)
    • Fixed the bug of size morph not working with layout_weight. (b640078)
    • Added flags to prevent unnecessary updates to child shape. (ed528c6)
  • MaterialDatePicker
    • Disable next/prev button when the selected month is at the boundary (71287c6)
  • ProgressIndicator
    • Added the customization of setting the stop inidcator padding. (0b89ef4)
    • Added fraction support in track corner radius. (2e97dd6)
  • Search
    • Set alpha for toolbar button directly rather than setting through a FadeThroughDrawable (e035f38)
    • Fix centering text when set by the search view (ea01f2a)
    • Fix animation when searchbar doesn't cover whole screen (f7ba9c6)
    • Add textCentered attribute (0641ee5)
  • Tokens
  • TopAppBar
    • Update AppCompat dependency to 1.7.0 stable and remove inflateMenu dispatch pausing now that the fix has landed in AppCompat (09d2566)
  • Other
    • Update library version to 1.13.0-alpha12 (b5ff302)
    • Moved component inclusion into afterEvaluation block (27f0cd7)
    • Moved back to Java 8 source and target compatibility (a8d492c)
    • Enable non transitive R classes (resource namespacing) and fix errors (0697f6f)
    • Updated to AGP 8.7.3, Gradle 8.9, Java 21 (2c2a26c)
    • Updated string translations (9f52851)

Full list of changes

1.13.0-alpha11...1.13.0-alpha12

1.13.0-alpha11

26 Feb 22:33
Compare
Choose a tag to compare

Important

Dependency Updates

  • None

Library Updates

  • BottomAppBar
    • Added guidance to prevent hide on scroll when Talkback is on (d560705)
  • BottomNavigationView
    • Updated catalog demo to demonstrate adaptive bottom navigation bar (76936c4)
  • Carousel
    • Fixed RecyclerView children do not inherit layout direction (ca0b870)
    • Updated keyline state when necessary if item size changes (52228c1)
    • Updated multi-browse strategy to always have at least 1 medium item (916e908)
    • Recalculate keyline state if it doesn't match the current container size (d0f5d72)
  • Chip
    • Added missing 'button' mention to Talkback output for close icon. (79bd7d7)
  • Color
    • Added M3 colors in M3 ThemeOverlay. (ede0713)
  • DockedToolbar
    • Added catalog demo (caa4dd2)
    • Created docked toolbar demo in M3 catalog (a82391a)
    • Added new demo to show fewer items (68a79d7)
    • Added 3P docs (08a8893)
    • Added inset padding attributes (1fd228b)
    • Created DockedToolbarLayout (51873bb)
  • Documentation
    • Updated build to use Dackka for documentation generation (580e8d5)
  • FloatingToolbar
    • Floating toolbar should not enforce disappear on scroll behaviour within CoordinatorLayouts (85c4e0f)
    • Fixed typo in Floating Toolbar docs (43d89ad)
  • MaterialButton
    • Fixed the translationZ value for hovered state of elevated button. (0c4ed7e)
    • Added PopupMenu to the SplitButton demo. (7a6866c)
  • MaterialDatePicker
    • Prevent keyboard from automatically showing with TalkBack (fd2e9bc)
    • Updated DatePicker.md (c372436)
  • NavigationRail
    • Use display cutout and system bar insets for start padding (4657afb)
  • ProgressIndicator
    • Added an track inner corner radius API. (8a23e0d)
  • Search
    • Fixed NPE with hiding navigation icon (1dc9a1c)
    • Added a demo with 2 icons outside the SearchBar (9bda9a9)
  • Shape
    • Added additional shape appearance styles in public.xml (29be993)
    • Added new attributes in Material3 themes. (447fd02)
  • Slider
    • Added new tick visibility modes (660423f)
    • Fixed behaviour when Slider is in a scrolling container (9302f54)
  • Snackbar
    • Added an opt-out for the coming new dismissal behavior for Snackbar with action. (755981a)
  • Theming
    • Added the Expressive themes. (2d3471f)
  • TimePicker
    • Fixed the Talkback focusability of the "Select time" label on the time picker component. (4ed648a)
  • Tokens
  • TopAppBar
    • Added Expressive styles (c9bfe62)
    • Overrode the colorControlHighlight to reflect the Material state layer. (33b1c33)
    • Exposed toolbar customization attributes (b8af518)
  • Other
    • Updated library version to 1.13.0-alpha11 (4ef8953)
    • Replaced getVersion gradle task (94b575c)
    • Removed jobs dependent on jdiff (7c10afc)
    • Avoid mocking java.lang.Runtime (700543d)
    • Updated translated string resources. (9a2890c)

Full list of changes

1.13.0-alpha10...1.13.0-alpha11

1.13.0-alpha10

22 Jan 21:06
Compare
Choose a tag to compare

Important

Dependency Updates

  • None

Library Updates

  • BottomNavigationView
    • Fixed early return in setItemGravity() (8a4d3c6)
  • BottomSheet
    • Removed disruptive announcement "Drag handle double tapped"for BottomSheetDragHandleView. (95025c6)
  • Chip
    • Fixed close icon focus ripple (a7ff8c9)
  • CollapsingToolbarLayout
    • Added multiple subtitle support. (57297ae)
    • Fixed incorrect title and subtitle positioning. (8598aa6)
  • Documentation
  • FloatingToolbar
    • Added inset handling (05f8c52)
    • Removed floating toolbar-specific icon button styles from theme overlay (7f88784)
    • Updated styles to consolidate horizontal/vertical styles to a single style (b07e48b)
  • MaterialSplitButton
    • Updated Split Button to match spec and address feedback. (c1e73c8)
    • Added chevron drawable AVD to public. (08fff9f)
  • NavigationRail
    • Added attributes for expanded active indicator padding (a798a82)
    • Fixed active indicator label jump when expanding (7f0a51d)
    • Updated comment (b4585cd)
    • Added divider functionality for expanded nav rail (9496619)
  • Slider
    • Improved track icon bounds calculation (54778a9)
    • Removed unnecessary code (867fd01)
    • Removed warnings about track icons if there isn't any (b31711c)
    • Fixed label pivots (d28488d)
    • Fixed thumb visibility for vertical slider on API 23 (e6e9385)
    • Refactored track icon tinting (9ce14ae)
    • Updated track bounds always before drawing icons (ddda777)
  • TextInputLayout
    • Fixed the issue that menu items gets filtered after recreation (690bbfc)
    • Made highlight text color respect the theme rather than M3 default (cfe6dce)
  • TimePicker
    • Fixed the number format on 24-hour dial (80593b2)
    • Added the listener again after rotating device in catalog (6a7c034)
  • TopAppBar
    • Fixed the toolbar not snap when switch to freeform windowing. (d4ac3d5)
    • Applied formatting only. (32633a6)
    • Added a demo to show case using collapsing toolbar layout with a toggleable button; reduced the number of menu items in all demos. (8726702)
  • Transitions / Motion
    • Added default style parameter for MotionUtil when resolving theme spring attributes (f4342f1)
    • Updated motion documentation to include springs. (3f5179c)
  • Release
    • Updated version to 1.13.0-alpha10. (40ec5c5)

Full list of changes

1.13.0-alpha09...1.13.0-alpha10

1.13.0-alpha09

19 Dec 21:39
Compare
Choose a tag to compare

Important

Dependency Updates

Dependency Previous version New version
androidx.drawerlayout 1.1.1 1.2

Library Updates

  • BottomNavigationView
    • Consume all touch events in BottomNavigationView so touch events are not passed to the view underneath (2ebf28f)
    • Fix bug where setChecked(false) is called for the previously checked item even if it's already unchecked (1696ec3)
  • Carousel
    • Change custom Carousel strategies to be restricted visibility in order to refactor custom strategies (998fe83)
    • Added a notifyItemSizeChanged() method (4bc4381)
  • Catalog
    • Fixed top app bar container fill (e51767d)
  • Chip
    • Add Override to Chip#setBackgroundTintList (03d2c69)
  • Documentation
  • FloatingToolbar
    • Set M3 default style (410f262)
    • Added materialThemeOverlays to automatically set orientation and the proper icon button style on floating toolbar children. (c24c67d)
  • MaterialSplitButton
    • Update split button image asset to match 3P styling. (fb47438)
    • Update split button styles to match spec. (9397801)
    • Add content description for icon-only leading buttons. (226753e)
    • Update split button styles to match spec. (106aaeb)
    • Internal change (ec8be9a)
  • NavigationRail
    • Consume all touch events to avoid views under from receiving touch events. (2a0dda8)
    • Fix issue where large/multi-line text was measured incorrectly when animating to be visible from a GONE state (c77f997)
    • Add attributes for scaling label text to font size and for the max lines for the label (5a8c39a)
    • Integrate tokens (0e9ab66)
    • Update navigation rail docs to include mentions of the expanded nav rail (5f44dbc)
  • Slider
    • a11y fixes (63e1ec9)
    • a11y fixes (35a8203)
    • Update corner behavior (05fa0ce)
    • Fix vertical slider broken with always visible labels (e1c83ed)
  • Shape
    • Fixed uneven rotation of pentagon shape. (d4b9d90)
  • Tabs
    • Update ripple to match m3 specs (d68ebbe)
  • Tokens
    • Updated token outputs to v13.2.0 and integrated new AppBar tokens. (4f7bf29)
  • TopAppBar
    • Removed the gravity APIs for subtitle (subtitle shares same gravity as title). (782d260)
    • Added more demos. (05253b8)
    • Fixed minor typos in comments. (7b62f64)
    • Added collapsing subtitle. (73b577d)
  • Transitions / Motion
    • Added spring motion subsystem (98169d2)
    • Added spring motion tokens (4019e18)

Full list of changes

1.13.0-alpha08...1.13.0-alpha09

1.13.0-alpha08

21 Nov 21:12
Compare
Choose a tag to compare

Important

Dependency Updates

  • None

Library Updates

  • Carousel
    • Prevent touch events from reaching hidden views. (10f3d3b)
    • Override onHoverEvent to send correct hover events according to the mask rect, not the MaskableFrameLayout bounds (0dee06f)
  • FloatingToolbar
    • Added new Floating Toolbar component with package and updated catalog demo. (72e61c9)
    • Updated button type to fill for FloatingToolBar demo to comply with NTC (bf2bc10)
    • Renamed Floating App Bar catalog demos to Floating Toolbar. (53efceb)
    • Added motion for horizontal and vertical configurations of the floating toolbar. (c0231d7)
    • Added vertical floating toolbar configuration. (655dba1)
    • Added content descriptions for floating toolbar icon buttons. (11173a4)
  • Catalog
    • Fix issue with forcing orientation for portrait-only demos forcing orientation for all demos (3eb9178)
    • Remove DraggableCardFragment demo for accessibility compliance (dff307b)
  • ExtendedFloatingActionButton
    • Added a method to ExtendedFloatingActionButton to enable/disable animations. (31fa412)
  • SplitButton
    • Added a new component SplitButton. (43a5dd3)
    • Generate tokens for Split Button component. (06c9ab9)
    • Update split button chevron overshoot interpolator tension to 1.0 for standard animation. (c40e857)
    • Add documentation about SplitButton (9f801b8)
    • Migrate trailing icon related resources for SplitButton. (3bb2df8)
  • MaterialButton
    • Added sizes and shape support. (7f8d63b)
  • NavigationRail
    • Added Navigation rail expansion (08c23dc)
    • Added a11y announcements for when nav rail is expanded or collapsed (d148048)
    • Added horizontal spacing attribute for space in between the icon and the text when the item is in the start icon gravity configuration (ebcfcd1)
    • Design review adjustments (3b11e74)
  • ProgressIndicator
    • Optimized the allocation during drawing. (6eb44a2)
    • Added the API to adjust indeterminate animation duration scale. (4ec0447)
  • Slider
    • Added extra track icons support (60c09d9)
    • Added vertical support (5bcda8a)
    • Added support for track icons (2e95296)
    • Made track corner size customizable (7f4413d)
    • Remove unnecessary uses of LooperMode(PAUSED) (e70a51c)
  • TextInputLayout
    • Fixed counter text order for locales AR. (39be13c)
  • TimePicker
    • Fixed Japanese translation. (9fe362f)
  • Tokens
    • Integrated tokens for floating toolbar and add new styles for the horizontal, vertical and vibrant style variations. (699302a)
  • LoadingIndicator
    • Fixed the issue that animation doesn't resume when window becomes visible. (afc392c)
    • Fixed unstoppable animators. (0a5f347)

Full list of changes

1.13.0-alpha07...1.13.0-alpha08

1.13.0-alpha07

17 Oct 19:32
Compare
Choose a tag to compare

Important

  • Required minSdkVersion is now 21 or higher.

Dependency Updates

  • None

Library Updates

  • A11y
    • Updated the snackbar with action not auto-dismiss when a11y is enabled (talkback, switch access, voice access). (5441957)
    • Adjusted talkback to include "minute" and "hour" for text input fields. (20ee1ed)
  • BottomNavigationView
    • Added new textviews for horizontal textview instead of moving it between layouts. (13dbcfc)
  • BottomSheet
    • Added new non-expandable demo for debugging. (ade1437)
  • Carousel
    • Made KeylineState.Builder constructor public for customizing strategies. (885f3b7)
  • Catalog
    • Added initial catalog demo for Floating Toolbar. (541433b)
    • Fixed issue with ListPopupWindow a11y. (90ab51e)
    • Changed checkboxes in checkbox demo to be displayed vertically since there isn't enough horizontal space when font is large. (38124d1)
    • Removed horizontal padding from toolbar demo. (75c1d30)
    • Fixed toolbar close button not having a content description. (43b0e46)
    • Fixed issue with TextField demo getting cut off in horizontal orientation. (81907eb)
  • Color
    • Integrated extended palettes. (0ea7b58)
  • Documentation
    • Added more information to BottomSheetDialogFragment docs. (f09c562)
    • Updated Menu doc to link to androidx PopupMenu / ListPopupWindow instead of framework. (8eae09d)
  • MaterialButton
    • Made the "checked" state independent to the "enabled" state. (dac7d5a)
  • MaterialDatePicker
    • Fixed contrast for hint color. (f141ed3)
    • Updated string translations for date picker and loading indicator. (18fd815)
    • Properly announce selected year. (d049a42)
    • Properly announce the change of selection between year/day. (c06ef1b)
    • Updated header layout to include horizontal insets so that buttons are not overlapped by navigation system UI in fullscreen mode. (8932a81)
  • NavigationRail
    • Added scrollingEnabled attribute and update NavigationRail to have unlimited items when expanded while keeping the limit of 7 items while collapsed, and add demo to catalog. (cc09ce8)
    • Fixed issue where top padding was not respected if menu gravity was center or bottom in certain scenarios. (c08ee83)
  • NavigationView
    • Changed navigation item pointer icon to arrow instead of hand, since they are not external links. (8f5a04c)
  • Predictive Back
    • Added safety checks for float != NaN. (1106890)
  • ProgressIndicator
    • Added top and bottom paddings to ensure the focus indicator (green box with talkback) to draw properly in catalog. (d164796)
  • Search
    • Fixed a11y issue where SearchBar darkens when focused with TalkBack. (97d957c)
    • Updated predictive back device corner logic to handle each corner independently to fix issue where bottom corners are incorrectly rounded after canceling back gesture. (3ce7c2b)
  • Slider
    • Made sure label is removed with slider is hidden. (9bf5edd)
    • Updated to show tooltips when focus by a11y. (237f5ec)
    • Fixed an exception caused by DecimalFormat not taking into account locale. (1f56cd1)
    • Fixed a scroll demo fragment to have more granular steps. (0443585)
    • Limit values to 2 decimals in the content description. (cebb057)
  • TextInputLayout
    • Added hintMaxLines attribute. (7f01739)
    • Start outline cutout bounds at a y location of 0 to encompass any possible vertical shifts due to a size difference between the placeholder text and the edit text. (246fa67)
    • Set error icon to uncheckable. (f9aaf03)
  • Tokens
  • Transitions / Motion
    • Removed API 21 sections from documentation. (b11064c)
  • Other
    • Updated to 1.13.0-alpha07. (fa51cb9)

Full list of changes

1.13.0-alpha06...1.13.0-alpha07