Android.App.ActionBar.SetCustomView Method
Set the action bar into custom navigation mode, supplying a view for custom navigation.

Syntax

[Android.Runtime.Register("setCustomView", "(I)V", "GetSetCustomView_IHandler")]
public abstract void SetCustomView (int resId)

See Also

ActionBar.SetDisplayOptions(ActionBarDisplayOptions, Android.App.ActionBarDisplayOptions)

Parameters

resId
Resource ID of a layout to inflate into the ActionBar.

Remarks

Set the action bar into custom navigation mode, supplying a view for custom navigation.

Custom navigation views appear between the application icon and any action buttons and may use any space available there. Common use cases for custom navigation views might include an auto-suggesting address bar for a browser or other navigation mechanisms that do not translate well to provided navigation modes.

The display option ActionBar.DISPLAY_SHOW_CUSTOM must be set for the custom view to be displayed.

[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