WindowDecorActionBar
open class WindowDecorActionBar : ActionBar, ActionBarOverlayLayout.ActionBarVisibilityCallback(source)
WindowDecorActionBar is the ActionBar implementation used by devices of all screen sizes as part of the window decor layout.
Types
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Add a listener that will respond to menu visibility change events.
Link copied to clipboard
Add a tab for use in tabbed navigation mode.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the Z-axis elevation of the action bar in pixels.
Link copied to clipboard
Return the current vertical offset of the action bar.
Link copied to clipboard
Get the number of navigation items present in the current navigation mode.
Link copied to clipboard
Returns the current navigation mode.
Link copied to clipboard
Get the position of the selected navigation item in list or tabbed navigation modes.
Link copied to clipboard
Returns the currently selected tab if in tabbed navigation mode and there is at least one tab present.
Link copied to clipboard
Returns the current ActionBar subtitle in standard mode.
Link copied to clipboard
Returns the tab at the specified index.
Link copied to clipboard
Returns the number of tabs currently registered with the action bar.
Link copied to clipboard
Returns a Context with an appropriate theme for creating views that will appear in the action bar.
Link copied to clipboard
Returns the current ActionBar title in standard mode.
Link copied to clipboard
Link copied to clipboard
Return whether the action bar is configured to scroll out of sight along with a nested scrolling child.
Link copied to clipboard
Returns true if the Title field has been truncated during layout for lack of available space.
Link copied to clipboard
Create and return a new Tab.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Remove all tabs from the action bar and deselect the current tab.
Link copied to clipboard
Remove a menu visibility listener.
Link copied to clipboard
Remove a tab from the action bar.
Link copied to clipboard
Remove a tab from the action bar.
Link copied to clipboard
Attempts to move focus to the ActionBar if it does not already contain the focus.
Link copied to clipboard
Select the specified tab.
Link copied to clipboard
Set the ActionBar's background.
Link copied to clipboard
Set the action bar into custom navigation mode, supplying a view for custom navigation.
Link copied to clipboard
Link copied to clipboard
Set whether home should be displayed as an "up" affordance.
Link copied to clipboard
Set display options.
Set selected display options.
Link copied to clipboard
Set whether a custom view should be displayed, if set.
Link copied to clipboard
Set whether to include the application home affordance in the action bar.
Link copied to clipboard
Set whether an activity title/subtitle should be displayed.
Link copied to clipboard
Set whether to display the activity logo rather than the activity icon.
Link copied to clipboard
Set the Z-axis elevation of the action bar in pixels.
Link copied to clipboard
Set the current hide offset of the action bar.
Link copied to clipboard
Enable hiding the action bar on content scroll.
Link copied to clipboard
Set an alternate description for the Home/Up action, when enabled.
Link copied to clipboard
Set an alternate drawable to display next to the icon/logo/title when DISPLAY_HOME_AS_UP is enabled.
Link copied to clipboard
Enable or disable the "home" button in the corner of the action bar.
Link copied to clipboard
open fun setListNavigationCallbacks(adapter: SpinnerAdapter, callback: ActionBar.OnNavigationListener)
Set the adapter and navigation callback for list navigation mode.
Link copied to clipboard
Set the current navigation mode.
Link copied to clipboard
Set the selected navigation item in list or tabbed navigation modes.
Link copied to clipboard
Enables or disables animation between show/hide states.
Link copied to clipboard
Set the ActionBar's split background.
Link copied to clipboard
Set the ActionBar's stacked background.
Link copied to clipboard
Set the action bar's subtitle.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard