Window.SetIcon(Int32) Window.SetIcon(Int32) Method

Definition

Set the primary icon for this window.

[Android.Runtime.Register("setIcon", "(I)V", "GetSetIcon_IHandler", ApiSince=19)]
public virtual void SetIcon (int resId);
abstract member SetIcon : int -> unit
override this.SetIcon : int -> unit

Parameters

resId
Int32 Int32

resource ID of a drawable to set

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.

Applies to