setHomeButtonEnabled

open fun setHomeButtonEnabled(enabled: Boolean)

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 system wide home button.)

The application should call this method to enable interaction with the home/up affordance.

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

Parameters

enabled

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