setLayout

fun setLayout(layout: View)

Remove previous views and inflate a new layout using an inflated view.