IMenuItem.SetIconTintBlendMode(BlendMode) Method

Definition

Specifies the blending mode used to apply the tint specified by #setIconTintList(ColorStateList) to this item's icon.

[Android.Runtime.Register("setIconTintBlendMode", "(Landroid/graphics/BlendMode;)Landroid/view/MenuItem;", "GetSetIconTintBlendMode_Landroid_graphics_BlendMode_Handler:Android.Views.IMenuItem, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public virtual Android.Views.IMenuItem SetIconTintBlendMode (Android.Graphics.BlendMode? blendMode);
[<Android.Runtime.Register("setIconTintBlendMode", "(Landroid/graphics/BlendMode;)Landroid/view/MenuItem;", "GetSetIconTintBlendMode_Landroid_graphics_BlendMode_Handler:Android.Views.IMenuItem, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member SetIconTintBlendMode : Android.Graphics.BlendMode -> Android.Views.IMenuItem
override this.SetIconTintBlendMode : Android.Graphics.BlendMode -> Android.Views.IMenuItem

Parameters

blendMode
BlendMode

the blending mode used to apply the tint, may be null to clear tint

Returns

Attributes

Remarks

Specifies the blending mode used to apply the tint specified by #setIconTintList(ColorStateList) to this item's icon. The default mode is BlendMode#SRC_IN.

Java documentation for android.view.MenuItem.setIconTintBlendMode(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