setHomeAsUpIndicator

open fun setHomeAsUpIndicator(indicator: Drawable)(source)

Set the up indicator to display when the drawer indicator is not enabled.

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

Parameters

indicator

A drawable to use for the up indicator, or null to use the theme's default

See also


open fun setHomeAsUpIndicator(resId: Int)(source)

Set the up indicator to display when the drawer indicator is not enabled.

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

Parameters

resId

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

See also