
Posted by Anna Bernbaum, Product Manager and
We’re excited to announce that version 1.2 of libraries have reached the stable milestone. This makes it easier than ever to use these modern APIs to build beautiful and engaging apps for Wear OS.
We continue to evolve Android Jetpack libraries for Wear OS with new features and improvements to streamline development, including support for the latest and , and use Compose for Wear OS to contains new components and brings improvements to tooling, as well as the usability and accessibility of existing components:
Expandable Items
The new and , so expandableButton collapses after the content in expandableItems is revealed in one smooth option. Another use case is expanding the content of a single item, such as Text, that would otherwise contain too many lines to show all at once when the screen first loads ( pattern, as a way to add up to 2 secondary actions when the composable is swiped to the left. It also provides support for users to undo the secondary actions that they take. This component is intended for use cases where the existing ‘long press’ pattern is not ideal.

Note that this feature is distinct from swipe-to-dismiss, which is used to navigate back to the previous screen.
Compose Previews for Wear OS
In version 1.2 we’ve added device configurations to the set of , . We’ve also added the annotations to check your app against multiple device configurations and types at once. Use these new annotations to instantly verify how your app’s layout behaves on a variety of Wear OS devices.

Wear Compose tooling is available within a separate dependency setting is now supported. When setting switched on it will disable scaling and fading animations in ScalingLazyColumn, and turn off the shimmering effect and wipe-off motion on placeholders.
The and are designed to give users fast, predictable access to the information and actions they rely on most. that link elements of your tile to platform data sources. If your tile uses platform data sources such as heart rate, or, step count, or time, your tile can be updated up to once per second.

Animations
The new version of tiles also adds support for and and and , and join the and reading the latest Wear OS announcements from Google I/O!
SOCIAL SHARE CARD GENERATOR