WindowInsetsSides

提供了一组预定义的窗口边衬区“边”(WindowInsetsSide)。

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getBottom(): WindowInsetsSide

底部边。

Link copied to clipboard
abstract fun getEnd(): WindowInsetsSide

布局的结束边(在 LTR 布局中为右侧,RTL 布局中为左侧)。

Link copied to clipboard

水平方向的两边(左和右)。

Link copied to clipboard
abstract fun getLeft(): WindowInsetsSide

物理左侧边。

Link copied to clipboard
abstract fun getRight(): WindowInsetsSide

物理右侧边。

Link copied to clipboard
abstract fun getStart(): WindowInsetsSide

布局的起始边(在 LTR 布局中为左侧,RTL 布局中为右侧)。

Link copied to clipboard
abstract fun getTop(): WindowInsetsSide

顶部边。

Link copied to clipboard

垂直方向的两边(上和下)。