Android Guides | Samples

Android.App.ActionBar.Tab.SetIcon Method

Set the icon displayed on this tab.

Syntax

[Android.Runtime.Register("setIcon", "(I)Landroid/app/ActionBar$Tab;", "GetSetIcon_IHandler")]
public abstract ActionBar+Tab SetIcon (Int32 resId)

Parameters

resId
Resource ID referring to the drawable to use as an icon

Remarks

Set the icon displayed on this tab.

[Android Documentation]

Requirements

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