Android.Preferences.Preference.SetIcon Method
Sets the icon for this Preference with a resource ID.

Syntax

[Android.Runtime.Register("setIcon", "(I)V", "GetSetIcon_IHandler")]
public virtual void SetIcon (int iconResId)

See Also

Preference.Icon

Parameters

iconResId
The icon as a resource ID.

Remarks

Sets the icon for this Preference with a resource ID.

[Android Documentation]

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11