Modal

constructor(view: View, layout: ConstraintDslContext.(Bounds) -> Unit = { it.center eq parent.center })(source)

Parameters

view

to display as a Modal

layout

controls the modal's positioning within its parent