Android.Graphics.Drawables.Drawable.SetTintMode Method
Specifies a tint blending mode for this drawable.

Syntax

[Android.Runtime.Register("setTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetTintMode_Landroid_graphics_PorterDuff_Mode_Handler")]
public virtual void SetTintMode (Android.Graphics.PorterDuff.Mode tintMode)

Parameters

tintMode
A Porter-Duff blending mode

Remarks

Specifies a tint blending mode for this drawable.

Setting a color filter via Drawable.SetColorFilter(Android.Graphics.ColorFilter) overrides tint.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1