Icon.SetTintList(ColorStateList) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Store a color to use whenever this Icon is drawn.
[Android.Runtime.Register("setTintList", "(Landroid/content/res/ColorStateList;)Landroid/graphics/drawable/Icon;", "", ApiSince=23)]
public Android.Graphics.Drawables.Icon SetTintList (Android.Content.Res.ColorStateList? tintList);
[<Android.Runtime.Register("setTintList", "(Landroid/content/res/ColorStateList;)Landroid/graphics/drawable/Icon;", "", ApiSince=23)>]
member this.SetTintList : Android.Content.Res.ColorStateList -> Android.Graphics.Drawables.Icon
- tintList
- ColorStateList
as in Drawable#setTintList(ColorStateList)
, null to remove tint
this same object, for use in chained construction
- Attributes
Store a color to use whenever this Icon is drawn.
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.