Releases
1.13.0
Compare
Sorry, something went wrong.
No results found
dsn5ft
released this
03 Sep 22:51
New in 1.13.0!
DockedToolbarLayout
(source , doc , spec )
FloatingToolbarLayout
(source , doc , spec )
LoadingIndicator
(source , doc , spec )
MaterialSplitButton
(source , doc , spec )
MaterialButtonGroup
(source , doc , spec )
Important
Required minSdkVersion
is now 21 or higher, for Material and AndroidX .
Now built with compileSdkVersion
35, Android Gradle Plugin (AGP) 8.7.3, Gradle 8.9, and android.nonTransitiveRClass=true
.
Material 3 Expressive has moved to the 1.14.0 versions of the library. To get a sneak peak, update to version 1.14.0-alpha04 and use the Material3Expressive
themes/styles in conjunction with new components mentioned above.
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
androidx.dynamicanimation:dynamicanimation
1.0.0
1.1.0
androidx.graphics:graphics-shapes
N/A
1.0.1
com.android.tools.build:gradle
7.4.2
8.7.3
Library Updates
A11y
Include "hour" and "minute" in announcements. For example: "Not checked, Hour - 11'0 clock. double tap to select Hour". (960bb4c )
Move responsibility of disabling hide on scroll to HideViewOnScrollBehavior and BottomAppBar (9c33476 )
Prevent hide on scroll when Talkback is on (d560705 )
Add missing 'button' mention to Talkback output for close icon. (79bd7d7 )
BottomNavigationView
Update catalog demo to demonstrate adaptive bottom navigation bar (76936c4 )
Fix early return in setItemGravity() (8a4d3c6 )
BottomSheet
Prevent ACTION_DOWN events on the BottomSheetHandleDragView from setting touchingScrollChild to true. (af7f254 )
Fix keyboard animation on Android 14 (a0b4dfa )
Fixed main catalog demo cutting off content when screen size is too small. (005687d )
Remove disruptive announcement "Drag handle double tapped"for BottomSheetDragHandleView. (95025c6 )
Carousel
Recyclerview children do not inherit layout direction (ca0b870 )
Update keyline state if necessary if item size changes (52228c1 )
Update 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 )
Checkbox
Chip
Get default minTouchTargetSize from material attributes (436437a )
Add a show all
Chip for a11y (8e33421 )
Updated flow layout to correctly layout padding when in RTL. (1eaf483 )
Fix close icon focus ripple (a7ff8c9 )
CollapsingToolbarLayout
Added multiple subtitle support. (57297ae )
Fixed incorrect title and subtitle positioning. (8598aa6 )
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 )
ColorResourcesTableCreator: Fix resource entry names (443eaa5 )
Added M3 colors in M3 ThemeOverlay. (ede0713 )
Dialog
Add m3 styles for floating toolbar and docked toolbar for dialog (1b58f5f )
Fixed issue with child views overflowing from the alert dialog. (1ee9a86 )
DockedToolbar
Include IME in insets (834ce09 )
Fix typo in DockedToolbar doc (0c83f50 )
Add new demo to show fewer items (68a79d7 )
Add docs (08a8893 )
Adding inset padding attributes (1fd228b )
Create DockedToolbarLayout (51873bb )
FloatingActionButton
Fix the width calculation in the wrap_content extend strategy (1e06f7c )
Added medium FAB and s/m/l extended FABs to Material3. (870ace3 )
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
Added m3 styles for buttons and theme overlays (4b9df08 )
Integrate tokens and add m3 styles (f223b26 )
Fix for insets handling adding insets on every onApplyWindowInsets call (3938284 )
Floating toolbar should not enforce disappear on scroll behaviour within CoordinatorLayouts (85c4e0f )
Add inset handling (05f8c52 )
Removed floating toolbar-specific icon button styles from theme overlay (7f88784 )
Update styles to consolidate horizontal/vertical styles to a single style (b07e48b )
LoadingIndicator
Added a default static drawable, which is displayed when the animation is disabled. (f89b8af )
Fixed the animation no constant rotation. (1886cf0 )
Fix handling of negative morphFraction (e169ffc )
MaterialButton
Updated the shapes of buttons when the orientation is changed. (e722464 )
Fixed connected button groups to not morph button size. (df9074c )
Fixed width morph in vertical button groups. (fb81974 )
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 )
Added adaptation section in dev doc. (f61cea5 )
Fixed the bug of size morph not working with layout_weight. (d791fad )
Added optical center feature. (2667e09 )
Updated XML for split button examples in documentation for improved accuracy. (ede1bdc )
Fixed the content description in distribution demo. (d54087e )
Fixed the bug of size morph not working with layout_weight. (b640078 )
Added flags to prevent unnecessary updates to child shape. (ed528c6 )
Fixed the translationz value for hovered state of elevated button. (0c4ed7e )
Cleanup (8c263bb )
Added PopupMenu to the SplitButton demo. (7a6866c )
MaterialDatePicker
Replace the deprecated announcement API used for month navigation (6a3d13f )
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 )
Disable next/prev button when the selected month is at the boundary (71287c6 )
Prevent keyboard from automatically showing with TalkBack (fd2e9bc )
MaterialShapeDrawable
Update ShapeAppearanceModel.Builder to not use extra ContextThemeWrapper for shape appearance overlay due to performance concerns (990fdb4 )
MaterialSplitButton
Updated Split Button to match spec and address feedback. (c1e73c8 )
Add chevron drawable AVD to public. (08fff9f )
Menu
Fixed Dark Mode for Context Menu (93a5130 )
NavigationRail
Force NavigationFrameLayout to be the available size at the minimum (12fad1d )
Use display cutout and system bar insets for start padding (4657afb )
Add attributes for expanded active indicator padding (a798a82 )
Fix active indicator label jump when expanding (7f0a51d )
Add divider functionality for expanded nav rail (9496619 )
ProgressIndicator
Updated to not throw exceptions for calling setIndeterminateDrawable
and setDeterminateDrawable
during the initialization. (64867cf )
Added the customization of setting the stop inidcator padding. (0b89ef4 )
Added fraction support in track corner radius. (2e97dd6 )
Added an track inner corner radius API. (8a23e0d )
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 )
Update centering layout logic to account for padding and content insets (c2c660b )
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 )
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 )
Fix NPE with hiding navigation icon (1dc9a1c )
Add a demo with 2 icons outside the searchbar (9bda9a9 )
Shape
Added new attributes in Material3 themes. (447fd02 )
Slider
Prevent duplicate accessibility announcements (bccfdfa )
Get default minTouchTargetSize from material attributes (422586e )
Fix label bounds for vertical slider in RTL (23957e0 )
Centered Slider updates (781d344 )
Add state description to VirtualView node (efea65b )
Add centered configuration (cd909c2 )
Add new tick visibility modes (660423f )
Fixed behaviour when Slider is in a scrolling container (9302f54 )
Improve track icon bounds calculation (54778a9 )
remove unnecessary code (867fd01 )
Slider, don't warn about track icons if you don't have any (b31711c )
Fix label pivots (d28488d )
Fix thumb visibility for vertical slider on API 23 (e6e9385 )
Refactor track icon tinting (9ce14ae )
Always update track bounds before drawing icons (ddda777 )
Tabs
Don't try to detach an already detached TabLayout (7144370 )
TextInputLayout
Replace deprecated announceForAccessibility with accessibility live region (e909768 )
Fix the issue that menu items gets filtered after recreation (690bbfc )
Make highlight text colour respect the theme rather than M3 default (cfe6dce )
TimePicker
Fixing the Talkback focusability of the "Select time" label on the time picker component. (4ed648a )
Fix number format on 24-hour dial (80593b2 )
Tokens
Updated the shape tokens output. (2ef3aba )
Update tokens to 16.0.2 (37adad2 )
Upgraded to 15.0.26 (67b6dce )
Upgraded to version 15.0.12. (c39dc38 )
Updated to 14.0.0. (7c5dce0 )
Migrated to new token sets. (12a136c )
Migrated to new token sets. (02fcdf5 )
TopAppBar
Fix Extended FAB behavior demo to shrink and extend as expected. (13cdaba )
Add attribute to center based on whole container (dcfbdff )
Update AppCompat dependency to 1.7.0 stable and remove inflateMenu dispatch pausing now that the fix has landed in AppCompat (09d2566 )
Overrode the colorControlHighlight to reflect the Material state layer. (33b1c33 )
Expose toolbar customization attributes (b8af518 )
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 )
Fixed typo for "spatial" (59de693 )
Updated motion documentation to include springs. (3f5179c )
Typography
Added emphasized typescale to public attributes (0c1a914 )
Catalog
Update NavRail description in catalog (28be49d )
Fix BottomWindowInsetView (8699fe8 )
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 )
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 )
Create docked toolbar demo in M3 catalog (a82391a )
listener is added again after rotating device (6a7c034 )
Other
Remove Expressive from 1.13 releases, so we can get 1.13 to stable faster (#4803 ) (27226d6 )
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 )
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 )
Replace getVersion gradle task (94b575c )
Updated translated string resources. (9a2890c )
Added additional shape appearance styles in public.xml (29be993 )
Full list of release notes
Full list of changes
1.12.0...1.13.0
You can’t perform that action at this time.