WindowInsets

@Stable()
interface WindowInsets

The main insets holder, containing instances of WindowInsets.Type which each refer to different types of system display insets.

Types

Companion
Link copied to clipboard
object Companion
Type
Link copied to clipboard
@Stable()
interface Type : Insets
Represents the values for a type of insets, and stores information about the layout insets, animating insets, and visibility of the insets.

Functions

copy
Link copied to clipboard
open fun copy(navigationBars: WindowInsets.Type = this.navigationBars, statusBars: WindowInsets.Type = this.statusBars, systemGestures: WindowInsets.Type = this.systemGestures, ime: WindowInsets.Type = this.ime): WindowInsets
Returns a copy of this instance with the given values.

Properties

ime
Link copied to clipboard
abstract val ime: WindowInsets.Type
Inset values which match WindowInsetsCompat.Type.ime
navigationBars
Link copied to clipboard
abstract val navigationBars: WindowInsets.Type
statusBars
Link copied to clipboard
abstract val statusBars: WindowInsets.Type
Inset values which match WindowInsetsCompat.Type.statusBars
systemBars
Link copied to clipboard
abstract val systemBars: WindowInsets.Type
Inset values which match WindowInsetsCompat.Type.systemBars
systemGestures
Link copied to clipboard
abstract val systemGestures: WindowInsets.Type