setHomeButtonEnabled

open fun setHomeButtonEnabled(enabled: Boolean)(source)

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.)

This defaults to true for packages targeting

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.