Package-level declarations

Types

Link copied to clipboard
@Preview(name = "1 Phone - Portrait", group = "Phone", device = "spec:width=411dp,height=891dp", showBackground = true)
@Preview(name = "2 Phone - Landscape", group = "Phone", device = "spec:width=411dp,height=891dp,orientation=landscape", showBackground = true)
@Preview(name = "3 Tablet - Landscape", group = "Tablet", device = "spec:width=1280dp,height=800dp,dpi=240", showBackground = true)
@Preview(name = "3 Tablet - Portrait", group = "Tablet", device = "spec:width=1280dp,height=800dp,dpi=240,orientation=portrait", showBackground = true)
annotation class PreviewMultiplatform
Link copied to clipboard
@Preview(name = "1 Phone - Portrait", group = "Phone", device = "spec:parent=pixel_9", showBackground = true)
@Preview(name = "2 Phone - Landscape", group = "Phone", device = "spec:parent=pixel_9,orientation=landscape", showBackground = true)
@Preview(name = "3 Tablet - Landscape", group = "Tablet", device = "id:pixel_tablet", showBackground = true)
@Preview(name = "3 Tablet - Portrait", group = "Tablet", device = "spec:parent=pixel_tablet,orientation=portrait", showBackground = true)
annotation class PreviewMultiScreen

Functions

Link copied to clipboard
fun PreviewTheme(modifier: Modifier = Modifier, showDeviceUi: Boolean = false, showInsetsBorder: Boolean = false, content: @Composable () -> Unit)