File
Doc
Category
Size
Date
Package
DecorToolbar.java
API Doc
Android 5.1 API
3867
Thu Mar 12 22:22:56 GMT 2015
android.support.v7.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 void
animateToVisibility
(
int
visibility)
public
boolean
canShowOverflowMenu
()
public
boolean
canSplit
()
public void
collapseActionView
()
public void
dismissPopupMenus
()
public
android.content.Context
getContext
()
public
android.view.View
getCustomView
()
public
int
getDisplayOptions
()
public
int
getDropdownItemCount
()
public
int
getDropdownSelectedPosition
()
public
int
getHeight
()
public
android.view.Menu
getMenu
()
public
int
getNavigationMode
()
public
int
getPopupTheme
()
public
java.lang.CharSequence
getSubtitle
()
public
java.lang.CharSequence
getTitle
()
public
android.view.ViewGroup
getViewGroup
()
public
int
getVisibility
()
public
boolean
hasEmbeddedTabs
()
public
boolean
hasExpandedActionView
()
public
boolean
hasIcon
()
public
boolean
hasLogo
()
public
boolean
hideOverflowMenu
()
public void
initIndeterminateProgress
()
public void
initProgress
()
public
boolean
isOverflowMenuShowPending
()
public
boolean
isOverflowMenuShowing
()
public
boolean
isSplit
()
public
boolean
isTitleTruncated
()
public void
restoreHierarchyState
(
android.util.SparseArray
toolbarStates)
public void
saveHierarchyState
(
android.util.SparseArray
toolbarStates)
public void
setBackgroundDrawable
(
android.graphics.drawable.Drawable
d)
public void
setCollapsible
(
boolean
collapsible)
public void
setCustomView
(
android.view.View
view)
public void
setDefaultNavigationContentDescription
(
int
defaultNavigationContentDescription)
public void
setDefaultNavigationIcon
(
android.graphics.drawable.Drawable
icon)
public void
setDisplayOptions
(
int
opts)
public void
setDropdownParams
(
android.widget.SpinnerAdapter
adapter,
AdapterViewCompat.OnItemSelectedListener
listener)
public void
setDropdownSelectedPosition
(
int
position)
public void
setEmbeddedTabView
(
ScrollingTabContainerView
tabView)
public void
setHomeButtonEnabled
(
boolean
enable)
public void
setIcon
(
int
resId)
public void
setIcon
(
android.graphics.drawable.Drawable
d)
public void
setLogo
(
int
resId)
public void
setLogo
(
android.graphics.drawable.Drawable
d)
public void
setMenu
(
android.view.Menu
menu,
MenuPresenter.Callback
cb)
public void
setMenuCallbacks
(
MenuPresenter.Callback
presenterCallback,
MenuBuilder.Callback
menuBuilderCallback)
public void
setMenuPrepared
()
public void
setNavigationContentDescription
(
java.lang.CharSequence
description)
public void
setNavigationContentDescription
(
int
resId)
public void
setNavigationIcon
(
android.graphics.drawable.Drawable
icon)
public void
setNavigationIcon
(
int
resId)
public void
setNavigationMode
(
int
mode)
public void
setSplitToolbar
(
boolean
split)
public void
setSplitView
(
android.view.ViewGroup
splitView)
public void
setSplitWhenNarrow
(
boolean
splitWhenNarrow)
public void
setSubtitle
(
java.lang.CharSequence
subtitle)
public void
setTitle
(
java.lang.CharSequence
title)
public void
setVisibility
(
int
visible)
public void
setWindowCallback
(
android.support.v7.internal.app.WindowCallback
cb)
public void
setWindowTitle
(
java.lang.CharSequence
title)
public
boolean
showOverflowMenu
()
Java Code Source