PreviewScreenSizes


@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.FUNCTION])
@Preview(name = "Phone", device = "spec:id=reference_phone,shape=Normal,width=411,height=891,unit=dp,dpi=420", showSystemUi = true)
@Preview(name = "Phone - Landscape", device = "spec:width = 411dp, height = 891dp, orientation = landscape, dpi = 420", showSystemUi = true)
@Preview(name = "Unfolded Foldable", device = "spec:id=reference_foldable,shape=Normal,width=673,height=841,unit=dp,dpi=420", showSystemUi = true)
@Preview(name = "Tablet", device = "spec:id=reference_tablet,shape=Normal,width=1280,height=800,unit=dp,dpi=240", showSystemUi = true)
@Preview(name = "Desktop", device = "spec:id=reference_desktop,shape=Normal,width=1920,height=1080,unit=dp,dpi=160", showSystemUi = true)
annotation PreviewScreenSizes


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

Summary

Public constructors

Public constructors

PreviewScreenSizes

PreviewScreenSizes()