{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

WindowHeightSizeClass

value public final class WindowHeightSizeClass implements Comparable


Height-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.

Summary

Nested types

Public methods

int
@NonNull String

Public methods

compareTo

public int compareTo(@NonNull WindowHeightSizeClass other)

toString

public @NonNull String toString()