fun setLayout(layout: View): Unit
Remove previous views and inflate a new layout using an inflated view.