setView

open override fun setView(layoutResId: Int): MaterialAlertDialogBuilder
open override fun setView(view: View?): MaterialAlertDialogBuilder
fun setView(@LayoutRes layoutId: Int, context: Context, root: ViewGroup?): MaterialAlertDialogBuilder

Sets a custom view to be the contents of the dialog.