TextView.CompoundDrawableTintBlendMode Property

Definition

Returns the blending mode used to apply the tint to the compound drawables, if specified. -or- Specifies the blending mode used to apply the tint specified by #setCompoundDrawableTintList(ColorStateList) to the compound drawables.

public virtual Android.Graphics.BlendMode? CompoundDrawableTintBlendMode { [Android.Runtime.Register("getCompoundDrawableTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetCompoundDrawableTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setCompoundDrawableTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetCompoundDrawableTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getCompoundDrawableTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetCompoundDrawableTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setCompoundDrawableTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetCompoundDrawableTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.CompoundDrawableTintBlendMode : Android.Graphics.BlendMode with get, set

Property Value

the blending mode used to apply the tint to the compound drawables

Attributes

Remarks

Property getter documentation:

Returns the blending mode used to apply the tint to the compound drawables, if specified.

Java documentation for android.widget.TextView.getCompoundDrawableTintBlendMode().

Property setter documentation:

Specifies the blending mode used to apply the tint specified by #setCompoundDrawableTintList(ColorStateList) to the compound drawables. The default mode is PorterDuff.Mode#SRC_IN.

Java documentation for android.widget.TextView.setCompoundDrawableTintBlendMode(android.graphics.BlendMode).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to