setLogo

abstract fun setLogo(@DrawableRes resId: Int)(source)

Set the logo to display in the 'home' section of the action bar. The action bar will use a logo specified by its style or the activity logo by default. Whether the home section shows an icon or logo is controlled by the display option DISPLAY_USE_LOGO.

Parameters

resId

Resource ID of a drawable to show as a logo.

See also


abstract fun setLogo(logo: Drawable)(source)

Set the logo to display in the 'home' section of the action bar. The action bar will use a logo specified by its style or the activity logo by default. Whether the home section shows an icon or logo is controlled by the display option DISPLAY_USE_LOGO.

Parameters

logo

Drawable to show as a logo.

See also