Change the icon associated with this item.
Syntax
[Android.Runtime.Register("setIcon", "(Landroid/graphics/drawable/Drawable;)Landroid/view/MenuItem;", "GetSetIcon_Landroid_graphics_drawable_Drawable_Handler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
IMenuItem SetIcon (
Android.Graphics.Drawables.Drawable icon)
Parameters
- icon
- The new icon (as a Drawable) to be displayed.
Returns
Documentation for this section has not yet been entered.
Remarks
Requirements
Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1