# ViewCompat

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:support-v13:28.0.0-alpha1  
Deprecated since version 26.1.0  
Summary:[Inherited Constants](https://developer.android.com/reference/android/support/v13/view/ViewCompat#inhconstants)\|[Inherited Methods](https://developer.android.com/reference/android/support/v13/view/ViewCompat#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/v13/view/ViewCompat#)  

# ViewCompat

| 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


class
ViewCompat
`  
`


``

extends `[ViewCompat](https://developer.android.com/reference/android/support/v4/view/ViewCompat)`


``


`

|---|---|-------------------------------------|
| java.lang.Object                          |||
| ↳ | [android.support.v4.view.ViewCompat](https://developer.android.com/reference/android/support/v4/view/ViewCompat) ||
|   | ↳ | android.support.v13.view.ViewCompat |

<br />

*** ** * ** ***

<br />

**This class was deprecated in API level 26.1.0.**   
Use[ViewCompat](https://developer.android.com/reference/android/support/v4/view/ViewCompat)instead.

Helper for accessing features in[View](https://developer.android.com/reference/android/view/View.html)introduced after API level 13 in a backwards compatible fashion.

## Summary

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v13/view/ViewCompat#)From class` `[android.support.v4.view.ViewCompat](https://developer.android.com/reference/android/support/v4/view/ViewCompat)` ` |-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `int` | [ACCESSIBILITY_LIVE_REGION_ASSERTIVE](https://developer.android.com/reference/android/support/v4/view/ViewCompat#ACCESSIBILITY_LIVE_REGION_ASSERTIVE) Live region mode specifying that accessibility services should interrupt ongoing speech to immediately announce changes to this view.                                                                                                    | | `int` | [ACCESSIBILITY_LIVE_REGION_NONE](https://developer.android.com/reference/android/support/v4/view/ViewCompat#ACCESSIBILITY_LIVE_REGION_NONE) Live region mode specifying that accessibility services should not automatically announce changes to this view.                                                                                                                                    | | `int` | [ACCESSIBILITY_LIVE_REGION_POLITE](https://developer.android.com/reference/android/support/v4/view/ViewCompat#ACCESSIBILITY_LIVE_REGION_POLITE) Live region mode specifying that accessibility services should announce changes to this view.                                                                                                                                                  | | `int` | [IMPORTANT_FOR_ACCESSIBILITY_AUTO](https://developer.android.com/reference/android/support/v4/view/ViewCompat#IMPORTANT_FOR_ACCESSIBILITY_AUTO) Automatically determine whether a view is important for accessibility.                                                                                                                                                                         | | `int` | [IMPORTANT_FOR_ACCESSIBILITY_NO](https://developer.android.com/reference/android/support/v4/view/ViewCompat#IMPORTANT_FOR_ACCESSIBILITY_NO) The view is not important for accessibility.                                                                                                                                                                                                       | | `int` | [IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS](https://developer.android.com/reference/android/support/v4/view/ViewCompat#IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS) The view is not important for accessibility, nor are any of its descendant views.                                                                                                                                | | `int` | [IMPORTANT_FOR_ACCESSIBILITY_YES](https://developer.android.com/reference/android/support/v4/view/ViewCompat#IMPORTANT_FOR_ACCESSIBILITY_YES) The view is important for accessibility.                                                                                                                                                                                                         | | `int` | [LAYER_TYPE_HARDWARE](https://developer.android.com/reference/android/support/v4/view/ViewCompat#LAYER_TYPE_HARDWARE) *This constant was deprecated in API level 26.1.0. Use[LAYER_TYPE_HARDWARE](https://developer.android.com/reference/android/view/View.html#LAYER_TYPE_HARDWARE)directly.*                                                                                                | | `int` | [LAYER_TYPE_NONE](https://developer.android.com/reference/android/support/v4/view/ViewCompat#LAYER_TYPE_NONE) *This constant was deprecated in API level 26.1.0. Use[LAYER_TYPE_NONE](https://developer.android.com/reference/android/view/View.html#LAYER_TYPE_NONE)directly.*                                                                                                                | | `int` | [LAYER_TYPE_SOFTWARE](https://developer.android.com/reference/android/support/v4/view/ViewCompat#LAYER_TYPE_SOFTWARE) *This constant was deprecated in API level 26.1.0. Use[LAYER_TYPE_SOFTWARE](https://developer.android.com/reference/android/view/View.html#LAYER_TYPE_SOFTWARE)directly.*                                                                                                | | `int` | [LAYOUT_DIRECTION_INHERIT](https://developer.android.com/reference/android/support/v4/view/ViewCompat#LAYOUT_DIRECTION_INHERIT) Horizontal layout direction of this view is inherited from its parent.                                                                                                                                                                                         | | `int` | [LAYOUT_DIRECTION_LOCALE](https://developer.android.com/reference/android/support/v4/view/ViewCompat#LAYOUT_DIRECTION_LOCALE) Horizontal layout direction of this view is from deduced from the default language script for the locale.                                                                                                                                                        | | `int` | [LAYOUT_DIRECTION_LTR](https://developer.android.com/reference/android/support/v4/view/ViewCompat#LAYOUT_DIRECTION_LTR) Horizontal layout direction of this view is from Left to Right.                                                                                                                                                                                                        | | `int` | [LAYOUT_DIRECTION_RTL](https://developer.android.com/reference/android/support/v4/view/ViewCompat#LAYOUT_DIRECTION_RTL) Horizontal layout direction of this view is from Right to Left.                                                                                                                                                                                                        | | `int` | [MEASURED_HEIGHT_STATE_SHIFT](https://developer.android.com/reference/android/support/v4/view/ViewCompat#MEASURED_HEIGHT_STATE_SHIFT) *This constant was deprecated in API level 26.1.0. Use[MEASURED_HEIGHT_STATE_SHIFT](https://developer.android.com/reference/android/view/View.html#MEASURED_HEIGHT_STATE_SHIFT)directly.*                                                                | | `int` | [MEASURED_SIZE_MASK](https://developer.android.com/reference/android/support/v4/view/ViewCompat#MEASURED_SIZE_MASK) *This constant was deprecated in API level 26.1.0. Use[MEASURED_SIZE_MASK](https://developer.android.com/reference/android/view/View.html#MEASURED_SIZE_MASK)directly.*                                                                                                    | | `int` | [MEASURED_STATE_MASK](https://developer.android.com/reference/android/support/v4/view/ViewCompat#MEASURED_STATE_MASK) *This constant was deprecated in API level 26.1.0. Use[MEASURED_STATE_MASK](https://developer.android.com/reference/android/view/View.html#MEASURED_STATE_MASK)directly.*                                                                                                | | `int` | [MEASURED_STATE_TOO_SMALL](https://developer.android.com/reference/android/support/v4/view/ViewCompat#MEASURED_STATE_TOO_SMALL) *This constant was deprecated in API level 26.1.0. Use[MEASURED_STATE_TOO_SMALL](https://developer.android.com/reference/android/view/View.html#MEASURED_STATE_TOO_SMALL)directly.*                                                                            | | `int` | [OVER_SCROLL_ALWAYS](https://developer.android.com/reference/android/support/v4/view/ViewCompat#OVER_SCROLL_ALWAYS) *This constant was deprecated in API level 25.1.0. Use[OVER_SCROLL_ALWAYS](https://developer.android.com/reference/android/view/View.html#OVER_SCROLL_ALWAYS)directly. This constant will be removed in a future release.*                                                 | | `int` | [OVER_SCROLL_IF_CONTENT_SCROLLS](https://developer.android.com/reference/android/support/v4/view/ViewCompat#OVER_SCROLL_IF_CONTENT_SCROLLS) *This constant was deprecated in API level 25.1.0. Use[OVER_SCROLL_IF_CONTENT_SCROLLS](https://developer.android.com/reference/android/view/View.html#OVER_SCROLL_IF_CONTENT_SCROLLS)directly. This constant will be removed in a future release.* | | `int` | [OVER_SCROLL_NEVER](https://developer.android.com/reference/android/support/v4/view/ViewCompat#OVER_SCROLL_NEVER) *This constant was deprecated in API level 25.1.0. Use[OVER_SCROLL_NEVER](https://developer.android.com/reference/android/view/View.html#OVER_SCROLL_NEVER)directly. This constant will be removed in a future release.*                                                     | | `int` | [SCROLL_AXIS_HORIZONTAL](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_AXIS_HORIZONTAL) Indicates scrolling along the horizontal axis.                                                                                                                                                                                                                     | | `int` | [SCROLL_AXIS_NONE](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_AXIS_NONE) Indicates no axis of view scrolling.                                                                                                                                                                                                                                           | | `int` | [SCROLL_AXIS_VERTICAL](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_AXIS_VERTICAL) Indicates scrolling along the vertical axis.                                                                                                                                                                                                                           | | `int` | [SCROLL_INDICATOR_BOTTOM](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_INDICATOR_BOTTOM) Scroll indicator direction for the bottom edge of the view.                                                                                                                                                                                                      | | `int` | [SCROLL_INDICATOR_END](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_INDICATOR_END) Scroll indicator direction for the ending edge of the view.                                                                                                                                                                                                            | | `int` | [SCROLL_INDICATOR_LEFT](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_INDICATOR_LEFT) Scroll indicator direction for the left edge of the view.                                                                                                                                                                                                            | | `int` | [SCROLL_INDICATOR_RIGHT](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_INDICATOR_RIGHT) Scroll indicator direction for the right edge of the view.                                                                                                                                                                                                         | | `int` | [SCROLL_INDICATOR_START](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_INDICATOR_START) Scroll indicator direction for the starting edge of the view.                                                                                                                                                                                                      | | `int` | [SCROLL_INDICATOR_TOP](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_INDICATOR_TOP) Scroll indicator direction for the top edge of the view.                                                                                                                                                                                                               | | `int` | [TYPE_NON_TOUCH](https://developer.android.com/reference/android/support/v4/view/ViewCompat#TYPE_NON_TOUCH) Indicates that the input type for the gesture is caused by something which is not a user touching a screen.                                                                                                                                                                        | | `int` | [TYPE_TOUCH](https://developer.android.com/reference/android/support/v4/view/ViewCompat#TYPE_TOUCH) Indicates that the input type for the gesture is from a user touching the screen.                                                                                                                                                                                                          | |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v13/view/ViewCompat#)From class` `[android.support.v4.view.ViewCompat](https://developer.android.com/reference/android/support/v4/view/ViewCompat)` ` |------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` static void`                                                                                                                                             | ` `[addKeyboardNavigationClusters](https://developer.android.com/reference/android/support/v4/view/ViewCompat#addKeyboardNavigationClusters(android.view.View, java.util.Collection<android.view.View>, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, Collection<`[View](https://developer.android.com/reference/android/view/View.html)`> views, int direction) ` Adds any keyboard navigation cluster roots that are descendants of`view`( including`view`if it is a cluster root itself) to`views`.                                                                                                                                                                                               | | ` static `[ViewPropertyAnimatorCompat](https://developer.android.com/reference/android/support/v4/view/ViewPropertyAnimatorCompat)                         | ` `[animate](https://developer.android.com/reference/android/support/v4/view/ViewCompat#animate(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` This method returns a ViewPropertyAnimator object, which can be used to animate specific properties on this View.                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` static boolean`                                                                                                                                          | ` `[canScrollHorizontally](https://developer.android.com/reference/android/support/v4/view/ViewCompat#canScrollHorizontally(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int direction) ` *This method was deprecated in API level 26.1.0. Use[canScrollHorizontally(int)](https://developer.android.com/reference/android/view/View.html#canScrollHorizontally(int))directly.*                                                                                                                                                                                                                                                                                                  | | ` static boolean`                                                                                                                                          | ` `[canScrollVertically](https://developer.android.com/reference/android/support/v4/view/ViewCompat#canScrollVertically(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int direction) ` *This method was deprecated in API level 26.1.0. Use[canScrollVertically(int)](https://developer.android.com/reference/android/view/View.html#canScrollVertically(int))directly.*                                                                                                                                                                                                                                                                                                          | | ` static void`                                                                                                                                             | ` `[cancelDragAndDrop](https://developer.android.com/reference/android/support/v4/view/ViewCompat#cancelDragAndDrop(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` v) ` Cancel the drag and drop operation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` static int`                                                                                                                                              | ` `[combineMeasuredStates](https://developer.android.com/reference/android/support/v4/view/ViewCompat#combineMeasuredStates(int, int))`(int curState, int newState) ` *This method was deprecated in API level 26.1.0. Use[combineMeasuredStates(int, int)](https://developer.android.com/reference/android/view/View.html#combineMeasuredStates(int, int))directly.*                                                                                                                                                                                                                                                                                                                                                                        | | ` static `[WindowInsetsCompat](https://developer.android.com/reference/android/support/v4/view/WindowInsetsCompat)                                         | ` `[dispatchApplyWindowInsets](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchApplyWindowInsets(android.view.View, android.support.v4.view.WindowInsetsCompat))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[WindowInsetsCompat](https://developer.android.com/reference/android/support/v4/view/WindowInsetsCompat)` insets) ` Request to apply the given window insets to this view or another view in its subtree.                                                                                                                                                                                                                                               | | ` static void`                                                                                                                                             | ` `[dispatchFinishTemporaryDetach](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchFinishTemporaryDetach(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Notify a view that its temporary detach has ended; the view is now reattached.                                                                                                                                                                                                                                                                                                                                                                                                             | | ` static boolean`                                                                                                                                          | ` `[dispatchNestedFling](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchNestedFling(android.view.View, float, float, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float velocityX, float velocityY, boolean consumed) ` Dispatch a fling to a nested scrolling parent.                                                                                                                                                                                                                                                                                                                                                                                      | | ` static boolean`                                                                                                                                          | ` `[dispatchNestedPreFling](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchNestedPreFling(android.view.View, float, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float velocityX, float velocityY) ` Dispatch a fling to a nested scrolling parent before it is processed by this view.                                                                                                                                                                                                                                                                                                                                                                       | | ` static boolean`                                                                                                                                          | ` `[dispatchNestedPreScroll](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchNestedPreScroll(android.view.View, int, int, int[], int[], int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int dx, int dy, int[] consumed, int[] offsetInWindow, int type) ` Dispatch one step of a nested scroll in progress before this view consumes any portion of it.                                                                                                                                                                                                                                                                                                             | | ` static boolean`                                                                                                                                          | ` `[dispatchNestedPreScroll](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchNestedPreScroll(android.view.View, int, int, int[], int[]))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int dx, int dy, int[] consumed, int[] offsetInWindow) ` Dispatch one step of a nested scroll in progress before this view consumes any portion of it.                                                                                                                                                                                                                                                                                                                            | | ` static boolean`                                                                                                                                          | ` `[dispatchNestedScroll](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchNestedScroll(android.view.View, int, int, int, int, int[], int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int[] offsetInWindow, int type) ` Dispatch one step of a nested scroll in progress.                                                                                                                                                                                                                                                                                                                        | | ` static boolean`                                                                                                                                          | ` `[dispatchNestedScroll](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchNestedScroll(android.view.View, int, int, int, int, int[]))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int[] offsetInWindow) ` Dispatch one step of a nested scroll in progress.                                                                                                                                                                                                                                                                                                                                       | | ` static void`                                                                                                                                             | ` `[dispatchStartTemporaryDetach](https://developer.android.com/reference/android/support/v4/view/ViewCompat#dispatchStartTemporaryDetach(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Notify a view that it is being temporarily detached.                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` static int`                                                                                                                                              | ` `[generateViewId](https://developer.android.com/reference/android/support/v4/view/ViewCompat#generateViewId())`() ` Generate a value suitable for use in[setId(int)](https://developer.android.com/reference/android/view/View.html#setId(int)).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` static int`                                                                                                                                              | ` `[getAccessibilityLiveRegion](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getAccessibilityLiveRegion(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Gets the live region mode for the specified View.                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` static `[AccessibilityNodeProviderCompat](https://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityNodeProviderCompat) | ` `[getAccessibilityNodeProvider](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getAccessibilityNodeProvider(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Gets the provider for managing a virtual view hierarchy rooted at this View and reported to[AccessibilityService](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html)s that explore the window content.                                                                                                                                                                                                                                          | | ` static float`                                                                                                                                            | ` `[getAlpha](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getAlpha(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getAlpha()](https://developer.android.com/reference/android/view/View.html#getAlpha())directly.*                                                                                                                                                                                                                                                                                                                                                                                | | ` static `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)                                                | ` `[getBackgroundTintList](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getBackgroundTintList(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Return the tint applied to the background drawable, if specified.                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` static `[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)                                                 | ` `[getBackgroundTintMode](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getBackgroundTintMode(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Return the blending mode used to apply the tint to the background drawable, if specified.                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` static `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)                                                                       | ` `[getClipBounds](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getClipBounds(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns a copy of the current[setClipBounds(View, Rect)](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setClipBounds(android.view.View, android.graphics.Rect)).                                                                                                                                                                                                                                                                                                                              | | ` static `[Display](https://developer.android.com/reference/android/view/Display.html)                                                                     | ` `[getDisplay](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getDisplay(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Gets the logical display to which the view's window has been attached.                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` static float`                                                                                                                                            | ` `[getElevation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getElevation(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` The base elevation of this view relative to its parent, in pixels.                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` static boolean`                                                                                                                                          | ` `[getFitsSystemWindows](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getFitsSystemWindows(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` v) ` Returns true if this view should adapt to fit system window insets.                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` static int`                                                                                                                                              | ` `[getImportantForAccessibility](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getImportantForAccessibility(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Gets the mode for determining whether this View is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen.                                                                                                                                                                                                                                                                                              | | ` static int`                                                                                                                                              | ` `[getImportantForAutofill](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getImportantForAutofill(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` v) ` Gets the mode for determining whether this view is important for autofill.                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` static int`                                                                                                                                              | ` `[getLabelFor](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getLabelFor(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Gets the id of a view for which a given view serves as a label for accessibility purposes.                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` static int`                                                                                                                                              | ` `[getLayerType](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getLayerType(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getLayerType()](https://developer.android.com/reference/android/view/View.html#getLayerType())directly.*                                                                                                                                                                                                                                                                                                                                                                | | ` static int`                                                                                                                                              | ` `[getLayoutDirection](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getLayoutDirection(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns the resolved layout direction for this view.                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` static `[Matrix](https://developer.android.com/reference/android/graphics/Matrix.html)                                                                   | ` `[getMatrix](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getMatrix(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getMatrix()](https://developer.android.com/reference/android/view/View.html#getMatrix())directly.*                                                                                                                                                                                                                                                                                                                                                                            | | ` static int`                                                                                                                                              | ` `[getMeasuredHeightAndState](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getMeasuredHeightAndState(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getMeasuredHeightAndState()](https://developer.android.com/reference/android/view/View.html#getMeasuredHeightAndState())directly.*                                                                                                                                                                                                                                                                                                            | | ` static int`                                                                                                                                              | ` `[getMeasuredState](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getMeasuredState(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getMeasuredState()](https://developer.android.com/reference/android/view/View.html#getMeasuredState())directly.*                                                                                                                                                                                                                                                                                                                                                | | ` static int`                                                                                                                                              | ` `[getMeasuredWidthAndState](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getMeasuredWidthAndState(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getMeasuredWidth()](https://developer.android.com/reference/android/view/View.html#getMeasuredWidth())directly.*                                                                                                                                                                                                                                                                                                                                | | ` static int`                                                                                                                                              | ` `[getMinimumHeight](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getMinimumHeight(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns the minimum height of the view.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` static int`                                                                                                                                              | ` `[getMinimumWidth](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getMinimumWidth(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns the minimum width of the view.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` static int`                                                                                                                                              | ` `[getNextClusterForwardId](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getNextClusterForwardId(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Gets the ID of the next keyboard navigation cluster root.                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` static int`                                                                                                                                              | ` `[getOverScrollMode](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getOverScrollMode(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` v) ` *This method was deprecated in API level 25.1.0. Call[getOverScrollMode()](https://developer.android.com/reference/android/view/View.html#getOverScrollMode())directly. This method will be removed in a future release.*                                                                                                                                                                                                                                                                                             | | ` static int`                                                                                                                                              | ` `[getPaddingEnd](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getPaddingEnd(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns the end padding of the specified view depending on its resolved layout direction.                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` static int`                                                                                                                                              | ` `[getPaddingStart](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getPaddingStart(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns the start padding of the specified view depending on its resolved layout direction.                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` static `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)                                                               | ` `[getParentForAccessibility](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getParentForAccessibility(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Gets the parent for accessibility purposes.                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` static float`                                                                                                                                            | ` `[getPivotX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getPivotX(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getPivotX()](https://developer.android.com/reference/android/view/View.html#getPivotX())directly.*                                                                                                                                                                                                                                                                                                                                                                            | | ` static float`                                                                                                                                            | ` `[getPivotY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getPivotY(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getPivotY()](https://developer.android.com/reference/android/view/View.html#getPivotY())directly.*                                                                                                                                                                                                                                                                                                                                                                            | | ` static float`                                                                                                                                            | ` `[getRotation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getRotation(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getRotation()](https://developer.android.com/reference/android/view/View.html#getRotation())directly.*                                                                                                                                                                                                                                                                                                                                                                    | | ` static float`                                                                                                                                            | ` `[getRotationX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getRotationX(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getRotationX()](https://developer.android.com/reference/android/view/View.html#getRotationX())directly.*                                                                                                                                                                                                                                                                                                                                                                | | ` static float`                                                                                                                                            | ` `[getRotationY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getRotationY(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getRotationY()](https://developer.android.com/reference/android/view/View.html#getRotationY())directly.*                                                                                                                                                                                                                                                                                                                                                                | | ` static float`                                                                                                                                            | ` `[getScaleX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getScaleX(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getScaleX()](https://developer.android.com/reference/android/view/View.html#getScaleX())directly.*                                                                                                                                                                                                                                                                                                                                                                            | | ` static float`                                                                                                                                            | ` `[getScaleY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getScaleY(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getScaleY()](https://developer.android.com/reference/android/view/View.html#getScaleY())directly.*                                                                                                                                                                                                                                                                                                                                                                            | | ` static int`                                                                                                                                              | ` `[getScrollIndicators](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getScrollIndicators(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns a bitmask representing the enabled scroll indicators.                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` static String`                                                                                                                                           | ` `[getTransitionName](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getTransitionName(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns the name of the View to be used to identify Views in Transitions.                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` static float`                                                                                                                                            | ` `[getTranslationX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getTranslationX(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getTranslationX()](https://developer.android.com/reference/android/view/View.html#getTranslationX())directly.*                                                                                                                                                                                                                                                                                                                                                    | | ` static float`                                                                                                                                            | ` `[getTranslationY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getTranslationY(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getTranslationY()](https://developer.android.com/reference/android/view/View.html#getTranslationY())directly.*                                                                                                                                                                                                                                                                                                                                                    | | ` static float`                                                                                                                                            | ` `[getTranslationZ](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getTranslationZ(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` The depth location of this view relative to its[elevation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getElevation(android.view.View)).                                                                                                                                                                                                                                                                                                                                                | | ` static int`                                                                                                                                              | ` `[getWindowSystemUiVisibility](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getWindowSystemUiVisibility(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns the current system UI visibility that is currently set for the entire window.                                                                                                                                                                                                                                                                                                                                                                                                          | | ` static float`                                                                                                                                            | ` `[getX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getX(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getX()](https://developer.android.com/reference/android/view/View.html#getX())directly.*                                                                                                                                                                                                                                                                                                                                                                                                | | ` static float`                                                                                                                                            | ` `[getY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getY(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 26.1.0. Use[getY()](https://developer.android.com/reference/android/view/View.html#getY())directly.*                                                                                                                                                                                                                                                                                                                                                                                                | | ` static float`                                                                                                                                            | ` `[getZ](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getZ(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` The visual z position of this view, in pixels.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` static boolean`                                                                                                                                          | ` `[hasAccessibilityDelegate](https://developer.android.com/reference/android/support/v4/view/ViewCompat#hasAccessibilityDelegate(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` v) ` Checks whether provided View has an accessibility delegate attached to it.                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` static boolean`                                                                                                                                          | ` `[hasExplicitFocusable](https://developer.android.com/reference/android/support/v4/view/ViewCompat#hasExplicitFocusable(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns true if this view is focusable or if it contains a reachable View for which[hasExplicitFocusable()](https://developer.android.com/reference/android/view/View.html#hasExplicitFocusable())returns`true`.                                                                                                                                                                                                                                                                                             | | ` static boolean`                                                                                                                                          | ` `[hasNestedScrollingParent](https://developer.android.com/reference/android/support/v4/view/ViewCompat#hasNestedScrollingParent(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int type) ` Returns true if this view has a nested scrolling parent.                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` static boolean`                                                                                                                                          | ` `[hasNestedScrollingParent](https://developer.android.com/reference/android/support/v4/view/ViewCompat#hasNestedScrollingParent(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns true if this view has a nested scrolling parent.                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` static boolean`                                                                                                                                          | ` `[hasOnClickListeners](https://developer.android.com/reference/android/support/v4/view/ViewCompat#hasOnClickListeners(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns whether the provided view has an attached[View.OnClickListener](https://developer.android.com/reference/android/view/View.OnClickListener.html).                                                                                                                                                                                                                                                                                                                                                       | | ` static boolean`                                                                                                                                          | ` `[hasOverlappingRendering](https://developer.android.com/reference/android/support/v4/view/ViewCompat#hasOverlappingRendering(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns whether this View has content which overlaps.                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` static boolean`                                                                                                                                          | ` `[hasTransientState](https://developer.android.com/reference/android/support/v4/view/ViewCompat#hasTransientState(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Indicates whether the view is currently tracking transient state that the app should not need to concern itself with saving and restoring, but that the framework should take special note to preserve when possible.                                                                                                                                                                                                                                                                                              | | ` static boolean`                                                                                                                                          | ` `[isAttachedToWindow](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isAttachedToWindow(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns true if the provided view is currently attached to a window.                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` static boolean`                                                                                                                                          | ` `[isFocusedByDefault](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isFocusedByDefault(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns whether`view`should receive focus when the focus is restored for the view hierarchy containing it.                                                                                                                                                                                                                                                                                                                                                                                                       | | ` static boolean`                                                                                                                                          | ` `[isImportantForAccessibility](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isImportantForAccessibility(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Computes whether this view should be exposed for accessibility.                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` static boolean`                                                                                                                                          | ` `[isImportantForAutofill](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isImportantForAutofill(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` v) ` Hints the Android System whether the[AssistStructure.ViewNode](https://developer.android.com/reference/android/app/assist/AssistStructure.ViewNode.html)associated with this view is considered important for autofill purposes.                                                                                                                                                                                                                                                                            | | ` static boolean`                                                                                                                                          | ` `[isInLayout](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isInLayout(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns whether the view hierarchy is currently undergoing a layout pass.                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` static boolean`                                                                                                                                          | ` `[isKeyboardNavigationCluster](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isKeyboardNavigationCluster(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns whether`view`is a root of a keyboard navigation cluster.                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` static boolean`                                                                                                                                          | ` `[isLaidOut](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isLaidOut(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns true if`view`has been through at least one layout since it was last attached to or detached from a window.                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` static boolean`                                                                                                                                          | ` `[isLayoutDirectionResolved](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isLayoutDirectionResolved(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns whether layout direction has been resolved.                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` static boolean`                                                                                                                                          | ` `[isNestedScrollingEnabled](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isNestedScrollingEnabled(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns true if nested scrolling is enabled for this view.                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` static boolean`                                                                                                                                          | ` `[isOpaque](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isOpaque(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` *This method was deprecated in API level 25.1.0. Use[isOpaque()](https://developer.android.com/reference/android/view/View.html#isOpaque())directly. This method will be removed in a future release.*                                                                                                                                                                                                                                                                                                                               | | ` static boolean`                                                                                                                                          | ` `[isPaddingRelative](https://developer.android.com/reference/android/support/v4/view/ViewCompat#isPaddingRelative(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Return if the padding as been set through relative values`View.setPaddingRelative(int, int, int, int)`or thru                                                                                                                                                                                                                                                                                                                                                                                                      | | ` static void`                                                                                                                                             | ` `[jumpDrawablesToCurrentState](https://developer.android.com/reference/android/support/v4/view/ViewCompat#jumpDrawablesToCurrentState(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` v) ` *This method was deprecated in API level 26.1.0. Use[jumpDrawablesToCurrentState()](https://developer.android.com/reference/android/view/View.html#jumpDrawablesToCurrentState())directly.*                                                                                                                                                                                                                                                                                                       | | ` static `[View](https://developer.android.com/reference/android/view/View.html)                                                                           | ` `[keyboardNavigationClusterSearch](https://developer.android.com/reference/android/support/v4/view/ViewCompat#keyboardNavigationClusterSearch(android.view.View, android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[View](https://developer.android.com/reference/android/view/View.html)` currentCluster, int direction) ` Find the nearest keyboard navigation cluster in the specified direction.                                                                                                                                                                                                                                                                               | | ` static void`                                                                                                                                             | ` `[offsetLeftAndRight](https://developer.android.com/reference/android/support/v4/view/ViewCompat#offsetLeftAndRight(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int offset) ` Offset this view's horizontal location by the specified amount of pixels.                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` static void`                                                                                                                                             | ` `[offsetTopAndBottom](https://developer.android.com/reference/android/support/v4/view/ViewCompat#offsetTopAndBottom(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int offset) ` Offset this view's vertical location by the specified number of pixels.                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` static `[WindowInsetsCompat](https://developer.android.com/reference/android/support/v4/view/WindowInsetsCompat)                                         | ` `[onApplyWindowInsets](https://developer.android.com/reference/android/support/v4/view/ViewCompat#onApplyWindowInsets(android.view.View, android.support.v4.view.WindowInsetsCompat))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[WindowInsetsCompat](https://developer.android.com/reference/android/support/v4/view/WindowInsetsCompat)` insets) ` Called when the view should apply[WindowInsetsCompat](https://developer.android.com/reference/android/support/v4/view/WindowInsetsCompat)according to its internal policy.                                                                                                                                                                      | | ` static void`                                                                                                                                             | ` `[onInitializeAccessibilityEvent](https://developer.android.com/reference/android/support/v4/view/ViewCompat#onInitializeAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, `[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` event) ` *This method was deprecated in API level 26.1.0. Call[onInitializeAccessibilityEvent(AccessibilityEvent)](https://developer.android.com/reference/android/view/View.html#onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent))directly. This method will be removed in a future release.* | | ` static void`                                                                                                                                             | ` `[onInitializeAccessibilityNodeInfo](https://developer.android.com/reference/android/support/v4/view/ViewCompat#onInitializeAccessibilityNodeInfo(android.view.View, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, `[AccessibilityNodeInfoCompat](https://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat)` info) ` Initializes an[AccessibilityNodeInfoCompat](https://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat)with information about this view.                                                                           | | ` static void`                                                                                                                                             | ` `[onPopulateAccessibilityEvent](https://developer.android.com/reference/android/support/v4/view/ViewCompat#onPopulateAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, `[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` event) ` *This method was deprecated in API level 26.1.0. Call[onPopulateAccessibilityEvent(AccessibilityEvent)](https://developer.android.com/reference/android/view/View.html#onPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent))directly. This method will be removed in a future release.*         | | ` static boolean`                                                                                                                                          | ` `[performAccessibilityAction](https://developer.android.com/reference/android/support/v4/view/ViewCompat#performAccessibilityAction(android.view.View, int, android.os.Bundle))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int action, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arguments) ` Performs the specified accessibility action on the view.                                                                                                                                                                                                                                                                                                               | | ` static void`                                                                                                                                             | ` `[postInvalidateOnAnimation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#postInvalidateOnAnimation(android.view.View, int, int, int, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int left, int top, int right, int bottom) ` <br /> Cause an invalidate of the specified area to happen on the next animation time step, typically the next display frame.                                                                                                                                                                                                                                                                                                        | | ` static void`                                                                                                                                             | ` `[postInvalidateOnAnimation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#postInvalidateOnAnimation(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` <br /> Cause an invalidate to happen on the next animation time step, typically the next display frame.                                                                                                                                                                                                                                                                                                                                                                                            | | ` static void`                                                                                                                                             | ` `[postOnAnimation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#postOnAnimation(android.view.View, java.lang.Runnable))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, Runnable action) ` <br /> Causes the Runnable to execute on the next animation time step.                                                                                                                                                                                                                                                                                                                                                                                                            | | ` static void`                                                                                                                                             | ` `[postOnAnimationDelayed](https://developer.android.com/reference/android/support/v4/view/ViewCompat#postOnAnimationDelayed(android.view.View, java.lang.Runnable, long))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, Runnable action, long delayMillis) ` <br /> Causes the Runnable to execute on the next animation time step, after the specified amount of time elapses.                                                                                                                                                                                                                                                                                                                          | | ` static void`                                                                                                                                             | ` `[requestApplyInsets](https://developer.android.com/reference/android/support/v4/view/ViewCompat#requestApplyInsets(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Ask that a new dispatch of`View.onApplyWindowInsets(WindowInsets)`be performed.                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` static <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                                                           | ` `[requireViewById](https://developer.android.com/reference/android/support/v4/view/ViewCompat#requireViewById(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int id) ` Finds the first descendant view with the given ID, the view itself if the ID matches[getId()](https://developer.android.com/reference/android/view/View.html#getId()), or throws an IllegalArgumentException if the ID is invalid or there is no matching view in the hierarchy.                                                                                                                                                                                                                          | | ` static int`                                                                                                                                              | ` `[resolveSizeAndState](https://developer.android.com/reference/android/support/v4/view/ViewCompat#resolveSizeAndState(int, int, int))`(int size, int measureSpec, int childMeasuredState) ` *This method was deprecated in API level 26.1.0. Use[resolveSizeAndState(int, int, int)](https://developer.android.com/reference/android/view/View.html#resolveSizeAndState(int, int, int))directly.*                                                                                                                                                                                                                                                                                                                                          | | ` static boolean`                                                                                                                                          | ` `[restoreDefaultFocus](https://developer.android.com/reference/android/support/v4/view/ViewCompat#restoreDefaultFocus(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Gives focus to the default-focus view in the view hierarchy rooted at`view`.                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` static void`                                                                                                                                             | ` `[setAccessibilityDelegate](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setAccessibilityDelegate(android.view.View, android.support.v4.view.AccessibilityDelegateCompat))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, `[AccessibilityDelegateCompat](https://developer.android.com/reference/android/support/v4/view/AccessibilityDelegateCompat)` delegate) ` Sets a delegate for implementing accessibility support via composition (as opposed to inheritance).                                                                                                                                                                                                         | | ` static void`                                                                                                                                             | ` `[setAccessibilityLiveRegion](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setAccessibilityLiveRegion(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int mode) ` Sets the live region mode for the specified view.                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` static void`                                                                                                                                             | ` `[setActivated](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setActivated(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, boolean activated) ` *This method was deprecated in API level 26.1.0. Use[setActivated(boolean)](https://developer.android.com/reference/android/view/View.html#setActivated(boolean))directly.*                                                                                                                                                                                                                                                                                                                      | | ` static void`                                                                                                                                             | ` `[setAlpha](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setAlpha(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setAlpha(float)](https://developer.android.com/reference/android/view/View.html#setAlpha(float))directly.*                                                                                                                                                                                                                                                                                                                                                  | | ` static void`                                                                                                                                             | ` `[setAutofillHints](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setAutofillHints(android.view.View, java.lang.String...))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, String... autofillHints) ` Sets the hints that help an[AutofillService](https://developer.android.com/reference/android/service/autofill/AutofillService.html)determine how to autofill the view with the user's data.                                                                                                                                                                                                                                                                               | | ` static void`                                                                                                                                             | ` `[setBackground](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setBackground(android.view.View, android.graphics.drawable.Drawable))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` background) ` Set the background of the`view`to a given Drawable, or remove the background.                                                                                                                                                                                                                                                                                                | | ` static void`                                                                                                                                             | ` `[setBackgroundTintList](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setBackgroundTintList(android.view.View, android.content.res.ColorStateList))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)` tintList) ` Applies a tint to the background drawable.                                                                                                                                                                                                                                                                                                               | | ` static void`                                                                                                                                             | ` `[setBackgroundTintMode](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setBackgroundTintMode(android.view.View, android.graphics.PorterDuff.Mode))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)` mode) ` Specifies the blending mode used to apply the tint specified by[setBackgroundTintList(android.view.View, android.content.res.ColorStateList)](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setBackgroundTintList(android.view.View, android.content.res.ColorStateList))to the background drawable.                               | | ` static void`                                                                                                                                             | ` `[setChildrenDrawingOrderEnabled](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setChildrenDrawingOrderEnabled(android.view.ViewGroup, boolean))`(`[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` viewGroup, boolean enabled) ` *This method was deprecated in API level 27.1.0. Use[setChildrenDrawingOrderEnabled(boolean)](https://developer.android.com/reference/android/view/ViewGroup.html#setChildrenDrawingOrderEnabled(boolean))directly.*                                                                                                                                                                                                                       | | ` static void`                                                                                                                                             | ` `[setClipBounds](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setClipBounds(android.view.View, android.graphics.Rect))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` clipBounds) ` Sets a rectangular area on this view to which the view will be clipped when it is drawn.                                                                                                                                                                                                                                                                                                                   | | ` static void`                                                                                                                                             | ` `[setElevation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setElevation(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float elevation) ` Sets the base elevation of this view, in pixels.                                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` static void`                                                                                                                                             | ` `[setFitsSystemWindows](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setFitsSystemWindows(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, boolean fitSystemWindows) ` *This method was deprecated in API level 26.1.0. Use[setFitsSystemWindows(boolean)](https://developer.android.com/reference/android/view/View.html#setFitsSystemWindows(boolean))directly.*                                                                                                                                                                                                                                                                               | | ` static void`                                                                                                                                             | ` `[setFocusedByDefault](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setFocusedByDefault(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, boolean isFocusedByDefault) ` Sets whether`view`should receive focus when the focus is restored for the view hierarchy containing it.                                                                                                                                                                                                                                                                                                                                                                   | | ` static void`                                                                                                                                             | ` `[setHasTransientState](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setHasTransientState(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, boolean hasTransientState) ` Set whether this view is currently tracking transient state that the framework should attempt to preserve when possible.                                                                                                                                                                                                                                                                                                                                                 | | ` static void`                                                                                                                                             | ` `[setImportantForAccessibility](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setImportantForAccessibility(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int mode) ` Sets how to determine whether this view is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen.                                                                                                                                                                                                                                                                                       | | ` static void`                                                                                                                                             | ` `[setImportantForAutofill](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setImportantForAutofill(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, int mode) ` Sets the mode for determining whether this view is considered important for autofill.                                                                                                                                                                                                                                                                                                                                                                                                      | | ` static void`                                                                                                                                             | ` `[setKeyboardNavigationCluster](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setKeyboardNavigationCluster(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, boolean isCluster) ` Set whether`view`is a root of a keyboard navigation cluster.                                                                                                                                                                                                                                                                                                                                                                                                     | | ` static void`                                                                                                                                             | ` `[setLabelFor](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setLabelFor(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int labeledId) ` Sets the id of a view for which a given view serves as a label for accessibility purposes.                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` static void`                                                                                                                                             | ` `[setLayerPaint](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setLayerPaint(android.view.View, android.graphics.Paint))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[Paint](https://developer.android.com/reference/android/graphics/Paint.html)` paint) ` Updates the[Paint](https://developer.android.com/reference/android/graphics/Paint.html)object used with the current layer (used only if the current layer type is not set to[LAYER_TYPE_NONE](https://developer.android.com/reference/android/view/View.html#LAYER_TYPE_NONE)).                                                                                                                              | | ` static void`                                                                                                                                             | ` `[setLayerType](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setLayerType(android.view.View, int, android.graphics.Paint))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int layerType, `[Paint](https://developer.android.com/reference/android/graphics/Paint.html)` paint) ` *This method was deprecated in API level 26.1.0. Use[setLayerType(int, Paint)](https://developer.android.com/reference/android/view/View.html#setLayerType(int, android.graphics.Paint))directly.*                                                                                                                                                                                         | | ` static void`                                                                                                                                             | ` `[setLayoutDirection](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setLayoutDirection(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int layoutDirection) ` Set the layout direction for this view.                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` static void`                                                                                                                                             | ` `[setNestedScrollingEnabled](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setNestedScrollingEnabled(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, boolean enabled) ` Enable or disable nested scrolling for this view.                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` static void`                                                                                                                                             | ` `[setNextClusterForwardId](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setNextClusterForwardId(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int nextClusterForwardId) ` Sets the ID of the next keyboard navigation cluster root view.                                                                                                                                                                                                                                                                                                                                                                                                          | | ` static void`                                                                                                                                             | ` `[setOnApplyWindowInsetsListener](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setOnApplyWindowInsetsListener(android.view.View, android.support.v4.view.OnApplyWindowInsetsListener))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, `[OnApplyWindowInsetsListener](https://developer.android.com/reference/android/support/v4/view/OnApplyWindowInsetsListener)` listener) ` Set an[OnApplyWindowInsetsListener](https://developer.android.com/reference/android/support/v4/view/OnApplyWindowInsetsListener)to take over the policy for applying window insets to this view.                                                                                                | | ` static void`                                                                                                                                             | ` `[setOverScrollMode](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setOverScrollMode(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, int overScrollMode) ` *This method was deprecated in API level 25.1.0. Call[setOverScrollMode(int)](https://developer.android.com/reference/android/view/View.html#setOverScrollMode(int))directly. This method will be removed in a future release.*                                                                                                                                                                                                                                                              | | ` static void`                                                                                                                                             | ` `[setPaddingRelative](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setPaddingRelative(android.view.View, int, int, int, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int start, int top, int end, int bottom) ` Sets the relative padding.                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` static void`                                                                                                                                             | ` `[setPivotX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setPivotX(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setPivotX(float)](https://developer.android.com/reference/android/view/View.html#setPivotX(float))directly.*                                                                                                                                                                                                                                                                                                                                              | | ` static void`                                                                                                                                             | ` `[setPivotY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setPivotY(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setPivotX(float)](https://developer.android.com/reference/android/view/View.html#setPivotX(float))directly.*                                                                                                                                                                                                                                                                                                                                              | | ` static void`                                                                                                                                             | ` `[setPointerIcon](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setPointerIcon(android.view.View, android.support.v4.view.PointerIconCompat))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[PointerIconCompat](https://developer.android.com/reference/android/support/v4/view/PointerIconCompat)` pointerIcon) ` Set the pointer icon for the current view.                                                                                                                                                                                                                                                                                                              | | ` static void`                                                                                                                                             | ` `[setRotation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setRotation(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setRotation(float)](https://developer.android.com/reference/android/view/View.html#setRotation(float))directly.*                                                                                                                                                                                                                                                                                                                                      | | ` static void`                                                                                                                                             | ` `[setRotationX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setRotationX(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setRotationX(float)](https://developer.android.com/reference/android/view/View.html#setRotationX(float))directly.*                                                                                                                                                                                                                                                                                                                                  | | ` static void`                                                                                                                                             | ` `[setRotationY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setRotationY(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setRotationY(float)](https://developer.android.com/reference/android/view/View.html#setRotationY(float))directly.*                                                                                                                                                                                                                                                                                                                                  | | ` static void`                                                                                                                                             | ` `[setSaveFromParentEnabled](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setSaveFromParentEnabled(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, boolean enabled) ` *This method was deprecated in API level 26.1.0. Use[setSaveFromParentEnabled(boolean)](https://developer.android.com/reference/android/view/View.html#setSaveFromParentEnabled(boolean))directly.*                                                                                                                                                                                                                                                                           | | ` static void`                                                                                                                                             | ` `[setScaleX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setScaleX(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setScaleX(float)](https://developer.android.com/reference/android/view/View.html#setScaleX(float))directly.*                                                                                                                                                                                                                                                                                                                                              | | ` static void`                                                                                                                                             | ` `[setScaleY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setScaleY(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setScaleY(float)](https://developer.android.com/reference/android/view/View.html#setScaleY(float))directly.*                                                                                                                                                                                                                                                                                                                                              | | ` static void`                                                                                                                                             | ` `[setScrollIndicators](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setScrollIndicators(android.view.View, int, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int indicators, int mask) ` Sets the state of the scroll indicators specified by the mask.                                                                                                                                                                                                                                                                                                                                                                                                             | | ` static void`                                                                                                                                             | ` `[setScrollIndicators](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setScrollIndicators(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int indicators) ` Sets the state of all scroll indicators.                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` static void`                                                                                                                                             | ` `[setTooltipText](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setTooltipText(android.view.View, java.lang.CharSequence))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, CharSequence tooltipText) ` Sets the tooltip for the view.                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` static void`                                                                                                                                             | ` `[setTransitionName](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setTransitionName(android.view.View, java.lang.String))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, String transitionName) ` Sets the name of the View to be used to identify Views in Transitions.                                                                                                                                                                                                                                                                                                                                                                                                    | | ` static void`                                                                                                                                             | ` `[setTranslationX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setTranslationX(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setTranslationX(float)](https://developer.android.com/reference/android/view/View.html#setTranslationX(float))directly.*                                                                                                                                                                                                                                                                                                                      | | ` static void`                                                                                                                                             | ` `[setTranslationY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setTranslationY(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setTranslationY(float)](https://developer.android.com/reference/android/view/View.html#setTranslationY(float))directly.*                                                                                                                                                                                                                                                                                                                      | | ` static void`                                                                                                                                             | ` `[setTranslationZ](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setTranslationZ(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float translationZ) ` Sets the depth location of this view relative to its[elevation](https://developer.android.com/reference/android/support/v4/view/ViewCompat#getElevation(android.view.View)).                                                                                                                                                                                                                                                                                                                | | ` static void`                                                                                                                                             | ` `[setX](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setX(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setX(float)](https://developer.android.com/reference/android/view/View.html#setX(float))directly.*                                                                                                                                                                                                                                                                                                                                                                  | | ` static void`                                                                                                                                             | ` `[setY](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setY(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float value) ` *This method was deprecated in API level 26.1.0. Use[setY(float)](https://developer.android.com/reference/android/view/View.html#setY(float))directly.*                                                                                                                                                                                                                                                                                                                                                                  | | ` static void`                                                                                                                                             | ` `[setZ](https://developer.android.com/reference/android/support/v4/view/ViewCompat#setZ(android.view.View, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, float z) ` Sets the visual z position of this view, in pixels.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` static boolean`                                                                                                                                          | ` `[startDragAndDrop](https://developer.android.com/reference/android/support/v4/view/ViewCompat#startDragAndDrop(android.view.View, android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, `[ClipData](https://developer.android.com/reference/android/content/ClipData.html)` data, `[View.DragShadowBuilder](https://developer.android.com/reference/android/view/View.DragShadowBuilder.html)` shadowBuilder, Object localState, int flags) ` Start the drag and drop operation.                                                                                                                                            | | ` static boolean`                                                                                                                                          | ` `[startNestedScroll](https://developer.android.com/reference/android/support/v4/view/ViewCompat#startNestedScroll(android.view.View, int, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int axes, int type) ` Begin a nestable scroll operation along the given axes.                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` static boolean`                                                                                                                                          | ` `[startNestedScroll](https://developer.android.com/reference/android/support/v4/view/ViewCompat#startNestedScroll(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int axes) ` Begin a nestable scroll operation along the given axes.                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` static void`                                                                                                                                             | ` `[stopNestedScroll](https://developer.android.com/reference/android/support/v4/view/ViewCompat#stopNestedScroll(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, int type) ` Stop a nested scroll in progress.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` static void`                                                                                                                                             | ` `[stopNestedScroll](https://developer.android.com/reference/android/support/v4/view/ViewCompat#stopNestedScroll(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Stop a nested scroll in progress.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` static void`                                                                                                                                             | ` `[updateDragShadow](https://developer.android.com/reference/android/support/v4/view/ViewCompat#updateDragShadow(android.view.View, android.view.View.DragShadowBuilder))`(`[View](https://developer.android.com/reference/android/view/View.html)` v, `[View.DragShadowBuilder](https://developer.android.com/reference/android/view/View.DragShadowBuilder.html)` shadowBuilder) ` Update the drag shadow while drag and drop is in progress.                                                                                                                                                                                                                                                                                             | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v13/view/ViewCompat#)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() `                    | ||

-

  ## Interfaces

  - [DragStartHelper.OnDragStartListener](https://developer.android.com/reference/android/support/v13/view/DragStartHelper.OnDragStartListener)
-

  ## Classes

  - [DragAndDropPermissionsCompat](https://developer.android.com/reference/android/support/v13/view/DragAndDropPermissionsCompat)
  - [DragStartHelper](https://developer.android.com/reference/android/support/v13/view/DragStartHelper)
  - [ViewCompat](https://developer.android.com/reference/android/support/v13/view/ViewCompat)