addView

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

This override prohibits Views other than MaterialButton to be added where the leading MaterialButton has either an icon and/or a label and the trailing has an animated vector drawable as an icon. It also makes updates to the add button shape and margins.