Android Guides | Samples

Android.App.ActionBar.Tab.SetCustomView Method

Set a custom view to be used for this tab.

Syntax

[Android.Runtime.Register("setCustomView", "(Landroid/view/View;)Landroid/app/ActionBar$Tab;", "GetSetCustomView_Landroid_view_View_Handler")]
public abstract ActionBar+Tab SetCustomView (View view)

Parameters

view
Custom view to be used as a tab.

Remarks

Set a custom view to be used for this tab. This overrides values set by Tab.SetText(ICharSequence) and Tab.SetIcon(Drawable).

[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