Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

Delegate

interface Delegate
androidx.legacy.app.ActionBarDrawerToggle.Delegate

Summary

Public methods
abstract Unit
setActionBarUpIndicator(upDrawable: Drawable!, @StringRes contentDescRes: Int)

Set the Action Bar's up indicator drawable and content description.

abstract Drawable?

abstract Unit
setActionBarDescription(@StringRes contentDescRes: Int)

Set the Action Bar's up indicator content description.

Public methods

setActionBarUpIndicator

abstract fun setActionBarUpIndicator(upDrawable: Drawable!, @StringRes contentDescRes: Int): Unit

Set the Action Bar's up indicator drawable and content description.

Parameters
upDrawable Drawable!: - Drawable to set as up indicator
contentDescRes Drawable!: - Content description to set

getThemeUpIndicator

@Nullable abstract fun getThemeUpIndicator(): Drawable?
Return
Drawable?: Up indicator drawable as defined in the Activity's theme, or null if one is not defined.

setActionBarDescription

abstract fun setActionBarDescription(@StringRes contentDescRes: Int): Unit

Set the Action Bar's up indicator content description.

Parameters
contentDescRes Int: - Content description to set