androidx.glance.wear.tooling.preview

Utilities for previewing Glance Wear widgets in Android Studio.

Classes

BaseWidgetPreviewParams

A base PreviewParameterProvider for WearWidgetParams that provides standardized metadata for Glance Wear widget previews in Android Studio.

RectangularAllWidgetPreviewParams

A PreviewParameterProvider that provides standard widget configurations to be used for preview image assets that are displayed as part of the system, such as a catalog, that are not cut to shape as it will be done by the system.

RectangularLargeWidgetPreviewParams

A PreviewParameterProvider that provides Large-type widget configurations from the rectangular specification with safe padding buffers.

RectangularSmallWidgetPreviewParams

A PreviewParameterProvider that provides Small-type widget configurations from the rectangular specification with safe padding buffers.

RoundAllWidgetPreviewParams

A PreviewParameterProvider that provides standard configurations based on the custom fully rounded specification.

RoundLargeWidgetPreviewParams

Provides Large-type widget configurations from the default round specification for both small and large screens.

RoundSmallWidgetPreviewParams

Provides Small-type widget configurations from the default round specification for both small and large screens.

SquircleAllWidgetPreviewParams

A PreviewParameterProvider that provides standard configurations based on the default squircle specifications from the wear widget host.

SquircleLargeWidgetPreviewParams

Provides Large-type widget configurations from the default squircle specification for both small and large screens.

SquircleSmallWidgetPreviewParams

Provides Small-type widget configurations from the default squircle specification for both small and large screens.

Composables

WearWidgetPreview

Renders a preview of a GlanceWearWidget in Android Studio.