androidx.compose.ui.tooling.preview

Interfaces

PreviewParameterProvider

Interface to be implemented by any provider of values that you want to be injected as @Preview parameters.

Objects

Devices

List with the pre-defined devices available to be used in the preview.

Wallpapers

Wallpapers available to be used in the Preview.

Annotations

Preview

Preview can be applied to either of the following:

PreviewDynamicColors

A MultiPreview annotation for desplaying a @Composable method using four different wallpaper colors.

PreviewFontScale

A MultiPreview annotation for desplaying a @Composable method using seven standard font sizes.

PreviewLightDark

A MultiPreview annotation for desplaying a @Composable method using light and dark themes.

PreviewParameter

PreviewParameter can be applied to any parameter of a @Preview.

PreviewScreenSizes

A MultiPreview annotation for displaying a @Composable method using the screen sizes of five different reference devices.