ViewCompat

public class ViewCompat


Helper for accessing features in View.

Summary

Nested types

ViewCompat.OnUnhandledKeyEventListenerCompat

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

Constants

static final int

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

static final int

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

static final int

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

static final int

Automatically determine whether a view is important for accessibility.

static final int

The view is not important for accessibility.

static final int

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

static final int

The view is important for accessibility.

static final int

This field is deprecated.

Use LAYER_TYPE_HARDWARE directly.

static final int

This field is deprecated.

Use LAYER_TYPE_NONE directly.

static final int

This field is deprecated.

Use LAYER_TYPE_SOFTWARE directly.

static final int

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

static final int

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

static final int

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

static final int

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

static final int

This field is deprecated.

Use MEASURED_HEIGHT_STATE_SHIFT directly.

static final int

This field is deprecated.

Use MEASURED_SIZE_MASK directly.

static final int

This field is deprecated.

Use MEASURED_STATE_MASK directly.

static final int

This field is deprecated.

Use MEASURED_STATE_TOO_SMALL directly.

static final int