WindowWidthSizeClass

Width-based window size class.

A window size class represents a breakpoint that can be used to build responsive layouts. Each window size class breakpoint represents a majority case for typical device scenarios so your layouts will work well on most devices and configurations.

For more details see Window size classes documentation.

Inheritors

Types

Link copied to clipboard

Represents the majority of phones in portrait.

Link copied to clipboard
object Companion
Link copied to clipboard

Represents the majority of tablets in landscape and large unfolded inner displays in landscape.

Link copied to clipboard

Represents the majority of tablets in portrait and large unfolded inner displays in portrait.

Functions

Link copied to clipboard
open operator override fun compareTo(other: WindowWidthSizeClass): Int
Link copied to clipboard
open override fun toString(): String