public interface TabSwitcherLayout
TabSwitcher
,
must implement.Modifier and Type | Method and Description |
---|---|
android.view.ViewGroup |
getTabContainer()
Returns the view group, which contains the tab switcher's tabs.
|
android.view.Menu |
getToolbarMenu()
Returns the menu of the toolbar, which is shown, when the tab switcher is shown.
|
android.support.v7.widget.Toolbar[] |
getToolbars()
Returns the toolbars, which are shown, when the tab switcher is shown.
|
boolean |
isAnimationRunning()
Returns, whether an animation is currently running, or not.
|
boolean isAnimationRunning()
@Nullable android.view.ViewGroup getTabContainer()
ViewGroup
or null, if the view has not been laid out yet@Nullable android.support.v7.widget.Toolbar[] getToolbars()
TabSwitcher.PRIMARY_TOOLBAR_INDEX
of the returned array corresponds to the primary toolbar and the index TabSwitcher.SECONDARY_TOOLBAR_INDEX
corresponds to the secondary toolbar.@Nullable android.view.Menu getToolbarMenu()
Menu
or null, if the view
has not been laid out yet