# ActionProvider

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1  
Summary:[Nested Classes](https://developer.android.com/reference/android/support/v4/view/ActionProvider#nestedclasses)\|[Ctors](https://developer.android.com/reference/android/support/v4/view/ActionProvider#pubctors)\|[Methods](https://developer.android.com/reference/android/support/v4/view/ActionProvider#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/v4/view/ActionProvider#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/v4/view/ActionProvider#)  

# ActionProvider

| 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).

`
public


abstract
class
ActionProvider
`  
`

extends Object


``


`

|---|----------------------------------------|
| java.lang.Object                          ||
| ↳ | android.support.v4.view.ActionProvider |

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/view/ActionProvider#)Known Direct Subclasses [MediaRouteActionProvider](https://developer.android.com/reference/android/support/v7/app/MediaRouteActionProvider),[ShareActionProvider](https://developer.android.com/reference/android/support/v7/widget/ShareActionProvider) |---------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [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. | | [ShareActionProvider](https://developer.android.com/reference/android/support/v7/widget/ShareActionProvider)        | Provides a share action, which is suitable for an activity's app bar.                                                                                                                                                                                                                                                                   | |

<br />

*** ** * ** ***

This class is a mediator for accomplishing a given task, for example sharing a file. It is responsible for creating a view that performs an action that accomplishes the task. This class also implements other functions such a performing a default action.

**Note:** This class is included in the[support library](https://developer.android.com/tools/extras/support-library)for compatibility with API level 4 and higher. If you're developing your app for API level 14 and higher*only* , you should instead use the framework[ActionProvider](https://developer.android.com/reference/android/view/ActionProvider.html)class.

An ActionProvider can be optionally specified for a[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)and in such a case it will be responsible for creating the action view that appears in the[ActionBar](https://developer.android.com/reference/android/app/ActionBar.html)as a substitute for the menu item when the item is displayed as an action item. Also the provider is responsible for performing a default action if a menu item placed on the overflow menu of the ActionBar is selected and none of the menu item callbacks has handled the selection. For this case the provider can also optionally provide a sub-menu for accomplishing the task at hand.

There are two ways for using an action provider for creating and handling of action views:

- Setting the action provider on a[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)directly by calling[setActionProvider(android.view.MenuItem, ActionProvider)](https://developer.android.com/reference/android/support/v4/view/MenuItemCompat#setActionProvider(android.view.MenuItem, android.support.v4.view.ActionProvider)).
- Declaring the action provider in the menu XML resource. For example:  


         <item android:id="@+id/my_menu_item"
           android:title="@string/my_menu_item_title"
           android:icon="@drawable/my_menu_item_icon"
           android:showAsAction="ifRoom"
           android:actionProviderClass="foo.bar.SomeActionProvider" />
       
<br />

### Creating a custom action provider

To create a custom action provider, extend ActionProvider and implement its callback methods as necessary. In particular, implement the following methods:

[ActionProvider()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#ActionProvider(android.content.Context))constructor
:   This constructor is passed the application context. You should save the context in a member field to use in the other callback methods.

[onCreateActionView(MenuItem)](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onCreateActionView())
:   The system calls this method when the action provider is created. You define the action provider's layout through the implementation of this method. Use the context acquired from the constructor to instantiate a[LayoutInflater](https://developer.android.com/reference/android/view/LayoutInflater.html)and inflate your action provider's layout from an XML resource, then hook up event listeners for the view's components. For example:  

    ```
     public View onCreateActionView(MenuItem forItem) {
         // Inflate the action provider to be shown on the action bar.
         LayoutInflater layoutInflater = LayoutInflater.from(mContext);
         View providerView =
             layoutInflater.inflate(R.layout.my_action_provider, null);
         ImageButton button =
             (ImageButton) providerView.findViewById(R.id.button);
         button.setOnClickListener(new View.OnClickListener() {
             @Override
             public void onClick(View v) {
                 // Do something...
             }
         });
         return providerView;
     }
    ```

[onPerformDefaultAction()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onPerformDefaultAction())

:   The system calls this method when the user selects a menu item from the action overflow. The action provider should perform a default action for the menu item. The system does not call this method if the menu item opens a submenu.

    If your action provider presents a submenu through the[onPrepareSubMenu()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onPrepareSubMenu(android.view.SubMenu))callback, the submenu appears even if the action provider is in the overflow menu. Thus, the system never calls[onPerformDefaultAction()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onPerformDefaultAction())if there is a submenu.

    **Note:** An activity or a fragment that implements`onOptionsItemSelected()`can override the action provider's default behavior (unless it uses a submenu) by handling the item-selected event and returning`true`. In this case, the system does not call[onPerformDefaultAction()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onPerformDefaultAction()).

<br />

**See also:**

- [setActionProvider(android.view.MenuItem, ActionProvider)](https://developer.android.com/reference/android/support/v4/view/MenuItemCompat#setActionProvider(android.view.MenuItem, android.support.v4.view.ActionProvider))
- [getActionProvider(android.view.MenuItem)](https://developer.android.com/reference/android/support/v4/view/MenuItemCompat#getActionProvider(android.view.MenuItem))

## Summary

|                                                                                                                                                       ### Nested classes                                                                                                                                                       ||
|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` interface` | [ActionProvider.VisibilityListener](https://developer.android.com/reference/android/support/v4/view/ActionProvider.VisibilityListener) Listens to changes in visibility as reported by[refreshVisibility()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#refreshVisibility()). |

|                                                                                                                       ### Public constructors                                                                                                                        ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[ActionProvider](https://developer.android.com/reference/android/support/v4/view/ActionProvider#ActionProvider(android.content.Context))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context) ` Creates a new instance. |

|                                                                                                                                                                                                                                                                               ### Public methods                                                                                                                                                                                                                                                                               ||
|------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[Context](https://developer.android.com/reference/android/content/Context.html) | ` `[getContext](https://developer.android.com/reference/android/support/v4/view/ActionProvider#getContext())`() ` Gets the context associated with this action provider.                                                                                                                                                                                                                                                                                                                   |
| ` boolean`                                                                         | ` `[hasSubMenu](https://developer.android.com/reference/android/support/v4/view/ActionProvider#hasSubMenu())`() ` Determines if this ActionProvider has a submenu associated with it.                                                                                                                                                                                                                                                                                                      |
| ` boolean`                                                                         | ` `[isVisible](https://developer.android.com/reference/android/support/v4/view/ActionProvider#isVisible())`() ` If[overridesItemVisibility()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#overridesItemVisibility())returns true, the return value of this method will help determine the visibility of the[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)this ActionProvider is bound to.                               |
| ` abstract `[View](https://developer.android.com/reference/android/view/View.html) | ` `[onCreateActionView](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onCreateActionView())`() ` Factory method for creating new action views.                                                                                                                                                                                                                                                                                                            |
| ` `[View](https://developer.android.com/reference/android/view/View.html)          | ` `[onCreateActionView](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onCreateActionView(android.view.MenuItem))`(`[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)` forItem) ` Factory method called by the Android framework to create new action views.                                                                                                                                                                  |
| ` boolean`                                                                         | ` `[onPerformDefaultAction](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onPerformDefaultAction())`() ` Performs an optional default action.                                                                                                                                                                                                                                                                                                             |
| ` void`                                                                            | ` `[onPrepareSubMenu](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onPrepareSubMenu(android.view.SubMenu))`(`[SubMenu](https://developer.android.com/reference/android/view/SubMenu.html)` subMenu) ` Called to prepare an associated submenu for the menu item backed by this ActionProvider.                                                                                                                                                           |
| ` boolean`                                                                         | ` `[overridesItemVisibility](https://developer.android.com/reference/android/support/v4/view/ActionProvider#overridesItemVisibility())`() ` The result of this method determines whether or not[isVisible()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#isVisible())will be used by the[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)this ActionProvider is bound to help determine its visibility.                    |
| ` void`                                                                            | ` `[refreshVisibility](https://developer.android.com/reference/android/support/v4/view/ActionProvider#refreshVisibility())`() ` If this ActionProvider is associated with an item in a menu, refresh the visibility of the item based on[overridesItemVisibility()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#overridesItemVisibility())and[isVisible()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#isVisible()). |
| ` void`                                                                            | ` `[setVisibilityListener](https://developer.android.com/reference/android/support/v4/view/ActionProvider#setVisibilityListener(android.support.v4.view.ActionProvider.VisibilityListener))`(`[ActionProvider.VisibilityListener](https://developer.android.com/reference/android/support/v4/view/ActionProvider.VisibilityListener)` listener) ` Set a listener to be notified when this ActionProvider's overridden visibility changes.                                                  |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/view/ActionProvider#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||

## Public constructors

### ActionProvider

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

```
ActionProvider (Context context)
```

Creates a new instance.

<br />

|                          Parameters                           ||
|-----------|----------------------------------------------------|
| `context` | `Context`: Context for accessing resources. <br /> |

## Public methods

### getContext

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

```
Context getContext ()
```

Gets the context associated with this action provider.

<br />

|                                         Returns                                         ||
|---------------------------------------------------------------------------------|--------|
| [Context](https://developer.android.com/reference/android/content/Context.html) | <br /> |

### hasSubMenu

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

```
boolean hasSubMenu ()
```

Determines if this ActionProvider has a submenu associated with it.

Associated submenus will be shown when an action view is not. This provider instance will receive a call to[onPrepareSubMenu(SubMenu)](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onPrepareSubMenu(android.view.SubMenu))after the call to[onPerformDefaultAction()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onPerformDefaultAction())and before a submenu is displayed to the user.

<br />

|                                           Returns                                            ||
|-----------|-----------------------------------------------------------------------------------|
| `boolean` | true if the item backed by this provider should have an associated submenu <br /> |

### isVisible

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

```
boolean isVisible ()
```

If[overridesItemVisibility()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#overridesItemVisibility())returns true, the return value of this method will help determine the visibility of the[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)this ActionProvider is bound to.

If the MenuItem's visibility is explicitly set to false by the application, the MenuItem will not be shown, even if this method returns true.

<br />

<br />

|                                                                        Returns                                                                        ||
|-----------|--------------------------------------------------------------------------------------------------------------------------------------------|
| `boolean` | true if the MenuItem this ActionProvider is bound to is visible, false if it is invisible. The default implementation returns true. <br /> |

### onCreateActionView

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

```
View onCreateActionView ()
```

Factory method for creating new action views.

<br />

|                                              Returns                                              ||
|------------------------------------------------------------------------|---------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | A new action view. <br /> |

### onCreateActionView

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

```
View onCreateActionView (MenuItem forItem)
```

Factory method called by the Android framework to create new action views. This method returns a new action view for the given MenuItem.

If your ActionProvider implementation overrides the deprecated no-argument overload[onCreateActionView()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onCreateActionView()), overriding this method for devices running API 16 or later is recommended but optional. The default implementation calls[onCreateActionView()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#onCreateActionView())for compatibility with applications written for older platform versions.

<br />

<br />

|                              Parameters                              ||
|-----------|-----------------------------------------------------------|
| `forItem` | `MenuItem`: MenuItem to create the action view for <br /> |

|                                              Returns                                               ||
|------------------------------------------------------------------------|----------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | the new action view <br /> |

### onPerformDefaultAction

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

```
boolean onPerformDefaultAction ()
```

Performs an optional default action.

For the case of an action provider placed in a menu item not shown as an action this method is invoked if previous callbacks for processing menu selection has handled the event.

A menu item selection is processed in the following order:

- Receiving a call to[MenuItem.OnMenuItemClickListener.onMenuItemClick](https://developer.android.com/reference/android/view/MenuItem.OnMenuItemClickListener.html#onMenuItemClick(android.view.MenuItem)).
- Receiving a call to[onOptionsItemSelected(android.view.MenuItem)](https://developer.android.com/reference/android/app/Activity.html#onOptionsItemSelected(android.view.MenuItem))FragmentActivity.onOptionsItemSelected(MenuItem)}
- Receiving a call to[onOptionsItemSelected(android.view.MenuItem)](https://developer.android.com/reference/android/support/v4/app/Fragment#onOptionsItemSelected(android.view.MenuItem))Fragment.onOptionsItemSelected(MenuItem)}
- Launching the[Intent](https://developer.android.com/reference/android/content/Intent.html)set via[MenuItem.setIntent(android.content.Intent)](https://developer.android.com/reference/android/view/MenuItem.html#setIntent(android.content.Intent))
- Invoking this method.

The default implementation does not perform any action and returns false.

<br />

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### onPrepareSubMenu

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

```
void onPrepareSubMenu (SubMenu subMenu)
```

Called to prepare an associated submenu for the menu item backed by this ActionProvider.

if[hasSubMenu()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#hasSubMenu())returns true, this method will be called when the menu item is selected to prepare the submenu for presentation to the user. Apps may use this to create or alter submenu content right before display.

<br />

|                         Parameters                          ||
|-----------|--------------------------------------------------|
| `subMenu` | `SubMenu`: Submenu that will be displayed <br /> |

### overridesItemVisibility

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

```
boolean overridesItemVisibility ()
```

The result of this method determines whether or not[isVisible()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#isVisible())will be used by the[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)this ActionProvider is bound to help determine its visibility.

<br />

|                                                                              Returns                                                                              ||
|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `boolean` | true if this ActionProvider overrides the visibility of the MenuItem it is bound to, false otherwise. The default implementation returns false. <br /> |

**See also:**

- [isVisible()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#isVisible())  

### refreshVisibility

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

```
void refreshVisibility ()
```

If this ActionProvider is associated with an item in a menu, refresh the visibility of the item based on[overridesItemVisibility()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#overridesItemVisibility())and[isVisible()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#isVisible()). If[overridesItemVisibility()](https://developer.android.com/reference/android/support/v4/view/ActionProvider#overridesItemVisibility())returns false, this call will have no effect.

<br />

### setVisibilityListener

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

```
void setVisibilityListener (ActionProvider.VisibilityListener listener)
```

Set a listener to be notified when this ActionProvider's overridden visibility changes. This should only be used by MenuItem implementations.

<br />

|                               Parameters                                ||
|------------|-------------------------------------------------------------|
| `listener` | `ActionProvider.VisibilityListener`: listener to set <br /> |

-

  ## Annotations

  - [ViewPager.DecorView](https://developer.android.com/reference/android/support/v4/view/ViewPager.DecorView)
-

  ## Interfaces

  - [ActionProvider.VisibilityListener](https://developer.android.com/reference/android/support/v4/view/ActionProvider.VisibilityListener)
  - [AsyncLayoutInflater.OnInflateFinishedListener](https://developer.android.com/reference/android/support/v4/view/AsyncLayoutInflater.OnInflateFinishedListener)
  - [LayoutInflaterFactory](https://developer.android.com/reference/android/support/v4/view/LayoutInflaterFactory)
  - [MenuItemCompat.OnActionExpandListener](https://developer.android.com/reference/android/support/v4/view/MenuItemCompat.OnActionExpandListener)
  - [NestedScrollingChild](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild)
  - [NestedScrollingChild2](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2)
  - [NestedScrollingParent](https://developer.android.com/reference/android/support/v4/view/NestedScrollingParent)
  - [NestedScrollingParent2](https://developer.android.com/reference/android/support/v4/view/NestedScrollingParent2)
  - [OnApplyWindowInsetsListener](https://developer.android.com/reference/android/support/v4/view/OnApplyWindowInsetsListener)
  - [ScrollingView](https://developer.android.com/reference/android/support/v4/view/ScrollingView)
  - [TintableBackgroundView](https://developer.android.com/reference/android/support/v4/view/TintableBackgroundView)
  - [ViewPager.OnAdapterChangeListener](https://developer.android.com/reference/android/support/v4/view/ViewPager.OnAdapterChangeListener)
  - [ViewPager.OnPageChangeListener](https://developer.android.com/reference/android/support/v4/view/ViewPager.OnPageChangeListener)
  - [ViewPager.PageTransformer](https://developer.android.com/reference/android/support/v4/view/ViewPager.PageTransformer)
  - [ViewPropertyAnimatorListener](https://developer.android.com/reference/android/support/v4/view/ViewPropertyAnimatorListener)
  - [ViewPropertyAnimatorUpdateListener](https://developer.android.com/reference/android/support/v4/view/ViewPropertyAnimatorUpdateListener)
-

  ## Classes

  - [AbsSavedState](https://developer.android.com/reference/android/support/v4/view/AbsSavedState)
  - [AccessibilityDelegateCompat](https://developer.android.com/reference/android/support/v4/view/AccessibilityDelegateCompat)
  - [ActionProvider](https://developer.android.com/reference/android/support/v4/view/ActionProvider)
  - [AsyncLayoutInflater](https://developer.android.com/reference/android/support/v4/view/AsyncLayoutInflater)
  - [GestureDetectorCompat](https://developer.android.com/reference/android/support/v4/view/GestureDetectorCompat)
  - [GravityCompat](https://developer.android.com/reference/android/support/v4/view/GravityCompat)
  - [InputDeviceCompat](https://developer.android.com/reference/android/support/v4/view/InputDeviceCompat)
  - [LayoutInflaterCompat](https://developer.android.com/reference/android/support/v4/view/LayoutInflaterCompat)
  - [MarginLayoutParamsCompat](https://developer.android.com/reference/android/support/v4/view/MarginLayoutParamsCompat)
  - [MenuCompat](https://developer.android.com/reference/android/support/v4/view/MenuCompat)
  - [MenuItemCompat](https://developer.android.com/reference/android/support/v4/view/MenuItemCompat)
  - [MotionEventCompat](https://developer.android.com/reference/android/support/v4/view/MotionEventCompat)
  - [NestedScrollingChildHelper](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChildHelper)
  - [NestedScrollingParentHelper](https://developer.android.com/reference/android/support/v4/view/NestedScrollingParentHelper)
  - [PagerAdapter](https://developer.android.com/reference/android/support/v4/view/PagerAdapter)
  - [PagerTabStrip](https://developer.android.com/reference/android/support/v4/view/PagerTabStrip)
  - [PagerTitleStrip](https://developer.android.com/reference/android/support/v4/view/PagerTitleStrip)
  - [PointerIconCompat](https://developer.android.com/reference/android/support/v4/view/PointerIconCompat)
  - [ScaleGestureDetectorCompat](https://developer.android.com/reference/android/support/v4/view/ScaleGestureDetectorCompat)
  - [VelocityTrackerCompat](https://developer.android.com/reference/android/support/v4/view/VelocityTrackerCompat)
  - [ViewCompat](https://developer.android.com/reference/android/support/v4/view/ViewCompat)
  - [ViewConfigurationCompat](https://developer.android.com/reference/android/support/v4/view/ViewConfigurationCompat)
  - [ViewGroupCompat](https://developer.android.com/reference/android/support/v4/view/ViewGroupCompat)
  - [ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager)
  - [ViewPager.LayoutParams](https://developer.android.com/reference/android/support/v4/view/ViewPager.LayoutParams)
  - [ViewPager.SavedState](https://developer.android.com/reference/android/support/v4/view/ViewPager.SavedState)
  - [ViewPager.SimpleOnPageChangeListener](https://developer.android.com/reference/android/support/v4/view/ViewPager.SimpleOnPageChangeListener)
  - [ViewParentCompat](https://developer.android.com/reference/android/support/v4/view/ViewParentCompat)
  - [ViewPropertyAnimatorCompat](https://developer.android.com/reference/android/support/v4/view/ViewPropertyAnimatorCompat)
  - [ViewPropertyAnimatorListenerAdapter](https://developer.android.com/reference/android/support/v4/view/ViewPropertyAnimatorListenerAdapter)
  - [WindowCompat](https://developer.android.com/reference/android/support/v4/view/WindowCompat)
  - [WindowInsetsCompat](https://developer.android.com/reference/android/support/v4/view/WindowInsetsCompat)