RemoteViews.SetImageViewIcon(Int32, Icon) Method
Definition
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.
Equivalent to calling ImageView#setImageIcon(Icon)
[Android.Runtime.Register("setImageViewIcon", "(ILandroid/graphics/drawable/Icon;)V", "GetSetImageViewIcon_ILandroid_graphics_drawable_Icon_Handler", ApiSince=23)]
public virtual void SetImageViewIcon (int viewId, Android.Graphics.Drawables.Icon? icon);
[<Android.Runtime.Register("setImageViewIcon", "(ILandroid/graphics/drawable/Icon;)V", "GetSetImageViewIcon_ILandroid_graphics_drawable_Icon_Handler", ApiSince=23)>]
abstract member SetImageViewIcon : int * Android.Graphics.Drawables.Icon -> unit
override this.SetImageViewIcon : int * Android.Graphics.Drawables.Icon -> unit
Parameters
- viewId
- Int32
The id of the view whose bitmap should change
- icon
- Icon
The new Icon for the ImageView
- Attributes
Remarks
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.