Function

WindowInsets

A DeviceConfigurationOverride that overrides the window insets for the contained content.

WindowInsets

Source set: Android
public fun DeviceConfigurationOverride.Companion.WindowInsets(
    windowInsets: WindowInsetsCompat
): DeviceConfigurationOverride

A DeviceConfigurationOverride that overrides the window insets for the contained content.

Parameters

windowInsets the WindowInsetsCompat to render the content under test in.

Return

a DeviceConfigurationOverride that specifies the window insets for the content under test.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: