setButtonTintMode

open fun setButtonTintMode(@NonNull button: @NonNull CompoundButton, tintMode: @Nullable PorterDuff.Mode)(source)

Specifies the blending mode used to apply the tint specified by setButtonTintList} to the button drawable. The default mode is SRC_IN.

Parameters

button

button for which to apply the tint mode.

tintMode

the blending mode used to apply the tint, may be null to clear tint

See also