Sdílet prostřednictvím


Window.SetIcon(Int32) Method

Definition

Set the primary icon for this window.

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

Parameters

resId
Int32

resource ID of a drawable to set

Attributes

Remarks

Set the primary icon for this window.

Java documentation for android.view.Window.setIcon(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