setView

open fun setView(view: View)(source)

Set the view to display in the dialog. This method has no effect if called after show.


open fun setView(view: View, viewSpacingLeft: Int, viewSpacingTop: Int, viewSpacingRight: Int, viewSpacingBottom: Int)(source)

Set the view to display in the dialog, specifying the spacing to appear around that view. This method has no effect if called after show.

Parameters

view

The view to show in the content area of the dialog

viewSpacingLeft

Extra space to appear to the left of view

viewSpacingTop

Extra space to appear above view

viewSpacingRight

Extra space to appear to the right of view

viewSpacingBottom

Extra space to appear below view