Share via


DialogPreference.SetDialogIcon(Int32) Method

Definition

Sets the icon (resource ID) of the dialog.

[Android.Runtime.Register("setDialogIcon", "(I)V", "GetSetDialogIcon_IHandler")]
public virtual void SetDialogIcon (int dialogIconRes);
[<Android.Runtime.Register("setDialogIcon", "(I)V", "GetSetDialogIcon_IHandler")>]
abstract member SetDialogIcon : int -> unit
override this.SetDialogIcon : int -> unit

Parameters

dialogIconRes
Int32

The icon, as a resource ID.

Attributes

Remarks

Sets the icon (resource ID) of the dialog. This will be shown on subsequent dialogs.

Java documentation for android.preference.DialogPreference.setDialogIcon(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