android.support.v4.widget.TintableCompoundButton |
Known Indirect Subclasses |
Interface which allows a CompoundButton
to receive tinting
calls from CompoundButtonCompat
when running on API v20 devices or lower.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the tint applied to the button drawable
| |||||||||||
Returns the blending mode used to apply the tint to the button drawable
| |||||||||||
Applies a tint to the button drawable.
| |||||||||||
Specifies the blending mode which should be used to apply the tint specified by
setSupportButtonTintList(ColorStateList) to the button drawable.
|
Returns the tint applied to the button drawable
Returns the blending mode used to apply the tint to the button drawable
Applies a tint to the button drawable. Does not modify the current tint
mode, which is SRC_IN
by default.
Subsequent calls to
setButtonDrawable(Drawable)
should automatically mutate the drawable and apply the specified tint and tint mode.
tint | the tint to apply, may be null to clear tint
|
---|
Specifies the blending mode which should be used to apply the tint specified by
setSupportButtonTintList(ColorStateList)
to the button drawable. The
default mode is SRC_IN
.
tintMode | the blending mode used to apply the tint, may be
null to clear tint |
---|