2022-02-23
Activity: v1.5.0-alpha03
February 23, 2022
androidx.activity:activity:1.5.0-alpha03, androidx.activity:activity-compose:1.5.0-alpha03, and androidx.activity:activity-ktx:1.5.0-alpha03 are released. Version 1.5.0-alpha03 contains these commits.
API Changes
- You can now pass
CreationExtrasto the activityby viewModels()function (I6a3e6, b/217600303)
Appcompat: v1.6.0-alpha01
February 23, 2022
androidx.appcompat:appcompat:1.6.0-alpha01 and androidx.appcompat:appcompat-resources:1.6.0-alpha01 are released. Version 1.6.0-alpha01 was built from an internal branch and does not have publicly-visible commits.
This version requires Android Tiramisu DP1 to compile and is not guaranteed to be runtime-compatible with future developer previews.
New Features
- Added support for customizing application locales. See
AppCompatDelegate.setApplicationLocales(LocaleListCompat)for more information. Provides backward compatibility for the new per-language preferences API available in Android 13.
Benchmark: v1.1.0-beta04
February 23, 2022
androidx.benchmark:benchmark-*:1.1.0-beta04 is released. Version 1.1.0-beta04 contains these commits.
Bug Fixes
Fix missing metrics on Android 10, and
NoSuchElementExceptioncaused by process names not being captured correctly in traces. (Ib4c17, b/218668335)Use
PowerManagerfor thermal throttling detection on Q (API 29) and higher. This significantly reduces frequency of false positives in thermal throttling detection (benchmark retry after 90 second cooldown), and speeds up benchmarks significantly on user builds. It also provides throttle detection even when clocks are locked (if they're locked too high for the device's physical environment). (I9c027, b/217497678, b/131755853)Filter simpleperf sampled profiling to
measureRepeatedthread only to simplify inspection (Ic3e12, b/217501939)Support metrics from named UI subprocesses in multi-process apps (Ice6c0, b/215988434)
Filter Baseline Profile rules to target Android 9 (SDK 28). aosp/1980331 b/216508418
Skip Profile Installation when using
Compilation.None(). Additionally, report warnings when the app is using an older version ofandroidx.profileinstallerand Android Gradle Plugin. aosp/1977029
Camera-Camera2, Camera-Core, Camera-Lifecycle, & Camera-Video: v1.1.0-beta02
February 23, 2022
androidx.camera:camera-*:1.1.0-beta02 is released. Version 1.1.0-beta02 contains these commits.
API Changes
- Add the ability to specify physical camera ID through Camera2Interop. (I5aed8)
Bug Fixes
- Fixed the stretched preview issue on Oppo Find N (I7d004)
- Fixed a Galaxy J7 Prime issue that the preview is distorted. (I4c500)
- Use compatible bitrate to find video encoder. (d969052)
Compose Animation: v1.1.1
February 23, 2022
androidx.compose.animation:animation:1.1.1, androidx.compose.animation:animation-core:1.1.1, and androidx.compose.animation:animation-graphics:1.1.1 are released. Version 1.1.1 contains these commits.
Bug Fixes
- Fix
NullPointerExceptionatandroidx.compose.ui.platform.RenderNodeLayer.updateDisplayList(aosp/1947059, b/206677462) - Fix crash caused by clipboard content while reading from clipboard on Android. (I06020, b/197769306)
- Fixed RTL in
LazyVerticalGrid(aosp/1931080, b/207510535)
Compose Compiler: v1.1.1
February 23, 2022
androidx.compose.compiler:compiler:1.1.1 is released. Version 1.1.1 contains these commits.
Bug Fixes
- Fix
NullPointerExceptionatandroidx.compose.ui.platform.RenderNodeLayer.updateDisplayList(aosp/1947059, b/206677462) - Fix crash caused by clipboard content while reading from clipboard on Android. (I06020, b/197769306)
- Fixed RTL in
LazyVerticalGrid(aosp/1931080, b/207510535)
Compose Foundation: v1.1.1
February 23, 2022
androidx.compose.foundation:foundation:1.1.1 and androidx.compose.foundation:foundation-layout:1.1.1 are released. Version 1.1.1 contains these commits.
Bug Fixes
- Fix
NullPointerExceptionatandroidx.compose.ui.platform.RenderNodeLayer.updateDisplayList(aosp/1947059, b/206677462) - Fix crash caused by clipboard content while reading from clipboard on Android. (I06020, b/197769306)
- Fixed RTL in
LazyVerticalGrid(aosp/1931080, b/207510535)
Compose Material: v1.1.1
February 23, 2022
androidx.compose.material:material-*:1.1.1 is released. Version 1.1.1 contains these commits.
Bug Fixes
- Fix
NullPointerExceptionatandroidx.compose.ui.platform.RenderNodeLayer.updateDisplayList(aosp/1947059, b/206677462) - Fix crash caused by clipboard content while reading from clipboard on Android. (I06020, b/197769306)
- Fixed RTL in
LazyVerticalGrid(aosp/1931080, b/207510535)
Compose Runtime: v1.1.1
February 23, 2022
androidx.compose.runtime:runtime-*:1.1.1 is released. Version 1.1.1 contains these commits.
Bug Fixes
- Fix
NullPointerExceptionatandroidx.compose.ui.platform.RenderNodeLayer.updateDisplayList(aosp/1947059, b/206677462) - Fix crash caused by clipboard content while reading from clipboard on Android. (I06020, b/197769306)
- Fixed RTL in
LazyVerticalGrid(aosp/1931080, b/207510535)
Compose UI: v1.1.1
February 23, 2022
androidx.compose.ui:ui-*:1.1.1 is released. Version 1.1.1 contains these commits.
Bug Fixes
- Fix
NullPointerExceptionatandroidx.compose.ui.platform.RenderNodeLayer.updateDisplayList(aosp/1947059, b/206677462) - Fix crash caused by clipboard content while reading from clipboard on Android. (I06020, b/197769306)
- Fixed RTL in
LazyVerticalGrid(aosp/1931080, b/207510535)
Compose Animation: v1.2.0-alpha04
February 23, 2022
androidx.compose.animation:animation:1.2.0-alpha04, androidx.compose.animation:animation-core:1.2.0-alpha04, and androidx.compose.animation:animation-graphics:1.2.0-alpha04 are released. Version 1.2.0-alpha04 contains these commits.
API Changes
- Hooray! Compose animation now supports 'Animator duration scale' setting from Developer Options. (I31c24, b/161675988)
Compose Compiler: v1.2.0-alpha04
February 23, 2022
androidx.compose.compiler:compiler:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
Compose Foundation: v1.2.0-alpha04
February 23, 2022
androidx.compose.foundation:foundation:1.2.0-alpha04 and androidx.compose.foundation:foundation-layout:1.2.0-alpha04 are released. Version 1.2.0-alpha04 contains these commits.
API Changes
BringIntoViewRespondersare no longer required to manually pass requests up to parent responders, and are instead required to immediately return the rectangle they want their parent to bring into view. (I8e66a)- Support async font loading in Text (I77057, b/214587005)
LazyVerticalGridnow supportsline breakingbefore items with span not fitting inside the current line. (I05c40, b/207462103)- Renamed
excludeFromSystemGesturestosystemGesturesExclusion(I19526) LazyVerticalGridnow supports reverseLayout. (I6d7d7, b/215572963, b/211753558)- Add
WindowInsets.only()method to allow developers to include only dimensions from the WindowInsets. (I14c94, b/217768486) Added
ComposableTarget,ComposableTargetMarkerandComposableOpenTargetthat allows compile time reporting of when a composable function is called targeting an applier it was not designed to use.In most cases the annotations can be inferred by the compose compiler plugin so using these annotation directly should be rare . The cases that cannot be inferred include creating and using a custom applier, abstract composable functions (such as interface methods), fields or global variables that are composable lambdas (local variables and parameters are inferred), or when using
ComposeNodeor a related composable functions.For custom appliers the composable functions that calls
ComposeNodeorReusableComposeNodeneed to add aCompoableTargetannotation for the function and any composable lambda parameter types. It is recommended, however, to create an annotation that is annotated withComposableTargetMarkerand then the marked annotation be used instead ofComposableTargetdirectly. A composable annotation marked withComposableTargetMarkeris equivalent to aComposbleTargetwith the fully qualified name of the attribute class as the applier parameter. For an example of usingComposableTargetMarkerseeanroidx.compose.ui.UiComposable. (I38f11)
Bug Fixes
- Now it is allowed to pass negative scroll offsets into
LazyGridState.scrollToItem()andLazyGridState.animateScrollToItem(). (I025c6, b/211753558) - Support async font loading for TextField. (Icc4bf, b/214587005)
Compose Material: v1.2.0-alpha04
February 23, 2022
androidx.compose.material:material-*:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
API Changes
Add support for filter chips(I39a6e, b/192585545)- Added
TextFieldDecorationBoxandOutlinedTextFieldDecorationBox. Using them together withBasicTextFieldwill help you build custom text field based on Material Design text fields but with more options for customisation. - Provided a way to adjust horizontal and vertical paddings in text fields. (I8c9f1, b/203764564, b/191543915, b/189971673, b/183136600, b/179882597, b/168003617)
Added
ComposableTarget,ComposableTargetMarkerandComposableOpenTargetthat allows compile time reporting of when a composable function is called targeting an applier it was not designed to use.In most cases the annotations can be inferred by the compose compiler plugin so using these annotation directly should be rare . The cases that cannot be inferred include creating and using a custom applier, abstract composable functions (such as interface methods), fields or global variables that are composable lambdas (local variables and parameters are inferred), or when using
ComposeNodeor a related composable functions.For custom appliers the composable functions that calls
ComposeNodeorReusableComposeNodeneed to add aCompoableTargetannotation for the function and any composable lambda parameter types. It is recommended, however, to create an annotation that is annotated withComposableTargetMarkerand then the marked annotation be used instead ofComposableTargetdirectly. A composable annotation marked withComposableTargetMarkeris equivalent to aComposbleTargetwith the fully qualified name of the attribute class as the applier parameter. For an example of usingComposableTargetMarkerseeanroidx.compose.ui.UiComposable. (I38f11)
Compose Material 3: v1.0.0-alpha06
February 23, 2022
androidx.compose.material3:material3:1.0.0-alpha06 is released. Version 1.0.0-alpha06 contains these commits.
API Changes
NavigationDrawerItemis added that represents a single destination within the drawers (Ic396f, b/218286829)PermanentNavigationDrawerandDismissibleNavigationDrawerhave been added as experimental APIs. Those are the drawers suitable well for large screen devices. (I5f8ab, b/218286829)- Adds Material 3 bottom app bar support (Ic432a)
NavigationDrawerhas been renamed toModalNavigationDrawer(I1807d, b/218286829)- Added Material 3 Slider class and tokens (I1ccee)
- Added Tab implementation, see the documentation for sample usage (Ie0146)
Bug Fixes
- Fixed an issue where the
TalkBackscreen reader linear navigation selected an empty top app bar title. (Id4690) - Added
IconSizetoFloatingActionButtonDefaults. (Ia71cf) - Bug fix for hidden
AlertDialogbuttons when a long text is added with aLazyColumn. (Ib2cc9, b/216663029)
Compose Runtime: v1.2.0-alpha04
February 23, 2022
androidx.compose.runtime:runtime-*:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
API Changes
Added
ComposableTarget,ComposableTargetMarkerandComposableOpenTargetthat allows compile time reporting of when a composable function is called targeting an applier it was not designed to use.In most cases the annotations can be inferred by the compose compiler plugin so using these annotation directly should be rare . The cases that cannot be inferred include creating and using a custom applier, abstract composable functions (such as interface methods), fields or global variables that are composable lambdas (local variables and parameters are inferred), or when using
ComposeNodeor a related composable functions.For custom appliers the composable functions that calls
ComposeNodeorReusableComposeNodeneed to add aCompoableTargetannotation for the function and any composable lambda parameter types. It is recommended, however, to create an annotation that is annotated withComposableTargetMarkerand then the marked annotation be used instead ofComposableTargetdirectly. A composable annotation marked withComposableTargetMarkeris equivalent to aComposbleTargetwith the fully qualified name of the attribute class as the applier parameter. For an example of usingComposableTargetMarkerseeanroidx.compose.ui.UiComposable. (I38f11)
Compose UI: v1.2.0-alpha04
February 23, 2022
androidx.compose.ui:ui-*:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
API Changes
Added
ComposableTarget,ComposableTargetMarkerandComposableOpenTargetthat allows compile time reporting of when a composable function is called targeting an applier it was not designed to use.In most cases the annotations can be inferred by the compose compiler plugin so using these annotation directly should be rare . The cases that cannot be inferred include creating and using a custom applier, abstract composable functions (such as interface methods), fields or global variables that are composable lambdas (local variables and parameters are inferred), or when using
ComposeNodeor a related composable functions.For custom appliers the composable functions that calls
ComposeNodeorReusableComposeNodeneed to add aCompoableTargetannotation for the function and any composable lambda parameter types. It is recommended, however, to create an annotation that is annotated withComposableTargetMarkerand then the marked annotation be used instead ofComposableTargetdirectly. A composable annotation marked withComposableTargetMarkeris equivalent to aComposbleTargetwith the fully qualified name of the attribute class as the applier parameter. For an example of usingComposableTargetMarkerseeanroidx.compose.ui.UiComposable. (I38f11)Font(resId, ...)now takes loadingStrategy on stable API. (Ief3d2)FontLoadingStrategyis now stable API. (I1ee35, b/174162090)Support async font loading in Text (I77057, b/214587005)
Add bridge API for converting custom
Font.ResourceLoaderintoFontFamily.Resolver. (Ia0060)
Bug Fixes
- Provided
FontFamily.Resolverare passed to subcompositions such as Popup.- Provided
Font.ResourceLoaderare passed to subcompositions such as Popup. (I48fa5)
- Provided
Core and Core-ktx: v1.9.0-alpha01
February 23, 2022
androidx.core:core:1.9.0-alpha01 and androidx.core:core-ktx:1.9.0-alpha01 are released. Version 1.9.0-alpha01 was built from an internal branch and does not have publicly-visible commits.
This version requires Android Tiramisu DP1 to compile and is not guaranteed to be runtime-compatible with future developer previews.
New Features
- Compatible with Android Tiramisu DP1.
Core and Core-ktx: v1.8.0-alpha05
February 23, 2022
androidx.core:core:1.8.0-alpha05 and androidx.core:core-ktx:1.8.0-alpha05 are released. Version 1.8.0-alpha05 contains these commits.
API Changes
- Updated nullability for androidx.core.os classes (If18cd, b/206113622)
- Updated nullability for androidx.core.app classes (I657eb, b/206113302)
- Updated nullability for androidx.core.text classes (I08329, b/206113384)
- Added
ExtraDatafunctions toAccessibilityNodeInfoCompat(If2fc7, b/137789185) - Added zero-arg overload for
bundleOf()to avoid an invisible array allocation when creating an empty bundle (If7089) - Added
Continuation<T>.asFoo()adapters to create callbacks for writing suspend wrappers for Android APIs that accept common/generic callback types (I6615e) - Added nullable
Drawable.toBitmapOrNullmethod to avoid exceptions (I2342a)
Core Remote Views: v1.0.0-alpha03
February 23, 2022
androidx.core:core-remoteviews:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
Bug Fixes
- Fix for infrastructure.
Customview: v1.2.0-alpha01
February 23, 2022
androidx.customview:customview:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
New Features
- Add a new
PoolingContainerlibrary that allows for listening to dispose events of a container that manages its children outside the View hierarchy. This will later be added as a dependency ofComposeandRecyclerView(I0e3f6, b/196371929)
API Changes
- Improved support for
AccessibilityNodeInfoCompat#setBoundsInScreeninExploreByTouchHelperand addedsetBoundsInScreenFromBoundsInParent, which can be used to translate parent bounds to screen bounds. (Ie5529)
DragAndDrop: v1.0.0-alpha04
February 23, 2022
androidx.draganddrop:draganddrop:1.0.0-alpha04 is released. Version 1.0.0-alpha04 contains these commits.
API Changes
- DragEvents with a non-null localState will not trigger highlighting by default. There is a configuration option to change this behavior. (I55792)
Emoji2: v1.1.0
February 23, 2022
androidx.emoji2:emoji2-*:1.1.0 is released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- emoji2-bundled contains emoji 14 font
- New
getEmojiMatchAPI returns accurate information for keyboards to decide how an emoji will display in the presence of an emojicompat font that's behind the system font - Bugfix for
NumberKeyListenerthat makes digit input correctly filter characters.
Emoji2: v1.2.0-alpha01
February 23, 2022
androidx.emoji2:emoji2-*:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
No changes since 1.1.0.
Fragment: v1.5.0-alpha03
February 23, 2022
androidx.fragment:fragment:1.5.0-alpha03, androidx.fragment:fragment-ktx:1.5.0-alpha03, and androidx.fragment:fragment-testing:1.5.0-alpha03 are released. Version 1.5.0-alpha03 contains these commits.
API Changes
- You can now pass
CreationExtrasto theby viewModels()andby activityViewModels()functions. (Ibefe7, b/217601110)
Behavior Changes
DialogFragmentnow usesComponentDialogas the default dialog returned byonCreateDialog(). (If3784, b/217618170)
Games-Activity: v1.1.0
February 23, 2022
androidx.games:games-activity:1.1.0 and androidx.games:games-controller:1.1.0 are released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
Games Activity:
- WindowInsets listening and querying for notch and IME response
- Add key and motion event filters
- Bug fixes:
- Add missing messages for compatibility with NativeActivity
- Fix signature of onNativeWindowResized
- Fix input event losses
Games Frame Pacing 1.10: v1.10.0
February 23, 2022
androidx.games:games-frame-pacing:1.10.0 is released. Version 1.10.0 contains these commits.
Important changes since 1.9.0
- Ignore polluting choreographer filter inputs and smooth more to prevent freezes on emulator
- Add *_uninjectTracer functions.
Games-Memory-Advice version 1.0.0: v1.0.0-alpha01
February 23, 2022
androidx.games:games-memory-advice:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
New Features
- This C library gives the facility to query and receive callbacks for changes in the memory state of a device which is running a game.
API Changes
- This is the initial release of the memory advice library. See the header at include/memory_advice/memory_advice.h for the full API.
External Contribution
- The library depends on tensorflow, whose license and those of transitive dependencies can be found at https://github.com/tensorflow/tensorflow.
Glance: v1.0.0-alpha03
February 23, 2022
androidx.glance:glance-*:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
New Features
- Simplified state definition to default to Preferences.
API Changes
- Simplify state handling by make
PreferencesGlanceStateDefinitionthe default state handling. RemovedGlanceAppWidget.updateAppWidgetStateand introducedupdateAppWidgetStatethat usesPreferencesby default. (I58963) - Add Glance TemplateText class and update Template design (I4e146)
- Adds outline infrastructure for the Freeform template (If03d6)
- Updates to
SingleEntityTemplatelayouts (If925d) - Added
LazyVerticalGrid(I5f442) - Use
ColorProvideronSingleEntityTemplate(I01ee0) - Update template class name (I3720e)
- Added
LinearProgressIndicatorandCircularProgressIndicatorcomposable. (Ie116b)
Bug Fixes
- Initial glance templates implementation, defines "single item template" data and example template layout (I35837)
- Align the tile cotent to center by default (I264be)
- Bug fix with fillMaxSize/Width/Height in glance-wear-tiles (I0a39f)
Lifecycle: v2.5.0-alpha03
February 23, 2022
androidx.lifecycle:lifecycle-*:2.5.0-alpha03 is released. Version 2.5.0-alpha03 contains these commits.
New Features
- Added an
addCloseable()API and a new constructor overload that allow you to add one or moreCloseableobjects to theViewModelthat will be closed when theViewModelis cleared without requiring any manual work inonCleared(). (I55ea0) lifecycle-viewmodelnow provides anInitializerViewModelFactorythat allows you to add lambda for handling particularViewModelclasses, usingCreationExtrasas the primary data source. (If58fc, b/216687549)lifecycle-viewmodel-composenow offers aviewModel()API that takes a lambda factory for creating aViewModelinstance without requiring the creation of a customViewModelProvider.Factory. (I97fbb, b/216688927)
API Changes
- You can now create a
ViewModelwithCreationExtrasvialifecycle-viewmodel-compose. (I08887, b/216688927)
Behavior changes
- Attempting to move the
Lifecycle.StatefromINITIALIZEDtoDESTROYEDwill now always throw anIllegalStateExceptionregardless of whether theLifecyclehas an attached observer. (I7c390, b/177924329) LifecycleRegistrywill now clear their observers when they reach theDESTROYEDstate. (I4f8dd, b/142925860)
Media: v1.6.0-alpha01
February 23, 2022
androidx.media:media:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.
API Changes
- Add extras necessary to set up signIn/Settings page using
CarAppLibraryon a media app for Android Auto. (Ifb3ca)
Navigation: v2.5.0-alpha03
February 23, 2022
androidx.navigation:navigation-*:2.5.0-alpha03 is released. Version 2.5.0-alpha03 contains these commits.
API Changes
- You can now pass in
CreationExtrastoby navGraphViewModelsto create aViewModel. (I29217, b/217618359)
Bug Fixes
NavDeepLinksnow properly support encoded new line characters embedded in routes/deep link URIs. (I513d1, b/217815060)CreationExtraswill now work correctly when used withNavBackStackEntriesto create ViewModels. (I69161, b/217617710)- Navigation Safe Args now supports using the namespace defined in the
build.gradlein place of the package in the AndroidManifest. (I659ef, b/217414933)
Room: v2.5.0-alpha01
February 23, 2022
androidx.room:room-*:2.5.0-alpha01 is released. Version 2.5.0-alpha01 contains these commits.
API Changes
- Fixed an issue where Room
@IntDefusage were not being enforced in Kotlin sources. (I75f41, b/217951311) - Fixed a source compatibility issue to re-allow
@Queryin property getters. (I0a09b) - Converted room-common from Java to Kotlin. (I69c48, b/206858235)
- Converted room-migration from Java to Kotlin. (I2724b, b/206858622)
- Converted
pagingrelated files inroom-runtimefrom Java to Kotlin. (I82fc8, b/206859668) - Added API for multi-process lock and usage at the FrameworkSQLite* level, to protect multi-process 1st time database creation and migrations. (Ied267, b/193182592)
Bug Fixes
- Added support for internal properties in Kotlin sources. This is a slight behavior change in Room where it will use the source name of functions while matching them to properties as getters/setters (previously, it was using JVM name of the function which is different for internal functions/properties). If you are using custom
@JvmNameannotations to match getters/setters to private properties, please double check the generated code after the update (If6531, b/205289020)
Room: v2.4.2
February 23, 2022
androidx.room:room-*:2.4.2 is released. Version 2.4.2 contains these commits.
Bug Fixes
- Fix an issue generating code for a Dao
@Transactionsuspend function with a body that generates a default interface method due to compilation with-Xjvm-default=allor equivalent. (Ia4ce5) - Resolving a bug where Room generates code for a
Array<ByteArray>return type query method. (If086e, b/213789489)
Sqlite: v2.3.0-alpha01
February 23, 2022
androidx.sqlite:sqlite:2.3.0-alpha01, androidx.sqlite:sqlite-framework:2.3.0-alpha01, and androidx.sqlite:sqlite-ktx:2.3.0-alpha01 are released. Version 2.3.0-alpha01 contains these commits.
API Changes
- Add an API in SupportSQLite's configuration to allow data loss during the recovery mechanism. (I1b830, b/215592732)
- Added API for multi-process lock and usage at the FrameworkSQLite* level, to protect multi-process 1st time database creation and migrations. (Ied267, b/193182592)
Wear: v1.3.0-alpha02
February 23, 2022
androidx.wear:wear:1.3.0-alpha02 is released. Version 1.3.0-alpha02 contains these commits.
New Features
- Support
layoutDirectiononArcLayout(I14d49) - Improved content description message for ConfirmationOverlay (I0fdf8)
- Update
ConfirmationOverlaywith new icons/layout. (If5b54)
Bug Fixes
- Added ProGuard rules to ensure that ambient-related code is kept (Idaa10)
- Avoid accidentally dismissing of fragments in SwipeDismissFrameLayout with a vertical fling (Idb6d8)
- Fix ConfirmationOverlay when it has no message (I63e6f)
External Contribution
- Dae Gyu LEE (Samsung) - Avoid accidentally dismissing of fragments in SwipeDismissFrameLayout with a vertical fling (Idb6d8)
Wear Compose: v1.0.0-alpha17
February 23, 2022
androidx.wear.compose:compose-foundation:1.0.0-alpha17, androidx.wear.compose:compose-material:1.0.0-alpha17, and androidx.wear.compose:compose-navigation:1.0.0-alpha17 are released. Version 1.0.0-alpha17 contains these commits.
New Features
- We have added snap support that can be used with
ScalingLazyColumn. SetflingBehavior = ScalingLazyColumnDefaults.flingWithSnapBehavior(state)to enable snap support. (I068d3, b/217377069) - We have added demos for Picker used to select a time in either 24 hour or 12 hour clock. (Ie5552)
API Changes
- Fix an issue with
TimeTextcustom fonts & styles on square device (Iea76e) ScalingLazyListLayoutInfonow hasreverseLayout,viewportSizeand orientation properties matching those fromLazyListLayoutInfo(I4f258, b/217917020)ScalingLazyColumnnow has auserScrollEnabledproperty matching that fromLazyList(I164d0, b/217912513)- Pickers now have a gradient on the top and bottom by default (Iab92a)
Bug Fixes
- We have modified
ScalingLazyColumnso that it no longer greedily fills all of the space in its parent. Instead it will take its size from the size of its contents. This makes it consistent with the behaviour ofLazyColumn. If you want to reinstate the old behaviour then passModifier.fillMaxWidth()/width()/widthIn()to theScalingLazyColumn(I51bf8) - We have improved the exception message in
SwipeDismissableNavHost.ktthat was triggered if the navigation backstack was empty. (I1b1dc)
Wear Tiles: v1.1.0-alpha03
February 23, 2022
androidx.wear.tiles:tiles-*:1.1.0-alpha03 is released. Version 1.1.0-alpha03 contains these commits.
API Changes
Textcomponent with the recommended typography styles has been added to the TIles Material. (Iec0ae)