| android.support.v4.view.TintableBackgroundView |
Known Indirect Subclasses
|
Interface which allows a View to receive background tinting calls from
ViewCompat when running on API v20 devices or lower.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the tint applied to the background drawable, if specified.
| |||||||||||
Return the blending mode used to apply the tint to the background
drawable, if specified.
| |||||||||||
Applies a tint to the background drawable.
| |||||||||||
Specifies the blending mode used to apply the tint specified by
setSupportBackgroundTintList(ColorStateList)} to the background
drawable.
| |||||||||||
Return the tint applied to the background drawable, if specified.
Return the blending mode used to apply the tint to the background drawable, if specified.
Applies a tint to the background drawable. Does not modify the current tint
mode, which is SRC_IN by default.
Subsequent calls to View.setBackground(Drawable) will 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 used to apply the tint specified by
setSupportBackgroundTintList(ColorStateList)} to the background
drawable. The default mode is SRC_IN.
| tintMode | the blending mode used to apply the tint, may be
null to clear tint |
|---|