FileDocCategorySizeDatePackage
DecorToolbar.javaAPI DocAndroid 5.1 API3826Thu Mar 12 22:22:10 GMT 2015com.android.internal.widget

DecorToolbar

public interface DecorToolbar
Common interface for a toolbar that sits as part of the window decor. Layouts that control window decor use this as a point of interaction with different bar implementations.
hide

Fields Summary
Constructors Summary
Methods Summary
public voidanimateToVisibility(int visibility)

public booleancanShowOverflowMenu()

public booleancanSplit()

public voidcollapseActionView()

public voiddismissPopupMenus()

public android.content.ContextgetContext()

public android.view.ViewgetCustomView()

public intgetDisplayOptions()

public intgetDropdownItemCount()

public intgetDropdownSelectedPosition()

public intgetHeight()

public android.view.MenugetMenu()

public intgetNavigationMode()

public java.lang.CharSequencegetSubtitle()

public java.lang.CharSequencegetTitle()

public android.view.ViewGroupgetViewGroup()

public intgetVisibility()

public booleanhasEmbeddedTabs()

public booleanhasExpandedActionView()

public booleanhasIcon()

public booleanhasLogo()

public booleanhideOverflowMenu()

public voidinitIndeterminateProgress()

public voidinitProgress()

public booleanisOverflowMenuShowPending()

public booleanisOverflowMenuShowing()

public booleanisSplit()

public booleanisTitleTruncated()

public voidrestoreHierarchyState(android.util.SparseArray toolbarStates)

public voidsaveHierarchyState(android.util.SparseArray toolbarStates)

public voidsetBackgroundDrawable(android.graphics.drawable.Drawable d)

public voidsetCollapsible(boolean collapsible)

public voidsetCustomView(android.view.View view)

public voidsetDefaultNavigationContentDescription(int defaultNavigationContentDescription)

public voidsetDefaultNavigationIcon(android.graphics.drawable.Drawable icon)

public voidsetDisplayOptions(int opts)

public voidsetDropdownParams(android.widget.SpinnerAdapter adapter, AdapterView.OnItemSelectedListener listener)

public voidsetDropdownSelectedPosition(int position)

public voidsetEmbeddedTabView(ScrollingTabContainerView tabView)

public voidsetHomeButtonEnabled(boolean enable)

public voidsetIcon(int resId)

public voidsetIcon(android.graphics.drawable.Drawable d)

public voidsetLogo(int resId)

public voidsetLogo(android.graphics.drawable.Drawable d)

public voidsetMenu(android.view.Menu menu, MenuPresenter.Callback cb)

public voidsetMenuCallbacks(MenuPresenter.Callback presenterCallback, MenuBuilder.Callback menuBuilderCallback)

public voidsetMenuPrepared()

public voidsetNavigationContentDescription(java.lang.CharSequence description)

public voidsetNavigationContentDescription(int resId)

public voidsetNavigationIcon(android.graphics.drawable.Drawable icon)

public voidsetNavigationIcon(int resId)

public voidsetNavigationMode(int mode)

public voidsetSplitToolbar(boolean split)

public voidsetSplitView(android.view.ViewGroup splitView)

public voidsetSplitWhenNarrow(boolean splitWhenNarrow)

public voidsetSubtitle(java.lang.CharSequence subtitle)

public voidsetTitle(java.lang.CharSequence title)

public voidsetVisibility(int visible)

public voidsetWindowCallback(Window.Callback cb)

public voidsetWindowTitle(java.lang.CharSequence title)

public booleanshowOverflowMenu()