public interface

ActionBarDrawerToggle.Delegate

 androidx.appcompat.app.ActionBarDrawerToggle.Delegate

Summary

Methods
public ContextgetActionBarThemedContext()

Returns the context of ActionBar

public DrawablegetThemeUpIndicator()

Returns the drawable to be set as up button when DrawerToggle is disabled

public booleanisNavigationVisible()

Returns whether navigation icon is visible or not.

public voidsetActionBarDescription(int contentDescRes)

Set the Action Bar's up indicator content description.

public voidsetActionBarUpIndicator(Drawable upDrawable, int contentDescRes)

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

Methods

public void setActionBarUpIndicator(Drawable upDrawable, int contentDescRes)

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

Parameters:

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

public void setActionBarDescription(int contentDescRes)

Set the Action Bar's up indicator content description.

Parameters:

contentDescRes: - Content description to set

public Drawable getThemeUpIndicator()

Returns the drawable to be set as up button when DrawerToggle is disabled

public Context getActionBarThemedContext()

Returns the context of ActionBar

public boolean isNavigationVisible()

Returns whether navigation icon is visible or not. Used to print warning messages in case developer forgets to set displayHomeAsUp to true