Share via


TextView.CompoundDrawableTintMode 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.PorterDuff.Mode? CompoundDrawableTintMode { [Android.Runtime.Register("getCompoundDrawableTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetCompoundDrawableTintModeHandler", ApiSince=23)] get; [Android.Runtime.Register("setCompoundDrawableTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetCompoundDrawableTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getCompoundDrawableTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetCompoundDrawableTintModeHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setCompoundDrawableTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetCompoundDrawableTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)>]
member this.CompoundDrawableTintMode : Android.Graphics.PorterDuff.Mode with get, set

Property Value

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

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

Java documentation for android.widget.TextView.setCompoundDrawableTintMode(android.graphics.Mode).

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