Package-level declarations

Types

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

Dimen tag used for generation dimensions.

Link copied to clipboard
data class WindowSize(val width: WindowType, val height: WindowType)

Window size are a set of opinionated viewport breakpoints to design, develop, and test responsive application layouts against. For more details check Support different screen sizes documentation.

Link copied to clipboard
enum WindowType : Enum<WindowType>

Properties

Link copied to clipboard
const val COMPACT_WIDTH: Int = 0
Link copied to clipboard
const val EXPANDED_WIDTH: Int = 840
Link copied to clipboard
const val MEDIUM_WIDTH: Int = 600
Link copied to clipboard
val Int.sdp: Dp

Create a Scalable Dp using an Int:

Link copied to clipboard

Creates a Scalable SP unit TextUnit:

Functions

Link copied to clipboard