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 |
static Int |
Bits of |
static Int |
Bits of |
static Int |
Bit of |
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 | |
---|---|
<init>() |
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, @NonNull : MutableCollection<View!>, : Int) Adds any keyboard navigation cluster roots that are descendants of |
open static Unit |
addOnUnhandledKeyEventListener(@NonNull v: View, @NonNull listener |