EdgeContentLayout - a layout for hosting CircularProgressIndicator around the edge with main content inside and primary or secondary label around it.
The main content within this layout could be added as a MultiSlotLayout or MultiButtonLayout object.
PrimaryLayout - a layout which can be customized by adding primary or secondary labels, content in the middle, and a primary chip at the bottom.
In addition to components, there are recommended tile layouts: In addition to colors, there is a Typography class to easily get FontStyle objects using the typography name.
Text - styled text which uses the recommended Wear Material typography styles.Īll these components have their own colors object that can be built with the main Colors class to easily apply the same theme over all components.
#Unity pc build icon full#
CircularProgressIndicator - colored arc around the edge of the screen with the given start and end angles, which can describe a full or partial circle with the full progress arc behind it.
CompactChip & TitleChip - two variations of the standard Chip that have smaller and larger heights, respectively, and can contain one line of text.
Chip - clickable, stadium-shaped object that can contain an icon, primary and secondary labels, and has fixed height and customizable width.
Button - clickable, circular-shaped object, with either icon, text or image with three predefined sizes.
What's in the libraryThis library contains components and layouts that are in-line with Material guidelines and easy to use. Builder ( this, "More", clickable, deviceParameters )
Enabling task handoff where the user starts a task on one device, and can easily continue on another device.
Establishing secure connections for devices to communicate with each other.
Starting the app on a secondary device without having to keep the app running in background.
Sharing an app’s current state with the same app on another device.
Discovering and authorizing communication with nearby devices.
In turn, this will allow you to build compelling cross-device experiences by enabling and simplifying the following use cases:
Multi-device Sessions: Enable transferring or extending an application’s user experience across multiple devices.
Secure connections: Enable encrypted, low-latency bi-directional data sharing between authorized devices.
Device discovery: Easily find nearby devices, authorize peer-to-peer communication, and start the target application on receiving devices.
This initial release contains a set of rich APIs centered around the core functionality of Device discovery, Secure connections, and Multi-device Sessions. This SDK abstracts away the intricacies involved with working with device discovery, authentication, and connection protocols, allowing you to focus on what matters most-building delightful user experiences and connecting these experiences across a variety of form factors and platforms. First announced during the Google I/O ‘22 Multi-device development session, our Cross device SDK allows developers to build rich multi-device experiences with a simple and intuitive set of APIs. Today we’re launching our Developer Preview of the new Cross device SDK for Android. Posted by Alex Rocha - Developer Relations Engineer Manager, Ryan Ausanka-Crues - Eng Manager, Multi-device development, Stella Loh - Product Manager, Multi-device development