Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.window.layout\n======================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/window/layout/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DisplayFeature](/reference/androidx/window/layout/DisplayFeature) | Description of a physical feature on the display. |\n| [FoldingFeature](/reference/androidx/window/layout/FoldingFeature) | A feature that describes a fold in the flexible display or a hinge between two physical display panels. |\n| [WindowInfoTracker](/reference/androidx/window/layout/WindowInfoTracker) | An interface to provide all the relevant info about a [android.view.Window](https://developer.android.com/reference/android/view/Window.html). |\n| [WindowMetricsCalculator](/reference/androidx/window/layout/WindowMetricsCalculator) | An interface to calculate the [WindowMetrics](/reference/androidx/window/layout/WindowMetrics) for an [Activity](https://developer.android.com/reference/android/app/Activity.html) or a [UiContext](/reference/androidx/annotation/UiContext). |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FoldingFeature.OcclusionType](/reference/androidx/window/layout/FoldingFeature.OcclusionType) | Represents how the hinge might occlude content. |\n| [FoldingFeature.Orientation](/reference/androidx/window/layout/FoldingFeature.Orientation) | Represents the axis for which the [FoldingFeature](/reference/androidx/window/layout/FoldingFeature) runs parallel to. |\n| [FoldingFeature.State](/reference/androidx/window/layout/FoldingFeature.State) | Represents the [State](/reference/androidx/window/layout/FoldingFeature.State) of the [FoldingFeature](/reference/androidx/window/layout/FoldingFeature). |\n| [SupportedPosture](/reference/androidx/window/layout/SupportedPosture) | A class to represent a posture that the device supports. |\n| [WindowLayoutInfo](/reference/androidx/window/layout/WindowLayoutInfo) | Contains the list of [DisplayFeature](/reference/androidx/window/layout/DisplayFeature)-s located within the window. |\n| [WindowMetrics](/reference/androidx/window/layout/WindowMetrics) | Metrics about a [android.view.Window](https://developer.android.com/reference/android/view/Window.html), consisting of its bounds. |"]]