belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
ViewCompat
public
class
ViewCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.view.ViewCompat |
![]() |
Helper for accessing features in View
.
Summary
Constants | |
---|---|
int |
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
Live region mode specifying that accessibility services should not automatically announce changes to this view. |
int |
ACCESSIBILITY_LIVE_REGION_POLITE
Live region mode specifying that accessibility services should announce changes to this view. |
int |
IMPORTANT_FOR_ACCESSIBILITY_AUTO
Automatically determine whether a view is important for accessibility. |
int |
IMPORTANT_FOR_ACCESSIBILITY_NO
The view is not important for accessibility. |
int |
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
The view is important for accessibility. |
int |
LAYER_TYPE_HARDWARE
This constant was deprecated
in API level 26.1.0.
Use |
int |
LAYER_TYPE_NONE
This constant was deprecated
in API level 26.1.0.
Use |
int |
LAYER_TYPE_SOFTWARE
This constant was deprecated
in API level 26.1.0.
Use |
int |
LAYOUT_DIRECTION_INHERIT
Horizontal layout direction of this view is inherited from its parent. |
int |
LAYOUT_DIRECTION_LOCALE
Horizontal layout direction of this view is from deduced from the default language script for the locale. |
int |
LAYOUT_DIRECTION_LTR
Horizontal layout direction of this view is from Left to Right. |
int |
LAYOUT_DIRECTION_RTL
Horizontal layout direction of this view is from Right to Left. |
int |
MEASURED_HEIGHT_STATE_SHIFT
This constant was deprecated
in API level 26.1.0.
Use |
int |
MEASURED_SIZE_MASK
This constant was deprecated
in API level 26.1.0.
Use |
int |
MEASURED_STATE_MASK
This constant was deprecated
in API level 26.1.0.
Use |
int |
MEASURED_STATE_TOO_SMALL
This constant was deprecated
in API level 26.1.0.
Use |
int |
OVER_SCROLL_ALWAYS
|