addView

open fun addView(child: View, index: Int, params: ViewGroup.LayoutParams)

This override prohibits Views other than MaterialButton to be added. It also makes updates to the add button shape and margins.