Icon.SetTint(Int32) Method

Definition

Store a color to use whenever this Icon is drawn.

[Android.Runtime.Register("setTint", "(I)Landroid/graphics/drawable/Icon;", "", ApiSince=23)]
public Android.Graphics.Drawables.Icon SetTint (int tint);
[<Android.Runtime.Register("setTint", "(I)Landroid/graphics/drawable/Icon;", "", ApiSince=23)>]
member this.SetTint : int -> Android.Graphics.Drawables.Icon

Parameters

tint
Int32

a color, as in Drawable#setTint(int)

Returns

this same object, for use in chained construction

Attributes

Remarks

Store a color to use whenever this Icon is drawn.

Java documentation for android.graphics.drawable.Icon.setTint(int).

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