setButtonTintList

Applies a tint to the button drawable. Does not modify the current tint mode, which is SRC_IN by default.

Subsequent calls to setButtonDrawable should automatically mutate the drawable and apply the specified tint and tint mode using setTintList.

Parameters

button

button for which to apply the tint.

tint

the tint to apply, may be null to clear tint

See also