Android 12 Developer Preview is here! Try it out, and give us your feedback!

androidx.window

Interfaces

DisplayFeature

Description of a physical feature on the display.

WindowBackend

Backing interface for WindowManager instances that server as the default information supplier.

Classes

DeviceState

FoldingFeature

A feature that describes a fold in the flexible display or a hinge between two physical display panels.

WindowLayoutInfo

Contains the list of DisplayFeature-s located within the window.

WindowManager

Main interaction point with the WindowManager library.

WindowMetrics

Metrics about a android.view.Window, consisting of its bounds.