Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

ViewCompat

open class ViewCompat
kotlin.Any
   ↳ androidx.core.view.ViewCompat

Helper for accessing features in View.

Summary

Nested classes
abstract

Interface definition for a callback to be invoked when a hardware key event hasn't been handled by the view hierarchy.

Constants
static Int

Live region mode specifying that accessibility services should interrupt ongoing speech to immediately announce changes to this view.

static Int

Live region mode specifying that accessibility services should not automatically announce changes to this view.

static Int

Live region mode specifying that accessibility services should announce changes to this view.

static Int

Automatically determine whether a view is important for accessibility.

static Int

The view is not important for accessibility.

static Int

The view is not important for accessibility, nor are any of its descendant views.

static Int

The view is important for accessibility.

static Int

Indicates that the view has a hardware layer.

static Int

Indicates that the view does not have a layer.

static Int

Indicates that the view has a software layer.

static Int

Horizontal layout direction of this view is inherited from its parent.

static Int

Horizontal layout direction of this view is from deduced from the default language script for the locale.

static Int

Horizontal layout direction of this view is from Left to Right.

static Int

Horizontal layout direction of this view is from Right to Left.

static Int

Bit shift of MEASURED_STATE_MASK to get to the height bits for functions that combine both width and height into a single int, such as getMeasuredState and the childState argument of resolveSizeAndState(int, int, int).

static Int

Bits of getMeasuredWidthAndState and getMeasuredWidthAndState that provide the actual measured size.

static Int

Bits of getMeasuredWidthAndState and getMeasuredWidthAndState that provide the additional state bits.

static Int

Bit of getMeasuredWidthAndState and getMeasuredWidthAndState that indicates the measured size is smaller that the space the view would like to have.

static Int

Always allow a user to over-scroll this view, provided it is a view that can scroll.

static Int

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.

static Int

Never allow a user to over-scroll this view.

static Int

Indicates scrolling along the horizontal axis.

static Int

Indicates no axis of view scrolling.

static Int

Indicates scrolling along the vertical axis.

static Int

Scroll indicator direction for the bottom edge of the view.

static Int

Scroll indicator direction for the ending edge of the view.

static Int

Scroll indicator direction for the left edge of the view.

static Int

Scroll indicator direction for the right edge of the view.

static Int

Scroll indicator direction for the starting edge of the view.

static Int

Scroll indicator direction for the top edge of the view.

static Int

Indicates that the input type for the gesture is caused by something which is not a user touching a screen.

static Int

Indicates that the input type for the gesture is from a user touching the screen.

Protected constructors

Public methods
open static Int
addAccessibilityAction(@NonNull view: View, @NonNull label: CharSequence, @NonNull command: AccessibilityViewCommand)

Adds an accessibility action that can be performed on a node associated with a view.

open static Unit
addKeyboardNavigationClusters(@NonNull view: View, @NonNull views: MutableCollection<View!>, direction: Int)

Adds any keyboard navigation cluster roots that are descendants of view ( including view if it is a cluster root itself) to views.

open static Unit
addOnUnhandledKeyEventListener(@NonNull v: View, @NonNull listener:&nb