# android.support.v7.app

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

# android.support.v7.app

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Interfaces

|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ActionBar.OnMenuVisibilityListener](https://developer.android.com/reference/android/support/v7/app/ActionBar.OnMenuVisibilityListener)         | Listener for receiving events when action bar menus are shown or hidden.                                                                                                                                                                                                |
| [ActionBar.OnNavigationListener](https://developer.android.com/reference/android/support/v7/app/ActionBar.OnNavigationListener)                 | *This interface was deprecated in API level 24.1.0. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other[common navigation patterns](http://developer.android.com/design/patterns/navigation.html)instead.* |
| [ActionBar.TabListener](https://developer.android.com/reference/android/support/v7/app/ActionBar.TabListener)                                   | *This interface was deprecated in API level 24.1.0. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other[common navigation patterns](http://developer.android.com/design/patterns/navigation.html)instead.* |
| [ActionBarDrawerToggle.Delegate](https://developer.android.com/reference/android/support/v7/app/ActionBarDrawerToggle.Delegate)                 |                                                                                                                                                                                                                                                                         |
| [ActionBarDrawerToggle.DelegateProvider](https://developer.android.com/reference/android/support/v7/app/ActionBarDrawerToggle.DelegateProvider) | Allows an implementing Activity to return an[ActionBarDrawerToggle.Delegate](https://developer.android.com/reference/android/support/v7/app/ActionBarDrawerToggle.Delegate)to use with ActionBarDrawerToggle.                                                           |
| [AppCompatCallback](https://developer.android.com/reference/android/support/v7/app/AppCompatCallback)                                           | Implemented this in order for AppCompat to be able to callback in certain situations.                                                                                                                                                                                   |

## Classes

|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ActionBar](https://developer.android.com/reference/android/support/v7/app/ActionBar)                                                   | A primary toolbar within the activity that may display the activity title, application-level navigation affordances, and other interactive items.                                                                                                                                                                                       |
| [ActionBar.LayoutParams](https://developer.android.com/reference/android/support/v7/app/ActionBar.LayoutParams)                         | Per-child layout information associated with action bar custom views.                                                                                                                                                                                                                                                                   |
| [ActionBar.Tab](https://developer.android.com/reference/android/support/v7/app/ActionBar.Tab)                                           | *This class was deprecated in API level 24.1.0. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other[common navigation patterns](http://developer.android.com/design/patterns/navigation.html)instead.*                                                                     |
| [ActionBarDrawerToggle](https://developer.android.com/reference/android/support/v7/app/ActionBarDrawerToggle)                           | This class provides a handy way to tie together the functionality of[DrawerLayout](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout)and the framework`ActionBar`to implement the recommended design for navigation drawers.                                                                               |
| [AlertDialog](https://developer.android.com/reference/android/support/v7/app/AlertDialog)                                               | A subclass of Dialog that can display one, two or three buttons.                                                                                                                                                                                                                                                                        |
| [AlertDialog.Builder](https://developer.android.com/reference/android/support/v7/app/AlertDialog.Builder)                               |                                                                                                                                                                                                                                                                                                                                         |
| [AppCompatActivity](https://developer.android.com/reference/android/support/v7/app/AppCompatActivity)                                   | Base class for activities that use the[support library](https://developer.android.com/tools/extras/support-library)action bar features.                                                                                                                                                                                                 |
| [AppCompatDelegate](https://developer.android.com/reference/android/support/v7/app/AppCompatDelegate)                                   | This class represents a delegate which you can use to extend AppCompat's support to any[Activity](https://developer.android.com/reference/android/app/Activity.html).                                                                                                                                                                   |
| [AppCompatDialog](https://developer.android.com/reference/android/support/v7/app/AppCompatDialog)                                       | Base class for AppCompat themed[Dialog](https://developer.android.com/reference/android/app/Dialog.html)s.                                                                                                                                                                                                                              |
| [AppCompatDialogFragment](https://developer.android.com/reference/android/support/v7/app/AppCompatDialogFragment)                       | A special version of[DialogFragment](https://developer.android.com/reference/android/support/v4/app/DialogFragment)which uses an[AppCompatDialog](https://developer.android.com/reference/android/support/v7/app/AppCompatDialog)in place of a platform-styled dialog.                                                                  |
| [AppCompatViewInflater](https://developer.android.com/reference/android/support/v7/app/AppCompatViewInflater)                           | This class is responsible for manually inflating our tinted widgets.                                                                                                                                                                                                                                                                    |
| [MediaRouteActionProvider](https://developer.android.com/reference/android/support/v7/app/MediaRouteActionProvider)                     | The media route action provider displays a[media route button](https://developer.android.com/reference/android/support/v7/app/MediaRouteButton)in the application's[ActionBar](https://developer.android.com/reference/android/support/v7/app/ActionBar)to allow the user to select routes and to control the currently selected route. |
| [MediaRouteButton](https://developer.android.com/reference/android/support/v7/app/MediaRouteButton)                                     | The media route button allows the user to select routes and to control the currently selected route.                                                                                                                                                                                                                                    |
| [MediaRouteChooserDialog](https://developer.android.com/reference/android/support/v7/app/MediaRouteChooserDialog)                       | This class implements the route chooser dialog for[MediaRouter](https://developer.android.com/reference/android/support/v7/media/MediaRouter).                                                                                                                                                                                          |
| [MediaRouteChooserDialogFragment](https://developer.android.com/reference/android/support/v7/app/MediaRouteChooserDialogFragment)       | Media route chooser dialog fragment.                                                                                                                                                                                                                                                                                                    |
| [MediaRouteControllerDialog](https://developer.android.com/reference/android/support/v7/app/MediaRouteControllerDialog)                 | This class implements the route controller dialog for[MediaRouter](https://developer.android.com/reference/android/support/v7/media/MediaRouter).                                                                                                                                                                                       |
| [MediaRouteControllerDialogFragment](https://developer.android.com/reference/android/support/v7/app/MediaRouteControllerDialogFragment) | Media route controller dialog fragment.                                                                                                                                                                                                                                                                                                 |
| [MediaRouteDialogFactory](https://developer.android.com/reference/android/support/v7/app/MediaRouteDialogFactory)                       | The media route dialog factory is responsible for creating the media route chooser and controller dialogs as needed.                                                                                                                                                                                                                    |
| [MediaRouteDiscoveryFragment](https://developer.android.com/reference/android/support/v7/app/MediaRouteDiscoveryFragment)               | Media route discovery fragment.                                                                                                                                                                                                                                                                                                         |

-

  ## Interfaces

  - [ActionBar.OnMenuVisibilityListener](https://developer.android.com/reference/android/support/v7/app/ActionBar.OnMenuVisibilityListener)
  - [ActionBar.OnNavigationListener](https://developer.android.com/reference/android/support/v7/app/ActionBar.OnNavigationListener)
  - [ActionBar.TabListener](https://developer.android.com/reference/android/support/v7/app/ActionBar.TabListener)
  - [ActionBarDrawerToggle.Delegate](https://developer.android.com/reference/android/support/v7/app/ActionBarDrawerToggle.Delegate)
  - [ActionBarDrawerToggle.DelegateProvider](https://developer.android.com/reference/android/support/v7/app/ActionBarDrawerToggle.DelegateProvider)
  - [AppCompatCallback](https://developer.android.com/reference/android/support/v7/app/AppCompatCallback)
-

  ## Classes

  - [ActionBar](https://developer.android.com/reference/android/support/v7/app/ActionBar)
  - [ActionBar.LayoutParams](https://developer.android.com/reference/android/support/v7/app/ActionBar.LayoutParams)
  - [ActionBar.Tab](https://developer.android.com/reference/android/support/v7/app/ActionBar.Tab)
  - [ActionBarDrawerToggle](https://developer.android.com/reference/android/support/v7/app/ActionBarDrawerToggle)
  - [AlertDialog](https://developer.android.com/reference/android/support/v7/app/AlertDialog)
  - [AlertDialog.Builder](https://developer.android.com/reference/android/support/v7/app/AlertDialog.Builder)
  - [AppCompatActivity](https://developer.android.com/reference/android/support/v7/app/AppCompatActivity)
  - [AppCompatDelegate](https://developer.android.com/reference/android/support/v7/app/AppCompatDelegate)
  - [AppCompatDialog](https://developer.android.com/reference/android/support/v7/app/AppCompatDialog)
  - [AppCompatDialogFragment](https://developer.android.com/reference/android/support/v7/app/AppCompatDialogFragment)
  - [AppCompatViewInflater](https://developer.android.com/reference/android/support/v7/app/AppCompatViewInflater)
  - [MediaRouteActionProvider](https://developer.android.com/reference/android/support/v7/app/MediaRouteActionProvider)
  - [MediaRouteButton](https://developer.android.com/reference/android/support/v7/app/MediaRouteButton)
  - [MediaRouteChooserDialog](https://developer.android.com/reference/android/support/v7/app/MediaRouteChooserDialog)
  - [MediaRouteChooserDialogFragment](https://developer.android.com/reference/android/support/v7/app/MediaRouteChooserDialogFragment)
  - [MediaRouteControllerDialog](https://developer.android.com/reference/android/support/v7/app/MediaRouteControllerDialog)
  - [MediaRouteControllerDialogFragment](https://developer.android.com/reference/android/support/v7/app/MediaRouteControllerDialogFragment)
  - [MediaRouteDialogFactory](https://developer.android.com/reference/android/support/v7/app/MediaRouteDialogFactory)
  - [MediaRouteDiscoveryFragment](https://developer.android.com/reference/android/support/v7/app/MediaRouteDiscoveryFragment)