Package-level declarations

Functions

Link copied to clipboard
fun View.createRootWindowInsetsWrapper(window: Window? = null): <Error class: unknown class>
Link copied to clipboard
fun <V : View> V.handleOnWindowInsetsChanged(consumed: Boolean = false, animated: Boolean = false, animationDispatchMode: Int = DISPATCH_MODE_CONTINUE_ON_SUBTREE, requestApplyOnLayout: Boolean = false, onChange: (V, insetsWrapper: WindowInsetsWrapper) -> Unit)

Handle the window insets change for this view.

Link copied to clipboard

Remove the window insets listener for this view.

Link copied to clipboard
@JvmName(name = "setHVInsetsPadding")
fun View.setInsetsPadding(insets: Insets, horizontal: Boolean = true, vertical: Boolean = true)
@JvmName(name = "setHVInsetsPadding")
fun View.setInsetsPadding(insets: InsetsWrapper, horizontal: Boolean = true, vertical: Boolean = true)
fun View.setInsetsPadding(insets: Insets, left: Boolean = true, top: Boolean = true, right: Boolean = true, bottom: Boolean = true)
fun View.setInsetsPadding(insets: InsetsWrapper, left: Boolean = true, top: Boolean = true, right: Boolean = true, bottom: Boolean = true)

Set this view's padding with insets.

Link copied to clipboard
Link copied to clipboard
@JvmName(name = "updateHVInsetsPadding")
fun View.updateInsetsPadding(insets: Insets, horizontal: Boolean = false, vertical: Boolean = false)
@JvmName(name = "updateHVInsetsPadding")
fun View.updateInsetsPadding(insets: InsetsWrapper, horizontal: Boolean = false, vertical: Boolean = false)
fun View.updateInsetsPadding(insets: Insets, left: Boolean = false, top: Boolean = false, right: Boolean = false, bottom: Boolean = false)
fun View.updateInsetsPadding(insets: InsetsWrapper, left: Boolean = false, top: Boolean = false, right: Boolean = false, bottom: Boolean = false)

Update this view's padding with insets.