addView

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

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