PreviewFontScale

@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.FUNCTION])
@Preview(name = "85%", fontScale = 0.85)
@Preview(name = "100%", fontScale = 1.0)
@Preview(name = "115%", fontScale = 1.15)
@Preview(name = "130%", fontScale = 1.3)
@Preview(name = "150%", fontScale = 1.5)
@Preview(name = "180%", fontScale = 1.8)
@Preview(name = "200%", fontScale = 2.0)
annotation PreviewFontScale


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

Summary

Public constructors

Public constructors

PreviewFontScale

PreviewFontScale()