API Changes
- Add shapes to timepicker component API I57f28 b/441573791
- Added
compressionLimittoanimateWidththat specifies the padding of the item being compressed which indicates the maximum compression that the item can be squished by. Deprecating theanimateWidthAPI without thiscompressionLimitparameter. I4a725 b/418822334 b/403281052 BottomSheetandModalBottomSheetPartiallyExpandedanchor is no longer programmatically removed based on layout conditions. Users now explicitly control this anchor viarememberBottomSheetState. Legacy behavior for these components can be enabled via disablingisBottomSheetPartiallyExpandedDeterministicEnabledfeature flag or by leveraging deprecatedrememberModalBottomSheetStateandrememberStandardBottomSheetStatefunctions.isAnchoredDraggableComponentsAnchorRecoveryEnabledhas now been removed from feature flags. Ia4167 b/478210200 b/512076811- Reintroduces experimental tag for
PullToRefreshDefaults.loadingIndicatorColorandPullToRefreshDefaults.loadingIndicatorContainerColorIb9d15 b/513225663 - Updated the
SelectableChipColorsparameters to be public I559e0 b/512576750 - Add
horizontalArrangementparameter toMenuItemsIe8088 b/497891817 - Re-mark Button's
contentPaddingForfunction as experimental. I07d3e b/500355872 - Introduced
roundedShapeandtonalColors()in bothTextFieldDefaultsandOutlinedTextFieldDefaults, which are the visual configurations for expressive style. Id9185 b/448728288 - Deprecated
TextFieldLabelPosition.Attached, and introducedInsideandCutoutsubtypes, which allows more customizability like anOutlinedTextFieldwith inside label placement. Also deprecatedOutlinedTextFieldDefaults.contentPadding(), and introducedOutlinedTextFieldDefaults.contentPaddingWithLabel()andOutlinedTextFieldDefaults.contentPaddingWithoutLabel()to support both label positions. I40f62 b/448728288
Bug Fixes
- Fixed an accessibility issue in
TimePickerwhere keyboard focus was lost when switching from hours to minutes on the dial. Improved accessibility of keyboard focus. I7dd81 b/498361169
External Contribution
- Improved BottomSheet dismiss gesture physics for a smoother experience. I21df5
API Changes
- We have added
WearWidgetPreviewfor previewing Wear Widgets in Android Studio. I36504 b/485147770 - Expose
is*Available(isDailyStepsAvailable, etc.) variables to verify if the related health data type is available and valid. Ib98a7 b/498179656 - Added
triggerUpdateAllAPI toGlanceWearWidgetto trigger update on all widgets of the given app. I6ab20 b/510896410
Bug Fixes
- Include Renderer version information in the
WearWidgetParamsas internal field to prevent breakage in the document generated with the alpha10 version. Idcf8e b/511263591 b/512830184 - Trigger force pull update flow in debug mode or emulator for Wear Widgets.
No significant changes since version 1.4.0-alpha01.
Bug Fixes
- Fixed overlay animation issue where nested overlays such as
ModalBottomSheetare re-aniamting unexpectedly when the overlays above it are popped. Ia2b9e b/502624496
API Changes
- Modifiers
onTouchCancel(varargs action)andonTouchCancel(List<Action>)were changed toonTouchCancel(action). UseCombinedActionfor a list of actions. Ia7b5a b/498881738 - Expose
RemoteBooleanstatic factory. Ifedb6 b/484137042 - Exposed
hostActionandcombinedActionfactory functions to allow external usage. I78002 - Add
RemoteContentPreview,RemoteDocumentPreviewandRemotePreviewWrapperfunctions for previewing Remote Compose content. I706ae b/507379403
API Changes
- Add a new annotation property in
@EntitycalledwithoutRowIdthat when set to true will create the backing SQLite table using theWITHOUT ROWIDoption. Idb48e b/472790803
No significant changes since version 2.7.0-alpha05.
API Changes
- Added
RevealState.drag(),SwipeToRevealDragScope, and exposed customflingBehaviorinSwipeToRevealto enable programmatic control over swipe gestures, offsets, and settling animations. (Ibfe56, [b/484185090] - Expanded
OneHandedGestureIndicatorto support both Primary and Dismiss actions, migrating its binding architecture toInteractionSourcefor automated lifecycle management. (I7e893, [b/512836472] - Added new gesture-based scrolling for ScalingLazyColumn-based components and Alert Dialogs. This update introduces a default 50% screen scroll for better predictability and includes an optional snap-to-item mode for precise navigation. (Ie9cfb, [b/509639667]
- Replace Wear Compose Material3's
isOneHandedGesturesInAlertDialogEnabledflag withLocalOneHandedGestureEnabledCompositionLocal, which can be used to disable one-handed gestures across component hierarchies. (Ib9240, [b/516777416] - Deprecated
ButtonDefaults.ExtraSmallIconSizeandButtonDefaults.SmallIconSize. These defaults were specific toCompactButtonand have been moved toCompactButtonDefaults.ExtraSmallIconSizeandCompactButtonDefaults.SmallIconSizerespectively. (Id747c, [b/513588028]
Bug Fixes
- Fix
EdgeButtonanimation on fast fling. (I88215, [b/512700520] - Fix
AppScaffoldTimeTextnot updating on recomposition. (Iecea5, [b/512439755] ScreenScaffoldshould explicitly use thePaddingValuesprovided by the inner content lambda. (I20d71, [b/512355364]- Introduced @
FrequentlyChangingValueand @RememberInCompositionannotations to provide lint warnings to prevent performance issues caused by reading high-frequency state updates or failing to remember objects during composition. (I955f4, [b/409488336] - Ensure the ripple effect originates from the center of the button when a one-handed gesture is triggered for
Buttoncomposables. (Ie61ec, [b/514600304] - Resolved a key collision issue in
Modifier.oneHandedGestureby incorporating gesture action and priority into the auto-generated key. (I49760, [b/517045657]
Bug Fixes
- Fix
RemoteTypographyconstructor. bf0c0b2
Major features of 1.1.0: * Added CINNAMON_BUN in WearApiVersionHelper for API compatibility checks against the SDK 37.