Android.App.ActionBar.SetHomeAsUpIndicator Method
Set an alternate drawable to display next to the icon/logo/title when ActionBar.DISPLAY_HOME_AS_UP is enabled.

Syntax

[Android.Runtime.Register("setHomeAsUpIndicator", "(I)V", "GetSetHomeAsUpIndicator_IHandler")]
public virtual void SetHomeAsUpIndicator (int resId)

See Also

ActionBar.SetDisplayOptions(ActionBarDisplayOptions, Android.App.ActionBarDisplayOptions)
ActionBar.SetDisplayHomeAsUpEnabled(bool)
ActionBar.SetHomeActionContentDescription(int)

Parameters

resId
Resource ID of a drawable to use for the up indicator, or null to use the theme's default

Remarks

Set an alternate drawable to display next to the icon/logo/title when ActionBar.DISPLAY_HOME_AS_UP is enabled. This can be useful if you are using this mode to display an alternate selection for up navigation, such as a sliding drawer.

If you pass 0 to this method, the default drawable from the theme will be used.

If you implement alternate or intermediate behavior around Up, you should also call ActionBar.SetHomeActionContentDescription(int) to provide a correct description of the action for accessibility support.

[Android Documentation]

Requirements

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