android.support.v7.app.ActionBar.OnMenuVisibilityListener |
Listener for receiving events when ActionBar
items are shown or hidden.
Note: This interface is included in the support library for compatibility
with API level 7 and higher. If you're developing your app for API level 11 and higher
only, you should instead use the framework ActionBar.OnMenuVisibilityListener
interface.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when an action bar menu is shown or hidden.
|
Called when an action bar menu is shown or hidden. Applications may want to use this to tune auto-hiding behavior for the action bar or pause/resume video playback, gameplay, or other activity within the main content area.
isVisible | True if an action bar menu is now visible, false if no action bar menus are visible. |
---|