Dimen

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Dimen(val type: String, val values: Array<String>)

Dimen tag used for generation dimensions.

Example:

@Dimen(type = "dp", values = ["320:24", "480:26", "600:28", "720:30"])
val topPadding = 24.dp

@Dimen(type = "sp", values = ["320=24", "480=26", "600=28", "720=30"])
val buttonFontSize = 24.sp

Since

1.0.0

Properties

Link copied to clipboard
val type: String
Link copied to clipboard
val values: Array<String>