Android.App.ActionBar.SetHomeButtonEnabled Method
Enable or disable the "home" button in the corner of the action bar.

Syntax

[Android.Runtime.Register("setHomeButtonEnabled", "(Z)V", "GetSetHomeButtonEnabled_ZHandler")]
public virtual void SetHomeButtonEnabled (bool enabled)

Parameters

enabled
true to enable the home button, false to disable the home button.

Remarks

Enable or disable the "home" button in the corner of the action bar. (Note that this is the application home/up affordance on the action bar, not the systemwide home button.)

This defaults to true for packages targeting < API 14. For packages targeting API 14 or greater, the application should call this method to enable interaction with the home/up affordance.

Setting the ActionBar.DISPLAY_HOME_AS_UP display option will automatically enable the home button.

[Android Documentation]

Requirements

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