WindowInsetsSides


WindowInsetsSides is used in WindowInsets.only to define which sides of the WindowInsets should apply.

Summary

Public companion properties

WindowInsetsSides

Indicates a WindowInsets bottom side.

Cmn
WindowInsetsSides

Indicates a WindowInsets end side, which is left or right depending on LayoutDirection.

Cmn
WindowInsetsSides

Indicates a WindowInsets horizontal sides.

Cmn
WindowInsetsSides

Indicates a WindowInsets left side.

Cmn
WindowInsetsSides

Indicates a WindowInsets right side.

Cmn
WindowInsetsSides

Indicates a WindowInsets start side, which is left or right depending on LayoutDirection.

Cmn
WindowInsetsSides

Indicates a WindowInsets top side.

Cmn
WindowInsetsSides

Indicates a WindowInsets and Bottom sides.

Cmn

Public functions

operator WindowInsetsSides

Returns a WindowInsetsSides containing sides defied in sides and the sides in this.

Cmn
open String
Cmn

Public companion properties

Bottom

val BottomWindowInsetsSides

Indicates a WindowInsets bottom side.

End

val EndWindowInsetsSides

Indicates a WindowInsets end side, which is left or right depending on LayoutDirection. If LayoutDirection.Ltr, End is the right side. If LayoutDirection.Rtl, End is the left side.

Use Left or Right if the physical direction is required.

Horizontal

val HorizontalWindowInsetsSides

Indicates a WindowInsets horizontal sides. This is a combination of Left and Right sides, or Start and End sides.

Left

val LeftWindowInsetsSides

Indicates a WindowInsets left side. Most layouts will prefer using Start or End to account for LayoutDirection.

Right

val RightWindowInsetsSides

Indicates a WindowInsets right side. Most layouts will prefer using Start or End to account for LayoutDirection.

Start

val StartWindowInsetsSides

Indicates a WindowInsets start side, which is left or right depending on LayoutDirection. If LayoutDirection.Ltr, Start is the left side. If LayoutDirection.Rtl, Start is the right side.

Use Left or Right if the physical direction is required.

Top

val TopWindowInsetsSides

Indicates a WindowInsets top side.

Vertical

val VerticalWindowInsetsSides

Indicates a WindowInsets and Bottom sides.

Public functions

plus

operator fun plus(sides: WindowInsetsSides): WindowInsetsSides

Returns a WindowInsetsSides containing sides defied in sides and the sides in this.

toString

open fun toString(): String