Package-level declarations

Types

Link copied to clipboard
@Preview(name = "Font Scale 200%", group = "FontScale", fontScale = 2.0, showBackground = true)
@Preview(name = "Font Scale 100%", group = "FontScale", fontScale = 1.0, showBackground = true)
public @interface GiniScreenPreviewSizes

This annotation is used to preview the screen in different sizes (100% and 200% font scale) It can be combined with GiniScreenPreviewUiModes

Link copied to clipboard
@Preview(name = "Dark", group = "UiMode", uiMode = 32, showBackground = true)
@Preview(name = "Light", group = "UiMode", uiMode = 16, showBackground = true)
public @interface GiniScreenPreviewUiModes

This annotation is used to preview the screen in different UI modes (Light and Dark) It can be combined with GiniScreenPreviewSizes