Modal
class Modal(view: View, layout: ConstraintDslContext.(Bounds) -> Unit = { it.center eq parent.center }) : ModalManager.ModalType(source)
A Modal that is positioned relative to the Display only.
Modal(view) {
it.bottom eq parent.bottom - 10
it.centerX eq button.center.x
}
Content copied to clipboard
Parameters
view
to display as a Modal
layout
controls the modal's positioning within its parent
Constructors
Link copied to clipboard
constructor(view: View, layout: ConstraintDslContext.(Bounds) -> Unit = { it.center eq parent.center })