Java android.support.v4.view ViewCompat fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.view ViewCompat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.view ViewCompat.

The text is from its open source code.

Subclass

android.support.v4.view.ViewCompat has subclasses.
Click this link to see all its subclasses.

Field

intOVER_SCROLL_ALWAYS
Always allow a user to over-scroll this view, provided it is a view that can scroll.
intOVER_SCROLL_IF_CONTENT_SCROLLS
Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll, provided it is a view that can scroll.
intOVER_SCROLL_NEVER
Never allow a user to over-scroll this view.

Method

booleancanScrollHorizontally(View v, int direction)
Check if this view can be scrolled horizontally in a certain direction.
booleancanScrollVertically(View v, int direction)
Check if this view can be scrolled vertically in a certain direction.
intgetOverScrollMode(View v)
Returns the over-scroll mode for this view.
voidonInitializeAccessibilityNodeInfo(View v, AccessibilityNodeInfoCompat info)
Initializes an android.view.accessibility.AccessibilityNodeInfo with information about this view.
voidsetAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate)
Sets a delegate for implementing accessibility support via compositon as opposed to inheritance.
voidsetOverScrollMode(View v, int overScrollMode)
Set the over-scroll mode for this view.