共用方式為


AdapterView<T> Class

Definition

An AdapterView is a view whose children are determined by an Adapter.

[Android.Runtime.Register("android/widget/AdapterView", DoNotGenerateAcw=true)]
public abstract class AdapterView<T> : Android.Widget.AdapterView where T : IAdapter
[<Android.Runtime.Register("android/widget/AdapterView", DoNotGenerateAcw=true)>]
type AdapterView<'T (requires 'T :> IAdapter)> = class
    inherit AdapterView

Type Parameters

T
Inheritance
Derived
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

AdapterView<T>(Context, IAttributeSet, Int32)
AdapterView<T>(Context, IAttributeSet)
AdapterView<T>(Context)
AdapterView<T>(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

AccessibilityDataSensitiveAuto
Obsolete.

Automatically determine whether the view should only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

(Inherited from View)
AccessibilityDataSensitiveNo
Obsolete.

Allow interactions from all android.accessibilityservice.AccessibilityServices, regardless of their android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property.

(Inherited from View)
AccessibilityDataSensitiveYes
Obsolete.

Only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

(Inherited from View)
AccessibilityLiveRegionAssertive
Obsolete.

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

(Inherited from View)
AccessibilityLiveRegionNone
Obsolete.

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

(Inherited from View)
AccessibilityLiveRegionPolite
Obsolete.

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

(Inherited from View)
AutofillFlagIncludeNotImportantViews
Obsolete.

Flag requesting you to add views that are marked as not important for autofill (see #setImportantForAutofill(int)) to a ViewStructure.

(Inherited from View)
AutofillHintCreditCardExpirationDate

Hint indicating that this view can be autofilled with a credit card expiration date.

(Inherited from View)
AutofillHintCreditCardExpirationDay

Hint indicating that this view can be autofilled with a credit card expiration day.

(Inherited from View)
AutofillHintCreditCardExpirationMonth

Hint indicating that this view can be autofilled with a credit card expiration month.

(Inherited from View)
AutofillHintCreditCardExpirationYear

Hint indicating that this view can be autofilled with a credit card expiration year.

(Inherited from View)
AutofillHintCreditCardNumber

Hint indicating that this view can be autofilled with a credit card number.

(Inherited from View)
AutofillHintCreditCardSecurityCode

Hint indicating that this view can be autofilled with a credit card security code.

(Inherited from View)
AutofillHintEmailAddress

Hint indicating that this view can be autofilled with an email address.

(Inherited from View)
AutofillHintName

Hint indicating that this view can be autofilled with a user's real name.

(Inherited from View)
AutofillHintPassword

Hint indicating that this view can be autofilled with a password.

(Inherited from View)
AutofillHintPhone

Hint indicating that this view can be autofilled with a phone number.

(Inherited from View)
AutofillHintPostalAddress

Hint indicating that this view can be autofilled with a postal address.

(Inherited from View)
AutofillHintPostalCode

Hint indicating that this view can be autofilled with a postal code.

(Inherited from View)
AutofillHintUsername

Hint indicating that this view can be autofilled with a username.

(Inherited from View)
AutofillTypeDate
Obsolete.

Autofill type for a field that contains a date, which is represented by a long representing the number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT (see java.util.Date#getTime().

(Inherited from View)
AutofillTypeList
Obsolete.

Autofill type for a selection list field, which is filled by an int representing the element index inside the list (starting at 0).

(Inherited from View)
AutofillTypeNone
Obsolete.

Autofill type for views that cannot be autofilled.

(Inherited from View)
AutofillTypeText
Obsolete.

Autofill type for a text field, which is filled by a CharSequence.

(Inherited from View)
AutofillTypeToggle
Obsolete.

Autofill type for a togglable field, which is filled by a boolean.

(Inherited from View)
ClipToPaddingMask

We clip to padding when FLAG_CLIP_TO_PADDING and FLAG_PADDING_NOT_NULL are set at the same time.

(Inherited from ViewGroup)
DragFlagAccessibilityAction
Obsolete.

Flag indicating that the drag was initiated with AccessibilityNodeInfo.AccessibilityAction#ACTION_DRAG_START.

(Inherited from View)
DragFlagGlobal
Obsolete.

Flag indicating that a drag can cross window boundaries.

(Inherited from View)
DragFlagGlobalPersistableUriPermission
Obsolete.

When this flag is used with #DRAG_FLAG_GLOBAL_URI_READ and/or #DRAG_FLAG_GLOBAL_URI_WRITE, the URI permission grant can be persisted across device reboots until explicitly revoked with android.content.Context#revokeUriPermission(Uri, int) Context.

(Inherited from View)
DragFlagGlobalPrefixUriPermission
Obsolete.

When this flag is used with #DRAG_FLAG_GLOBAL_URI_READ and/or #DRAG_FLAG_GLOBAL_URI_WRITE, the URI permission grant applies to any URI that is a prefix match against the original granted URI.

(Inherited from View)
DragFlagGlobalUriRead
Obsolete.

When this flag is used with #DRAG_FLAG_GLOBAL, the drag recipient will be able to request read access to the content URI(s) contained in the ClipData object.

(Inherited from View)
DragFlagGlobalUriWrite
Obsolete.

When this flag is used with #DRAG_FLAG_GLOBAL, the drag recipient will be able to request write access to the content URI(s) contained in the ClipData object.

(Inherited from View)
DragFlagOpaque
Obsolete.

Flag indicating that the drag shadow will be opaque.

(Inherited from View)
FindViewsWithContentDescription
Obsolete.

Find find views that contain the specified content description.

(Inherited from View)
FocusableAuto
Obsolete.

This view determines focusability automatically.

(Inherited from View)
ImportantForAccessibilityAuto
Obsolete.

Automatically determine whether a view is important for accessibility.

(Inherited from View)
ImportantForAccessibilityNo
Obsolete.

The view is not important for accessibility.

(Inherited from View)
ImportantForAccessibilityNoHideDescendants
Obsolete.

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

(Inherited from View)
ImportantForAccessibilityYes
Obsolete.

The view is important for accessibility.

(Inherited from View)
ImportantForAutofillAuto
Obsolete.

Automatically determine whether a view is important for autofill.

(Inherited from View)
ImportantForAutofillNo
Obsolete.

The view is not important for autofill, but its children (if any) will be traversed.

(Inherited from View)
ImportantForAutofillNoExcludeDescendants
Obsolete.

The view is not important for autofill, and its children (if any) will not be traversed.

(Inherited from View)
ImportantForAutofillYes
Obsolete.

The view is important for autofill, and its children (if any) will be traversed.

(Inherited from View)
ImportantForAutofillYesExcludeDescendants
Obsolete.

The view is important for autofill, but its children (if any) will not be traversed.

(Inherited from View)
ImportantForContentCaptureAuto
Obsolete.

Automatically determine whether a view is important for content capture.

(Inherited from View)
ImportantForContentCaptureNo
Obsolete.

The view is not important for content capture, but its children (if any) will be traversed.

(Inherited from View)
ImportantForContentCaptureNoExcludeDescendants
Obsolete.

The view is not important for content capture, and its children (if any) will not be traversed.

(Inherited from View)
ImportantForContentCaptureYes
Obsolete.

The view is important for content capture, and its children (if any) will be traversed.

(Inherited from View)
ImportantForContentCaptureYesExcludeDescendants
Obsolete.

The view is important for content capture, but its children (if any) will not be traversed.

(Inherited from View)
InvalidPosition

Represents an invalid position.

(Inherited from AdapterView)
InvalidRowId

Represents an empty or invalid row id

(Inherited from AdapterView)
ItemViewTypeHeaderOrFooter

The item view type returned by Adapter#getItemViewType(int) when the item is a header or footer.

(Inherited from AdapterView)
ItemViewTypeIgnore

The item view type returned by Adapter#getItemViewType(int) when the adapter does not want the item's view recycled.

(Inherited from AdapterView)
LayoutDirectionInherit
Obsolete.

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

(Inherited from View)
LayoutDirectionLocale
Obsolete.

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

(Inherited from View)
LayoutDirectionLtr
Obsolete.

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

(Inherited from View)
LayoutDirectionRtl
Obsolete.

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

(Inherited from View)
LayoutModeClipBounds
Obsolete.

This constant is a #setLayoutMode(int) layoutMode.

(Inherited from ViewGroup)
LayoutModeOpticalBounds
Obsolete.

This constant is a #setLayoutMode(int) layoutMode.

(Inherited from ViewGroup)
MeasuredHeightStateShift

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).

(Inherited from View)
MeasuredSizeMask

Bits of #getMeasuredWidthAndState() and #getMeasuredWidthAndState() that provide the actual measured size.

(Inherited from View)
MeasuredStateMask

Bits of #getMeasuredWidthAndState() and #getMeasuredWidthAndState() that provide the additional state bits.

(Inherited from View)
MeasuredStateTooSmall

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

(Inherited from View)
NoId

Used to mark a View that has no ID.

(Inherited from View)
NotFocusable
Obsolete.

This view does not want keystrokes.

(Inherited from View)
OverScrollAlways
Obsolete.

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

(Inherited from View)
OverScrollIfContentScrolls
Obsolete.

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.

(Inherited from View)
OverScrollNever
Obsolete.

Never allow a user to over-scroll this view.

(Inherited from View)
ScreenStateOff
Obsolete.

Indicates that the screen has changed state and is now off.

(Inherited from View)
ScreenStateOn
Obsolete.

Indicates that the screen has changed state and is now on.

(Inherited from View)
ScrollAxisHorizontal
Obsolete.

Indicates scrolling along the horizontal axis.

(Inherited from View)
ScrollAxisNone
Obsolete.

Indicates no axis of view scrolling.

(Inherited from View)
ScrollAxisVertical
Obsolete.

Indicates scrolling along the vertical axis.

(Inherited from View)
ScrollCaptureHintAuto
Obsolete.

The content of this view will be considered for scroll capture if scrolling is possible.

(Inherited from View)
ScrollCaptureHintExclude
Obsolete.

Explicitly exclude this view as a potential scroll capture target.

(Inherited from View)
ScrollCaptureHintExcludeDescendants
Obsolete.

Explicitly exclude all children of this view as potential scroll capture targets.

(Inherited from View)
ScrollCaptureHintInclude
Obsolete.

Explicitly include this view as a potential scroll capture target.

(Inherited from View)
SystemUiFlagFullscreen

Flag for #setSystemUiVisibility(int): View has requested to go into the normal fullscreen mode so that its content can take over the screen while still allowing the user to interact with the application.

(Inherited from View)
SystemUiFlagHideNavigation

Flag for #setSystemUiVisibility(int): View has requested that the system navigation be temporarily hidden.

(Inherited from View)
SystemUiFlagImmersive

Flag for #setSystemUiVisibility(int): View would like to remain interactive when hiding the navigation bar with #SYSTEM_UI_FLAG_HIDE_NAVIGATION.

(Inherited from View)
SystemUiFlagImmersiveSticky

Flag for #setSystemUiVisibility(int): View would like to remain interactive when hiding the status bar with #SYSTEM_UI_FLAG_FULLSCREEN and/or hiding the navigation bar with #SYSTEM_UI_FLAG_HIDE_NAVIGATION.

(Inherited from View)
SystemUiFlagLayoutFullscreen

Flag for #setSystemUiVisibility(int): View would like its window to be laid out as if it has requested #SYSTEM_UI_FLAG_FULLSCREEN, even if it currently hasn't.

(Inherited from View)
SystemUiFlagLayoutHideNavigation

Flag for #setSystemUiVisibility(int): View would like its window to be laid out as if it has requested #SYSTEM_UI_FLAG_HIDE_NAVIGATION, even if it currently hasn't.

(Inherited from View)
SystemUiFlagLayoutStable

Flag for #setSystemUiVisibility(int): When using other layout flags, we would like a stable view of the content insets given to #fitSystemWindows(Rect).

(Inherited from View)
SystemUiFlagLightNavigationBar

Flag for #setSystemUiVisibility(int): Requests the navigation bar to draw in a mode that is compatible with light navigation bar backgrounds.

(Inherited from View)
SystemUiFlagLightStatusBar

Flag for #setSystemUiVisibility(int): Requests the status bar to draw in a mode that is compatible with light status bar backgrounds.

(Inherited from View)
SystemUiFlagLowProfile

Flag for #setSystemUiVisibility(int): View has requested the system UI to enter an unobtrusive "low profile" mode.

(Inherited from View)
SystemUiFlagVisible

Special constant for #setSystemUiVisibility(int): View has requested the system UI (status bar) to be visible (the default).

(Inherited from View)
SystemUiLayoutFlags

Flags that can impact the layout in relation to system UI.

(Inherited from View)
TextAlignmentCenter
Obsolete.

Center the paragraph, e.

(Inherited from View)
TextAlignmentGravity
Obsolete.

Default for the root view.

(Inherited from View)
TextAlignmentInherit
Obsolete.

Default text alignment.

(Inherited from View)
TextAlignmentResolvedDefault
Obsolete.

Default resolved text alignment

(Inherited from View)
TextAlignmentTextEnd
Obsolete.

Align to the end of the paragraph, e.

(Inherited from View)
TextAlignmentTextStart
Obsolete.

Align to the start of the paragraph, e.

(Inherited from View)
TextAlignmentViewEnd
Obsolete.

Align to the end of the view, which is ALIGN_RIGHT if the view's resolved layoutDirection is LTR, and ALIGN_LEFT otherwise.

(Inherited from View)
TextAlignmentViewStart
Obsolete.

Align to the start of the view, which is ALIGN_LEFT if the view's resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise.

(Inherited from View)
TextDirectionAnyRtl
Obsolete.

Text direction is using "any-RTL" algorithm.

(Inherited from View)
TextDirectionFirstStrong
Obsolete.

Text direction is using "first strong algorithm".

(Inherited from View)
TextDirectionFirstStrongLtr
Obsolete.

Text direction is using "first strong algorithm".

(Inherited from View)
TextDirectionFirstStrongRtl
Obsolete.

Text direction is using "first strong algorithm".

(Inherited from View)
TextDirectionInherit
Obsolete.

Text direction is inherited through ViewGroup

(Inherited from View)
TextDirectionLocale
Obsolete.

Text direction is coming from the system Locale.

(Inherited from View)
TextDirectionLtr
Obsolete.

Text direction is forced to LTR.

(Inherited from View)
TextDirectionRtl
Obsolete.

Text direction is forced to RTL.

(Inherited from View)
ViewLogTag

The logging tag used by this class with android.

(Inherited from View)

Properties

AccessibilityClassName (Inherited from View)
AccessibilityClassNameFormatted

Return the class name of this object to be used for accessibility purposes.

(Inherited from View)
AccessibilityHeading

Gets whether this view is a heading for accessibility purposes. -or- Set if view is a heading for a section of content for accessibility purposes.

(Inherited from View)
AccessibilityLiveRegion

Gets the live region mode for this View. -or- Sets the live region mode for this view.

(Inherited from View)
AccessibilityNodeProvider

Gets the provider for managing a virtual view hierarchy rooted at this View and reported to android.accessibilityservice.AccessibilityServices that explore the window content.

(Inherited from View)
AccessibilityPaneTitle (Inherited from View)
AccessibilityPaneTitleFormatted

Get the title of the pane for purposes of accessibility. -or- Visually distinct portion of a window with window-like semantics are considered panes for accessibility purposes.

(Inherited from View)
AccessibilityTraversalAfter

Gets the id of a view after which this one is visited in accessibility traversal. -or- Sets the id of a view after which this one is visited in accessibility traversal.

(Inherited from View)
AccessibilityTraversalBefore

Gets the id of a view before which this one is visited in accessibility traversal. -or- Sets the id of a view before which this one is visited in accessibility traversal.

(Inherited from View)
Activated

Indicates the activation state of this view. -or- Changes the activated state of this view.

(Inherited from View)
Adapter

Returns the adapter currently associated with this widget.

AllowedHandwritingDelegatePackageName

Returns the allowed package for delegate editor views for which this view may act as a handwriting delegator, as set by #setAllowedHandwritingDelegatePackage.

(Inherited from View)
AllowedHandwritingDelegatorPackageName

Returns the allowed package for views which may act as a handwriting delegator for this delegate editor view, as set by #setAllowedHandwritingDelegatorPackage.

(Inherited from View)
Alpha

The opacity of the view. -or- Sets the opacity of the view to a value from 0 to 1, where 0 means the view is completely transparent and 1 means the view is completely opaque.

(Inherited from View)
AlwaysDrawnWithCacheEnabled

Indicates whether this ViewGroup will always try to draw its children using their drawing cache. -or- Indicates whether this ViewGroup will always try to draw its children using their drawing cache.

(Inherited from ViewGroup)
Animation

Get the animation currently associated with this view. -or- Sets the next animation to play for this view.

(Inherited from View)
AnimationCacheEnabled

Indicates whether the children's drawing cache is used during a layout animation. -or- Enables or disables the children's drawing cache during a layout animation.

(Inherited from ViewGroup)
AnimationMatrix

Return the current transformation matrix of the view. -or- Changes the transformation matrix on the view.

(Inherited from View)
ApplicationWindowToken

Retrieve a unique token identifying the top-level "real" window of the window that this view is attached to.

(Inherited from View)
ApplyWindowInsets (Inherited from View)
AttributeSourceResourceMap

Returns the mapping of attribute resource ID to source resource ID where the attribute value was set.

(Inherited from View)
AutofillId

Gets the unique, logical identifier of this view in the activity, for autofill purposes. -or- Sets the unique, logical identifier of this view in the activity, for autofill purposes.

(Inherited from View)
AutofillType

Describes the autofill type of this view, so an android.service.autofill.AutofillService can create the proper AutofillValue when autofilling the view.

(Inherited from View)
AutofillValue

Gets the View's current autofill value.

(Inherited from View)
AutoHandwritingEnabled

Return whether the View allows automatic handwriting initiation. -or- Set whether this view enables automatic handwriting initiation.

(Inherited from View)
Background

Gets the background drawable -or- Set the background to a given Drawable, or remove the background.

(Inherited from View)
BackgroundTintBlendMode

Return the blending mode used to apply the tint to the background drawable, if specified. -or- Specifies the blending mode used to apply the tint specified by #setBackgroundTintList(ColorStateList)} to the background drawable.

(Inherited from View)
BackgroundTintList

Return the tint applied to the background drawable, if specified. -or- Applies a tint to the background drawable.

(Inherited from View)
BackgroundTintMode

Return the blending mode used to apply the tint to the background drawable, if specified.

(Inherited from View)
Baseline

Return the offset of the widget's text baseline from the widget's top boundary.

(Inherited from View)
Bottom

Bottom position of this view relative to its parent. -or- Sets the bottom position of this view relative to its parent.

(Inherited from View)
BottomFadingEdgeStrength

Returns the strength, or intensity, of the bottom faded edge.

(Inherited from View)
BottomPaddingOffset

Amount by which to extend the bottom fading region.

(Inherited from View)
CameraDistance

Gets the distance along the Z axis from the camera to this view.

(Inherited from View)
ChildCount

Returns the number of children in the group.

(Inherited from ViewGroup)
ChildrenDrawingOrderEnabled

Indicates whether the ViewGroup is drawing its children in the order defined by #getChildDrawingOrder(int, int). -or- Tells the ViewGroup whether to draw its children in the order defined by the method #getChildDrawingOrder(int, int).

(Inherited from ViewGroup)
ChildrenDrawnWithCacheEnabled

Indicates whether the ViewGroup is currently drawing its children using their drawing cache. -or- Tells the ViewGroup to draw its children using their drawing cache.

(Inherited from ViewGroup)
Class

Returns the runtime class of this Object.

(Inherited from Object)
Clickable

Indicates whether this view reacts to click events or not. -or- Enables or disables click events for this view.

(Inherited from View)
ClipBounds

Returns a copy of the current #setClipBounds(Rect) clipBounds. -or- Sets a rectangular area on this view to which the view will be clipped when it is drawn.

(Inherited from View)
ClipChildren

Returns whether this group's children are clipped to their bounds before drawing.

(Inherited from ViewGroup)
ClipToOutline

Returns whether the Outline should be used to clip the contents of the View. -or- Sets whether the View's Outline should be used to clip the contents of the View.

(Inherited from View)
ClipToPadding

Returns whether this ViewGroup will clip its children to its padding, and resize (but not clip) any EdgeEffect to the padded region, if padding is present.

(Inherited from ViewGroup)
ContentCaptureSession

Gets the session used to notify content capture events. -or- Sets the (optional) ContentCaptureSession associated with this view.

(Inherited from View)
ContentDescription (Inherited from View)
ContentDescriptionFormatted

Returns the View's content description. -or- Sets the View's content description.

(Inherited from View)
Context

Returns the context the view is running in, through which it can access the current theme, resources, etc.

(Inherited from View)
ContextClickable

Indicates whether this view reacts to context clicks or not. -or- Enables or disables context clicking for this view.

(Inherited from View)
ContextMenuInfo

Views should implement this if they have extra information to associate with the context menu.

(Inherited from View)
Count (Inherited from AdapterView)
DefaultFocusHighlightEnabled

Returns whether this View should use a default focus highlight when it gets focused but doesn't have android.R.attr#state_focused defined in its background. -or- Sets whether this View should use a default focus highlight when it gets focused but doesn't have android.R.attr#state_focused defined in its background.

(Inherited from View)
DescendantFocusability

Gets the descendant focusability of this view group. -or- Set the descendant focusability of this view group.

(Inherited from ViewGroup)
Display

Gets the logical display to which the view's window has been attached.

(Inherited from View)
DrawingCache

Calling this method is equivalent to calling getDrawingCache(false).

(Inherited from View)
DrawingCacheBackgroundColor

This member is deprecated. -or- Setting a solid background color for the drawing cache's bitmaps will improve performance and memory usage.

(Inherited from View)
DrawingCacheEnabled

Indicates whether the drawing cache is enabled for this view. -or- Enables or disables the drawing cache.

(Inherited from View)
DrawingCacheQuality

Returns the quality of the drawing cache. -or- Set the drawing cache quality of this view.

(Inherited from View)
DrawingTime

Return the time at which the drawing of the view hierarchy started.

(Inherited from View)
DuplicateParentStateEnabled

Indicates whether this duplicates its drawable state from its parent. -or- Enables or disables the duplication of the parent's state into this view.

(Inherited from View)
Elevation

The base elevation of this view relative to its parent, in pixels. -or- Sets the base elevation of this view, in pixels.

(Inherited from View)
EmptyView

When the current adapter is empty, the AdapterView can display a special view called the empty view. -or- Sets the view to show if the adapter is empty

(Inherited from AdapterView)
Enabled

Returns the enabled status for this view. -or- Set the enabled state of this view.

(Inherited from View)
ExplicitStyle

Returns the resource ID for the style specified using style="..." in the AttributeSet's backing XML element or Resources#ID_NULL otherwise if not specified or otherwise not applicable.

(Inherited from View)
FilterTouchesWhenObscured

Gets whether the framework should discard touches when the view's window is obscured by another visible window at the touched location. -or- Sets whether the framework should discard touches when the view's window is obscured by another visible window at the touched location.

(Inherited from View)
FirstVisiblePosition

Returns the position within the adapter's data set for the first item displayed on screen.

(Inherited from AdapterView)
FitsSystemWindows

Check for state of #setFitsSystemWindows(boolean).

(Inherited from View)
Focusable

Returns whether this View is currently able to take focus. -or- Set whether this view can receive the focus.

(Inherited from View)
FocusableInTouchMode

When a view is focusable, it may not want to take focus when in touch mode. -or- Set whether this view can receive focus while in touch mode.

(Inherited from View)
FocusedByDefault

Returns whether this View should receive focus when the focus is restored for the view hierarchy containing this view. -or- Sets whether this View should receive focus when the focus is restored for the view hierarchy containing this view.

(Inherited from View)
FocusedChild

Returns the focused child of this view, if any.

(Inherited from ViewGroup)
ForceDarkAllowed

See #setForceDarkAllowed(boolean) -or- Sets whether or not to allow force dark to apply to this view.

(Inherited from View)
Foreground

Returns the drawable used as the foreground of this View. -or- Supply a Drawable that is to be rendered on top of all of the content in the view.

(Inherited from View)
ForegroundGravity

Describes how the foreground is positioned.

(Inherited from View)
ForegroundTintBlendMode

Return the blending mode used to apply the tint to the foreground drawable, if specified. -or- Specifies the blending mode used to apply the tint specified by #setForegroundTintList(ColorStateList)} to the background drawable.

(Inherited from View)
ForegroundTintList

Return the tint applied to the foreground drawable, if specified. -or- Applies a tint to the foreground drawable.

(Inherited from View)
ForegroundTintMode

Return the blending mode used to apply the tint to the foreground drawable, if specified.

(Inherited from View)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
Handler (Inherited from View)
HandwritingBoundsOffsetBottom

Return the amount of offset applied to the bottom edge of this view's handwriting bounds, in the unit of pixel.

(Inherited from View)
HandwritingBoundsOffsetLeft

Return the amount of offset applied to the left edge of this view's handwriting bounds, in the unit of pixel.

(Inherited from View)
HandwritingBoundsOffsetRight

Return the amount of offset applied to the right edge of this view's handwriting bounds, in the unit of pixel.

(Inherited from View)
HandwritingBoundsOffsetTop

Return the amount of offset applied to the top edge of this view's handwriting bounds, in the unit of pixel.

(Inherited from View)
HandwritingDelegatorCallback

Returns the callback set by #setHandwritingDelegatorCallback which should be called when a stylus MotionEvent occurs within this view's bounds. -or- Sets a callback which should be called when a stylus MotionEvent occurs within this view's bounds.

(Inherited from View)
HapticFeedbackEnabled

Set whether this view should have haptic feedback for events such as long presses.

(Inherited from View)
HasExplicitFocusable

Returns true if this view is focusable or if it contains a reachable View for which #hasExplicitFocusable() returns true.

(Inherited from View)
HasFocus

Returns true if this view has focus itself, or is the ancestor of the view that has focus.

(Inherited from View)
HasFocusable

Returns true if this view is focusable or if it contains a reachable View for which #hasFocusable() returns true.

(Inherited from View)
HasNestedScrollingParent

Returns true if this view has a nested scrolling parent.

(Inherited from View)
HasOnClickListeners

Return whether this view has an attached OnClickListener.

(Inherited from View)
HasOnLongClickListeners

Return whether this view has an attached OnLongClickListener.

(Inherited from View)
HasOverlappingRendering

Returns whether this View has content which overlaps.

(Inherited from View)
HasPointerCapture

Checks pointer capture status.

(Inherited from View)
HasTransientState

Indicates whether the view is currently tracking transient state that the app should not need to concern itself with saving and restoring, but that the framework should take special note to preserve when possible. -or- Set whether this view is currently tracking transient state that the framework should attempt to preserve when possible.

(Inherited from View)
HasWindowFocus

Returns true if this view is in a window that currently has window focus.

(Inherited from View)
Height

Return the height of your view.

(Inherited from View)
HorizontalFadingEdgeEnabled

Indicate whether the horizontal edges are faded when the view is scrolled horizontally. -or- Define whether the horizontal edges should be faded when this view is scrolled horizontally.

(Inherited from View)
HorizontalFadingEdgeLength

Returns the size of the horizontal faded edges used to indicate that more content in this view is visible.

(Inherited from View)
HorizontalScrollBarEnabled

Indicate whether the horizontal scrollbar should be drawn or not. -or- Define whether the horizontal scrollbar should be drawn or not.

(Inherited from View)
HorizontalScrollbarHeight

Returns the height of the horizontal scrollbar.

(Inherited from View)
HorizontalScrollbarThumbDrawable

Returns the currently configured Drawable for the thumb of the horizontal scroll bar if it exists, null otherwise. -or- Defines the horizontal thumb drawable

(Inherited from View)
HorizontalScrollbarTrackDrawable

Returns the currently configured Drawable for the track of the horizontal scroll bar if it exists, null otherwise. -or- Defines the horizontal track drawable

(Inherited from View)
Hovered

Returns true if the view is currently hovered. -or- Sets whether the view is currently hovered.

(Inherited from View)
Id

Returns this view's identifier. -or- Sets the identifier for this view.

(Inherited from View)
ImportantForAccessibility

Gets the mode for determining whether this View is important for accessibility. -or- Sets how to determine whether this view is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen.

(Inherited from View)
ImportantForAutofill

Gets the mode for determining whether this view is important for autofill. -or- Sets the mode for determining whether this view is considered important for autofill.

(Inherited from View)
ImportantForContentCapture

Gets the mode for determining whether this view is important for content capture. -or- Sets the mode for determining whether this view is considered important for content capture.

(Inherited from View)
IsAccessibilityDataSensitive

Whether this view should restrict accessibility service access only to services that have the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

(Inherited from View)
IsAccessibilityFocused

Returns whether this View is accessibility focused.

(Inherited from View)
IsAttachedToWindow

Returns true if this view is currently attached to a window.

(Inherited from View)
IsCredential

Gets the mode for determining whether this view is a credential. -or- Sets whether this view is a credential for Credential Manager purposes.

(Inherited from View)
IsDirty

True if this view has changed since the last time being drawn.

(Inherited from View)
IsFocused

Returns true if this view has focus

(Inherited from View)
IsHandwritingDelegate

Returns whether this view has been set as a handwriting delegate by #setIsHandwritingDelegate. -or- Sets this view to be a handwriting delegate.

(Inherited from View)
IsHardwareAccelerated

Indicates whether this view is attached to a hardware accelerated window or not.

(Inherited from View)
IsImportantForAccessibility

Computes whether this view should be exposed for accessibility.

(Inherited from View)
IsImportantForAutofill

Hints the Android System whether the android.app.assist.AssistStructure.ViewNode associated with this view is considered important for autofill purposes.

(Inherited from View)
IsImportantForContentCapture

Hints the Android System whether this view is considered important for content capture, based on the value explicitly set by #setImportantForContentCapture(int) and heuristics when it's #IMPORTANT_FOR_CONTENT_CAPTURE_AUTO.

(Inherited from View)
IsInEditMode

Indicates whether this View is currently in edit mode.

(Inherited from View)
IsInLayout

Returns whether the view hierarchy is currently undergoing a layout pass.

(Inherited from View)
IsInTouchMode

Returns the touch mode state associated with this view.

(Inherited from View)
IsLaidOut

Returns true if this view has been through at least one layout since it was last attached to or detached from a window.

(Inherited from View)
IsLayoutDirectionResolved (Inherited from View)
IsLayoutRequested

Indicates whether or not this view's layout will be requested during the next hierarchy layout pass.

(Inherited from View)
IsLayoutSuppressed

Returns whether layout calls on this container are currently being suppressed, due to an earlier call to #suppressLayout(boolean).

(Inherited from ViewGroup)
IsOpaque

Indicates whether this View is opaque.

(Inherited from View)
IsPaddingOffsetRequired

If the View draws content inside its padding and enables fading edges, it needs to support padding offsets.

(Inherited from View)
IsPaddingRelative

Return if the padding has been set through relative values #setPaddingRelative(int, int, int, int) or through

(Inherited from View)
IsPivotSet

Returns whether or not a pivot has been set by a call to #setPivotX(float) or #setPivotY(float).

(Inherited from View)
IsScrollContainer

Indicates whether this view is one of the set of scrollable containers in its window.

(Inherited from View)
IsShowingLayoutBounds

Returns true when the View is attached and the system developer setting to show the layout bounds is enabled or false otherwise.

(Inherited from View)
IsShown

Returns the visibility of this view and all of its ancestors

(Inherited from View)
IsTemporarilyDetached

Tells whether the View is in the state between #onStartTemporaryDetach() and #onFinishTemporaryDetach().

(Inherited from View)
IsTextAlignmentResolved (Inherited from View)
IsTextDirectionResolved (Inherited from View)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers (Inherited from AdapterView)
KeepScreenOn

Returns whether the screen should remain on, corresponding to the current value of #KEEP_SCREEN_ON. -or- Controls whether the screen should remain on, modifying the value of #KEEP_SCREEN_ON.

(Inherited from View)
KeyboardNavigationCluster

Returns whether this View is a root of a keyboard navigation cluster. -or- Set whether this view is a root of a keyboard navigation cluster.

(Inherited from View)
KeyDispatcherState

Return the global KeyEvent.DispatcherState KeyEvent.DispatcherState for this view's window.

(Inherited from View)
LabelFor

Gets the id of a view for which this view serves as a label for accessibility purposes. -or- Sets the id of a view for which this view serves as a label for accessibility purposes.

(Inherited from View)
LastVisiblePosition

Returns the position within the adapter's data set for the last item displayed on screen.

(Inherited from AdapterView)
LayerType

Indicates what type of layer is currently associated with this view.

(Inherited from View)
LayoutAnimation

Returns the layout animation controller used to animate the group's children. -or- Sets the layout animation controller used to animate the group's children after the first layout.

(Inherited from ViewGroup)
LayoutAnimationListener

Returns the animation listener to which layout animation events are sent. -or- Specifies the animation listener to which layout animation events must be sent.

(Inherited from ViewGroup)
LayoutDirection

Returns the resolved layout direction for this view. -or- Set the layout direction for this view.

(Inherited from View)
LayoutMode

Returns the basis of alignment during layout operations on this ViewGroup: either #LAYOUT_MODE_CLIP_BOUNDS or #LAYOUT_MODE_OPTICAL_BOUNDS. -or- Sets the basis of alignment during the layout of this ViewGroup.

(Inherited from ViewGroup)
LayoutParameters

Get the LayoutParams associated with this view. -or- Set the layout parameters associated with this view.

(Inherited from View)
LayoutTransition

Gets the LayoutTransition object for this ViewGroup. -or- Sets the LayoutTransition object for this ViewGroup.

(Inherited from ViewGroup)
Left

Left position of this view relative to its parent. -or- Sets the left position of this view relative to its parent.

(Inherited from View)
LeftFadingEdgeStrength

Returns the strength, or intensity, of the left faded edge.

(Inherited from View)
LeftPaddingOffset

Amount by which to extend the left fading region.

(Inherited from View)
LongClickable

Indicates whether this view reacts to long click events or not. -or- Enables or disables long click events for this view.

(Inherited from View)
Matrix

The transform matrix of this view, which is calculated based on the current rotation, scale, and pivot properties.

(Inherited from View)
MeasuredHeight

Like #getMeasuredHeightAndState(), but only returns the raw height component (that is the result is masked by #MEASURED_SIZE_MASK).

(Inherited from View)
MeasuredHeightAndState

Return the full height measurement information for this view as computed by the most recent call to #measure(int, int).

(Inherited from View)
MeasuredState

Return only the state bits of #getMeasuredWidthAndState() and #getMeasuredHeightAndState(), combined into one integer.

(Inherited from View)
MeasuredWidth

Like #getMeasuredWidthAndState(), but only returns the raw width component (that is the result is masked by #MEASURED_SIZE_MASK).

(Inherited from View)
MeasuredWidthAndState

Return the full width measurement information for this view as computed by the most recent call to #measure(int, int).

(Inherited from View)
MinimumHeight

Returns the minimum height of the view.

(Inherited from View)
MinimumWidth

Returns the minimum width of the view.

(Inherited from View)
MotionEventSplittingEnabled

Returns true if MotionEvents dispatched to this ViewGroup can be split to multiple children. -or- Enable or disable the splitting of MotionEvents to multiple children during touch event dispatch.

(Inherited from ViewGroup)
NestedScrollAxes

Return the current axes of nested scrolling for this ViewGroup.

(Inherited from ViewGroup)
NestedScrollingEnabled

Returns true if nested scrolling is enabled for this view. -or- Enable or disable nested scrolling for this view.

(Inherited from View)
NextClusterForwardId

Gets the id of the root of the next keyboard navigation cluster. -or- Sets the id of the view to use as the root of the next keyboard navigation cluster.

(Inherited from View)
NextFocusDownId

Gets the id of the view to use when the next focus is #FOCUS_DOWN. -or- Sets the id of the view to use when the next focus is #FOCUS_DOWN.

(Inherited from View)
NextFocusForwardId

Gets the id of the view to use when the next focus is #FOCUS_FORWARD. -or- Sets the id of the view to use when the next focus is #FOCUS_FORWARD.

(Inherited from View)
NextFocusLeftId

Gets the id of the view to use when the next focus is #FOCUS_LEFT. -or- Sets the id of the view to use when the next focus is #FOCUS_LEFT.

(Inherited from View)
NextFocusRightId

Gets the id of the view to use when the next focus is #FOCUS_RIGHT. -or- Sets the id of the view to use when the next focus is #FOCUS_RIGHT.

(Inherited from View)
NextFocusUpId

Gets the id of the view to use when the next focus is #FOCUS_UP. -or- Sets the id of the view to use when the next focus is #FOCUS_UP.

(Inherited from View)
OnFocusChangeListener

Returns the focus-change callback registered for this view. -or- Register a callback to be invoked when focus of this view changed.

(Inherited from View)
OnItemClickListener

Register a callback to be invoked when an item in this AdapterView has been clicked.

(Inherited from AdapterView)
OnItemLongClickListener

Register a callback to be invoked when an item in this AdapterView has been clicked and held

(Inherited from AdapterView)
OnItemSelectedListener

Register a callback to be invoked when an item in this AdapterView has been selected.

(Inherited from AdapterView)
OutlineAmbientShadowColor (Inherited from View)
OutlineProvider

Returns the current ViewOutlineProvider of the view, which generates the Outline that defines the shape of the shadow it casts, and enables outline clipping. -or- Sets the ViewOutlineProvider of the view, which generates the Outline that defines the shape of the shadow it casts, and enables outline clipping.

(Inherited from View)
OutlineSpotShadowColor (Inherited from View)
Overlay

Returns the overlay for this view, creating it if it does not yet exist.

(Inherited from View)
OverScrollMode

Returns the over-scroll mode for this view. -or- Set the over-scroll mode for this view.

(Inherited from View)
PaddingBottom

Returns the bottom padding of this view.

(Inherited from View)
PaddingEnd

Returns the end padding of this view depending on its resolved layout direction.

(Inherited from View)
PaddingLeft

Returns the left padding of this view.

(Inherited from View)
PaddingRight

Returns the right padding of this view.

(Inherited from View)
PaddingStart

Returns the start padding of this view depending on its resolved layout direction.

(Inherited from View)
PaddingTop

Returns the top padding of this view.

(Inherited from View)
Parent

Gets the parent of this view.

(Inherited from View)
ParentForAccessibility

Gets the parent for accessibility purposes.

(Inherited from View)
PeerReference (Inherited from Object)
PersistentDrawingCache

Returns an integer indicating what types of drawing caches are kept in memory. -or- Indicates what types of drawing caches should be kept in memory after they have been created.

(Inherited from ViewGroup)
PivotX

The x location of the point around which the view is #setRotation(float) rotated and #setScaleX(float) scaled. -or- Sets the x location of the point around which the view is #setRotation(float) rotated and #setScaleX(float) scaled.

(Inherited from View)
PivotY

The y location of the point around which the view is #setRotation(float) rotated and #setScaleY(float) scaled. -or- Sets the y location of the point around which the view is #setRotation(float) rotated and #setScaleY(float) scaled.

(Inherited from View)
PointerIcon

Gets the mouse pointer icon for the current view. -or- Set the pointer icon to be used for a mouse pointer in the current view.

(Inherited from View)
PreferKeepClear

Retrieve the preference for this view to be kept clear. -or- Set a preference to keep the bounds of this view clear from floating windows above this view's window.

(Inherited from View)
PreferKeepClearRects

Set a preference to keep the provided rects clear from floating windows above this view's window.

(Inherited from View)
Pressed

Indicates whether the view is currently in pressed state. -or- Sets the pressed state for this view.

(Inherited from View)
RawAdapter
Resources

Returns the resources associated with this view.

(Inherited from View)
RevealOnFocusHint

Returns this view's preference for reveal behavior when it gains focus. -or- Sets this view's preference for reveal behavior when it gains focus.

(Inherited from View)
Right

Right position of this view relative to its parent. -or- Sets the right position of this view relative to its parent.

(Inherited from View)
RightFadingEdgeStrength

Returns the strength, or intensity, of the right faded edge.

(Inherited from View)
RightPaddingOffset

Amount by which to extend the right fading region.

(Inherited from View)
RootSurfaceControl

The AttachedSurfaceControl itself is not a View, it is just the interface to the windowing-system object that contains the entire view hierarchy.

(Inherited from View)
RootView

Finds the topmost view in the current view hierarchy.

(Inherited from View)
RootWindowInsets

Provide original WindowInsets that are dispatched to the view hierarchy.

(Inherited from View)
Rotation

The degrees that the view is rotated around the pivot point. -or- Sets the degrees that the view is rotated around the pivot point.

(Inherited from View)
RotationX

The degrees that the view is rotated around the horizontal axis through the pivot point. -or- Sets the degrees that the view is rotated around the horizontal axis through the pivot point.

(Inherited from View)
RotationY

The degrees that the view is rotated around the vertical axis through the pivot point. -or- Sets the degrees that the view is rotated around the vertical axis through the pivot point.

(Inherited from View)
SaveEnabled

Indicates whether this view will save its state (that is, whether its #onSaveInstanceState method will be called). -or- Controls whether the saving of this view's state is enabled (that is, whether its #onSaveInstanceState method will be called).

(Inherited from View)
SaveFromParentEnabled

Indicates whether the entire hierarchy under this view will save its state when a state saving traversal occurs from its parent. -or- Controls whether the entire hierarchy under this view will save its state when a state saving traversal occurs from its parent.

(Inherited from View)
ScaleX

The amount that the view is scaled in x around the pivot point, as a proportion of the view's unscaled width. -or- Sets the amount that the view is scaled in x around the pivot point, as a proportion of the view's unscaled width.

(Inherited from View)
ScaleY

The amount that the view is scaled in y around the pivot point, as a proportion of the view's unscaled height. -or- Sets the amount that the view is scaled in Y around the pivot point, as a proportion of the view's unscaled width.

(Inherited from View)
ScreenReaderFocusable

Returns whether the view should be treated as a focusable unit by screen reader accessibility tools. -or- Sets whether this View should be a focusable element for screen readers and include non-focusable Views from its subtree when providing feedback.

(Inherited from View)
ScrollBarDefaultDelayBeforeFade

Returns the delay before scrollbars fade. -or- Define the delay before scrollbars fade.

(Inherited from View)
ScrollBarFadeDuration

Returns the scrollbar fade duration. -or- Define the scrollbar fade duration.

(Inherited from View)
ScrollbarFadingEnabled

Returns true if scrollbars will fade when this view is not scrolling -or- Define whether scrollbars will fade when the view is not scrolling.

(Inherited from View)
ScrollBarSize

Returns the scrollbar size. -or- Define the scrollbar size.

(Inherited from View)
ScrollBarStyle

Returns the current scrollbar style. -or- Specify the style of the scrollbars.

(Inherited from View)
ScrollCaptureHint

Returns the current scroll capture hint for this view. -or- Sets the scroll capture hint for this View.

(Inherited from View)
ScrollIndicators

Returns a bitmask representing the enabled scroll indicators.

(Inherited from View)
ScrollX

Return the scrolled left position of this view. -or- Set the horizontal scrolled position of your view.

(Inherited from View)
ScrollY

Return the scrolled top position of this view. -or- Set the vertical scrolled position of your view.

(Inherited from View)
Selected

Indicates the selection state of this view. -or- Changes the selection state of this view.

(Inherited from View)
SelectedItem (Inherited from AdapterView)
SelectedItemId (Inherited from AdapterView)
SelectedItemPosition

Return the position of the currently selected item within the adapter's data set

(Inherited from AdapterView)
SelectedView (Inherited from AdapterView)
SolidColor

Override this if your view is known to always be drawn on top of a solid color background, and needs to draw fading edges.

(Inherited from View)
SoundEffectsEnabled

Set whether this view should have sound effects enabled for events such as clicking and touching.

(Inherited from View)
SourceLayoutResId

A View can be inflated from an XML layout.

(Inherited from View)
StateDescription (Inherited from View)
StateDescriptionFormatted

Returns the View's state description. -or- Sets the View's state description.

(Inherited from View)
StateListAnimator

Returns the current StateListAnimator if exists. -or- Attaches the provided StateListAnimator to this View.

(Inherited from View)
SuggestedMinimumHeight

Returns the suggested minimum height that the view should use.

(Inherited from View)
SuggestedMinimumWidth

Returns the suggested minimum width that the view should use.

(Inherited from View)
SystemGestureExclusionRects

Retrieve the list of areas within this view's post-layout coordinate space where the system should not intercept touch or other pointing device gestures. -or- Sets a list of areas within this view's post-layout coordinate space where the system should not intercept touch or other pointing device gestures.

(Inherited from View)
SystemUiFlags (Inherited from View)
SystemUiVisibility
Obsolete.

Returns the last #setSystemUiVisibility(int) that this view has requested. -or- Request that the visibility of the status bar or other screen/window decorations be changed.

(Inherited from View)
Tag

Returns this view's tag. -or- Sets the tag associated with this view.

(Inherited from View)
TextAlignment

Return the resolved text alignment. -or- Set the text alignment.

(Inherited from View)
TextDirection

Return the resolved text direction. -or- Set the text direction.

(Inherited from View)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from AdapterView)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from AdapterView)
TooltipText (Inherited from View)
TooltipTextFormatted

Returns the view's tooltip text. -or- Sets the tooltip text which will be displayed in a small popup next to the view.

(Inherited from View)
Top

Top position of this view relative to its parent. -or- Sets the top position of this view relative to its parent.

(Inherited from View)
TopFadingEdgeStrength

Returns the strength, or intensity, of the top faded edge.

(Inherited from View)
TopPaddingOffset

Amount by which to extend the top fading region.

(Inherited from View)
Touchables

Find and return all touchable views that are descendants of this view, possibly including this view if it is touchable itself.

(Inherited from View)
TouchDelegate

Gets the TouchDelegate for this View. -or- Sets the TouchDelegate for this View.

(Inherited from View)
TouchscreenBlocksFocus

Check whether this ViewGroup should ignore focus requests for itself and its children. -or- Set whether this ViewGroup should ignore focus requests for itself and its children.

(Inherited from ViewGroup)
TransitionAlpha

This property is intended only for use by the Fade transition, which animates it to produce a visual translucency that does not side-effect (or get affected by) the real alpha property. -or- This property is intended only for use by the Fade transition, which animates it to produce a visual translucency that does not side-effect (or get affected by) the real alpha property.

(Inherited from View)
TransitionGroup

Returns true if this ViewGroup should be considered as a single entity for removal when executing an Activity transition. -or- Changes whether or not this ViewGroup should be treated as a single entity during Activity Transitions.

(Inherited from ViewGroup)
TransitionName

Returns the name of the View to be used to identify Views in Transitions. -or- Sets the name of the View to be used to identify Views in Transitions.

(Inherited from View)
TranslationX

The horizontal location of this view relative to its #getLeft() left position. -or- Sets the horizontal location of this view relative to its #getLeft() left position.

(Inherited from View)
TranslationY

The vertical location of this view relative to its #getTop() top position. -or- Sets the vertical location of this view relative to its #getTop() top position.

(Inherited from View)
TranslationZ

The depth location of this view relative to its #getElevation() elevation. -or- Sets the depth location of this view relative to its #getElevation() elevation.

(Inherited from View)
UniqueDrawingId

Get the identifier used for this view by the drawing system.

(Inherited from View)
VerticalFadingEdgeEnabled

Indicate whether the vertical edges are faded when the view is scrolled horizontally. -or- Define whether the vertical edges should be faded when this view is scrolled vertically.

(Inherited from View)
VerticalFadingEdgeLength

Returns the size of the vertical faded edges used to indicate that more content in this view is visible.

(Inherited from View)
VerticalScrollBarEnabled

Indicate whether the vertical scrollbar should be drawn or not. -or- Define whether the vertical scrollbar should be drawn or not.

(Inherited from View)
VerticalScrollbarPosition

Set the position of the vertical scroll bar.

(Inherited from View)
VerticalScrollbarThumbDrawable

Returns the currently configured Drawable for the thumb of the vertical scroll bar if it exists, null otherwise. -or- Defines the vertical scrollbar thumb drawable

(Inherited from View)
VerticalScrollbarTrackDrawable

Returns the currently configured Drawable for the track of the vertical scroll bar if it exists, null otherwise. -or- Defines the vertical scrollbar track drawable

(Inherited from View)
VerticalScrollbarWidth

Returns the width of the vertical scrollbar.

(Inherited from View)
ViewTranslationResponse

Returns the ViewTranslationResponse associated with this view.

(Inherited from View)
ViewTreeObserver

Returns the ViewTreeObserver for this view's hierarchy.

(Inherited from View)
Visibility

Returns the visibility status for this view. -or- Set the visibility state of this view.

(Inherited from View)
Width

Return the width of your view.

(Inherited from View)
WindowAttachCount (Inherited from View)
WindowId

Retrieve the WindowId for the window this view is currently attached to.

(Inherited from View)
WindowInsetsController

Retrieves the single WindowInsetsController of the window this view is attached to.

(Inherited from View)
WindowSystemUiVisibility

Returns the current system UI visibility that is currently set for the entire window.

(Inherited from View)
WindowToken

Retrieve a unique token identifying the window this view is attached to.

(Inherited from View)
WindowVisibility

Returns the current visibility of the window this view is attached to (either #GONE, #INVISIBLE, or #VISIBLE).

(Inherited from View)

Methods

AddChildrenForAccessibility(IList<View>)

Adds the children of this View relevant for accessibility to the given list as output.

(Inherited from View)
AddExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo, String, Bundle)

Adds extra data to an AccessibilityNodeInfo based on an explicit request for the additional data.

(Inherited from View)
AddFocusables(IList<View>, FocusSearchDirection, FocusablesFlags)

Adds any focusable views that are descendants of this view (possibly including this view if it is focusable itself) to views.

(Inherited from View)
AddFocusables(IList<View>, FocusSearchDirection)

Add any focusable views that are descendants of this view (possibly including this view if it is focusable itself) to views.

(Inherited from View)
AddKeyboardNavigationClusters(ICollection<View>, FocusSearchDirection)

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

(Inherited from View)
AddOnAttachStateChangeListener(View+IOnAttachStateChangeListener)

Add a listener for attach state changes.

(Inherited from View)
AddOnLayoutChangeListener(View+IOnLayoutChangeListener)

Add a listener that will be called when the bounds of the view change due to layout processing.

(Inherited from View)
AddOnUnhandledKeyEventListener(View+IOnUnhandledKeyEventListener)

Adds a listener which will receive unhandled KeyEvents.

(Inherited from View)
AddStatesFromChildren()

Returns whether this ViewGroup's drawable states also include its children's drawable states.

(Inherited from ViewGroup)
AddTouchables(IList<View>)

Add any touchable views that are descendants of this view (possibly including this view if it is touchable itself) to views.

(Inherited from View)
AddView(View, Int32, Int32)

Adds a child view with this ViewGroup's default layout parameters and the specified width and height.

(Inherited from ViewGroup)
AddView(View, Int32, ViewGroup+LayoutParams)

Adds a child view.

(Inherited from ViewGroup)
AddView(View, Int32)

Adds a child view.

(Inherited from ViewGroup)
AddView(View, ViewGroup+LayoutParams)

Adds a child view.

(Inherited from ViewGroup)
AddView(View)

Adds a child view.

(Inherited from ViewGroup)
AddViewInLayout(View, Int32, ViewGroup+LayoutParams, Boolean)

Adds a view during layout.

(Inherited from ViewGroup)
AddViewInLayout(View, Int32, ViewGroup+LayoutParams)

Adds a view during layout.

(Inherited from ViewGroup)
Animate()

This method returns a ViewPropertyAnimator object, which can be used to animate specific properties on this View.

(Inherited from View)
AnnounceForAccessibility(ICharSequence)

Convenience method for sending a AccessibilityEvent#TYPE_ANNOUNCEMENTAccessibilityEvent to suggest that an accessibility service announce the specified text to its users.

(Inherited from View)
AnnounceForAccessibility(String)

Convenience method for sending a AccessibilityEvent#TYPE_ANNOUNCEMENTAccessibilityEvent to suggest that an accessibility service announce the specified text to its users.

(Inherited from View)
AttachLayoutAnimationParameters(View, ViewGroup+LayoutParams, Int32, Int32)

Subclasses should override this method to set layout animation parameters on the supplied child.

(Inherited from ViewGroup)
AttachViewToParent(View, Int32, ViewGroup+LayoutParams)

Attaches a view to this view group.

(Inherited from ViewGroup)
Autofill(AutofillValue)

Automatically fills the content of this view with the value.

(Inherited from View)
Autofill(SparseArray)

Automatically fills the content of the virtual children within this view.

(Inherited from View)
AwakenScrollBars()

Trigger the scrollbars to draw.

(Inherited from View)
AwakenScrollBars(Int32, Boolean)

Trigger the scrollbars to draw.

(Inherited from View)
AwakenScrollBars(Int32)

Trigger the scrollbars to draw.

(Inherited from View)
BringChildToFront(View)

Change the z order of the child so it's on top of all other children.

(Inherited from ViewGroup)
BringToFront()

Change the view's z order in the tree, so it's on top of other sibling views.

(Inherited from View)
BuildDrawingCache()

Calling this method is equivalent to calling buildDrawingCache(false).

(Inherited from View)
BuildDrawingCache(Boolean)

Forces the drawing cache to be built if the drawing cache is invalid.

(Inherited from View)
BuildLayer()

Forces this view's layer to be created and this view to be rendered into its layer.

(Inherited from View)
CallOnClick()

Directly call any attached OnClickListener.

(Inherited from View)
CanAnimate()

Indicates whether the view group has the ability to animate its children after the first layout.

(Inherited from ViewGroup)
CancelDragAndDrop()

Cancels an ongoing drag and drop operation.

(Inherited from View)
CancelLongPress()

Cancels a pending long press.

(Inherited from View)
CancelPendingInputEvents()

Cancel any deferred high-level input events that were previously posted to the event queue.

(Inherited from View)
CanResolveLayoutDirection()

Check if layout direction resolution can be done.

(Inherited from View)
CanResolveTextAlignment()

Check if text alignment resolution can be done.

(Inherited from View)
CanResolveTextDirection()

Check if text direction resolution can be done.

(Inherited from View)
CanScrollHorizontally(Int32)

Check if this view can be scrolled horizontally in a certain direction.

(Inherited from View)
CanScrollVertically(Int32)

Check if this view can be scrolled vertically in a certain direction.

(Inherited from View)
CheckInputConnectionProxy(View)

Called by the android.view.inputmethod.InputMethodManager when a view who is not the current input connection target is trying to make a call on the manager.

(Inherited from View)
CheckLayoutParams(ViewGroup+LayoutParams) (Inherited from ViewGroup)
ChildDrawableStateChanged(View)

If #addStatesFromChildren is true, refreshes this group's drawable state (to include the states from its children).

(Inherited from ViewGroup)
ChildHasTransientStateChanged(View, Boolean)

Called when a child view has changed whether or not it is tracking transient state.

(Inherited from ViewGroup)
CleanupLayoutState(View)

Prevents the specified child to be laid out during the next layout pass.

(Inherited from ViewGroup)
ClearAnimation()

Cancels any animations for this view.

(Inherited from View)
ClearChildFocus(View)

Called when a child of this parent is giving up focus

(Inherited from ViewGroup)
ClearDisappearingChildren()

Removes any pending animations for views that have been removed.

(Inherited from ViewGroup)
ClearFocus()

Called when this view wants to give up focus.

(Inherited from View)
ClearViewTranslationCallback()

Clear the ViewTranslationCallback from this view.

(Inherited from View)
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
ComputeHorizontalScrollExtent()

Compute the horizontal extent of the horizontal scrollbar's thumb within the horizontal range.

(Inherited from View)
ComputeHorizontalScrollOffset()

Compute the horizontal offset of the horizontal scrollbar's thumb within the horizontal range.

(Inherited from View)
ComputeHorizontalScrollRange()

Compute the horizontal range that the horizontal scrollbar represents.

(Inherited from View)
ComputeScroll()

Called by a parent to request that a child update its values for mScrollX and mScrollY if necessary.

(Inherited from View)
ComputeSystemWindowInsets(WindowInsets, Rect)

Compute insets that should be consumed by this view and the ones that should propagate to those under it.

(Inherited from View)
ComputeVerticalScrollExtent()

Compute the vertical extent of the vertical scrollbar's thumb within the vertical range.

(Inherited from View)
ComputeVerticalScrollOffset()

Compute the vertical offset of the vertical scrollbar's thumb within the horizontal range.

(Inherited from View)
ComputeVerticalScrollRange()

Compute the vertical range that the vertical scrollbar represents.

(Inherited from View)
CreateAccessibilityNodeInfo()

Returns an AccessibilityNodeInfo representing this view from the point of view of an android.accessibilityservice.AccessibilityService.

(Inherited from View)
CreateContextMenu(IContextMenu)

Show the context menu for this view.

(Inherited from View)
Debug(Int32)

Prints information about this view in the log output, with the tag ViewLogTag.

(Inherited from ViewGroup)
DestroyDrawingCache()

Frees the resources used by the drawing cache.

(Inherited from View)
DetachAllViewsFromParent()

Detaches all views from the parent.

(Inherited from ViewGroup)
DetachViewFromParent(Int32)

Detaches a view from its parent.

(Inherited from ViewGroup)
DetachViewFromParent(View)

Detaches a view from its parent.

(Inherited from ViewGroup)
DetachViewsFromParent(Int32, Int32)

Detaches a range of views from their parents.

(Inherited from ViewGroup)
DispatchApplyWindowInsets(WindowInsets)

Request to apply the given window insets to this view or another view in its subtree.

(Inherited from View)
DispatchCapturedPointerEvent(MotionEvent)

Pass a captured pointer event down to the focused view.

(Inherited from View)
DispatchConfigurationChanged(Configuration)

Dispatch a notification about a resource configuration change down the view hierarchy.

(Inherited from View)
DispatchCreateViewTranslationRequest(IDictionary<AutofillId,Int64[]>, Int32[], TranslationCapability, IList<ViewTranslationRequest>)

Dispatch to collect the ViewTranslationRequests for translation purpose by traversing the hierarchy when the app requests ui translation.

(Inherited from View)
DispatchDisplayHint(ViewStates)

Dispatch a hint about whether this view is displayed.

(Inherited from View)
DispatchDragEvent(DragEvent)

Detects if this View is enabled and has a drag event listener.

(Inherited from View)
DispatchDraw(Canvas)

Called by draw to draw the child views.

(Inherited from View)
DispatchDrawableHotspotChanged(Single, Single)

Dispatches drawableHotspotChanged to all of this View's children.

(Inherited from View)
DispatchFinishTemporaryDetach()

Dispatch #onFinishTemporaryDetach() to this View and its direct children if this is a container View.

(Inherited from View)
DispatchFreezeSelfOnly(SparseArray)

Perform dispatching of a #saveHierarchyState(android.util.SparseArray) freeze()} to only this view, not to its children.

(Inherited from ViewGroup)
DispatchGenericFocusedEvent(MotionEvent)

Dispatch a generic motion event to the currently focused view.

(Inherited from View)
DispatchGenericMotionEvent(MotionEvent)

Dispatch a generic motion event.

(Inherited from View)
DispatchGenericPointerEvent(MotionEvent)

Dispatch a generic motion event to the view under the first pointer.

(Inherited from View)
DispatchHoverEvent(MotionEvent)

Dispatch a hover event.

(Inherited from View)
DispatchKeyEvent(KeyEvent)

Dispatch a key event to the next view on the focus path.

(Inherited from View)
DispatchKeyEventPreIme(KeyEvent)

Dispatch a key event before it is processed by any input method associated with the view hierarchy.

(Inherited from View)
DispatchKeyShortcutEvent(KeyEvent)

Dispatches a key shortcut event.

(Inherited from View)
DispatchNestedFling(Single, Single, Boolean)

Dispatch a fling to a nested scrolling parent.

(Inherited from View)
DispatchNestedPreFling(Single, Single)

Dispatch a fling to a nested scrolling parent before it is processed by this view.

(Inherited from View)
DispatchNestedPrePerformAccessibilityAction(Action, Bundle)

Report an accessibility action to this view's parents for delegated processing.

(Inherited from View)
DispatchNestedPreScroll(Int32, Int32, Int32[], Int32[])

Dispatch one step of a nested scroll in progress before this view consumes any portion of it.

(Inherited from View)
DispatchNestedScroll(Int32, Int32, Int32, Int32, Int32[])

Dispatch one step of a nested scroll in progress.

(Inherited from View)
DispatchPointerCaptureChanged(Boolean) (Inherited from View)
DispatchPopulateAccessibilityEvent(AccessibilityEvent)

Dispatches an AccessibilityEvent to the View first and then to its children for adding their text content to the event.

(Inherited from View)
DispatchProvideAutofillStructure(ViewStructure, AutofillFlags)

Dispatches creation of a ViewStructures for autofill purposes down the hierarchy, when an Assist structure is being created as part of an autofill request.

(Inherited from View)
DispatchProvideStructure(ViewStructure)

Dispatch creation of ViewStructure down the hierarchy.

(Inherited from View)
DispatchRestoreInstanceState(SparseArray)

Called by #restoreHierarchyState(android.util.SparseArray) to retrieve the state for this view and its children.

(Inherited from View)
DispatchSaveInstanceState(SparseArray)

Called by #saveHierarchyState(android.util.SparseArray) to store the state for this view and its children.

(Inherited from View)
DispatchScrollCaptureSearch(Rect, Point, IConsumer)

Dispatch a scroll capture search request down the view hierarchy.

(Inherited from View)
DispatchSetActivated(Boolean)

Dispatch setActivated to all of this View's children.

(Inherited from ViewGroup)
DispatchSetPressed(Boolean)

Dispatch setPressed to all of this View's children.

(Inherited from View)
DispatchSetSelected(Boolean)

Dispatch setSelected to all of this View's children.

(Inherited from ViewGroup)
DispatchStartTemporaryDetach()

Dispatch #onStartTemporaryDetach() to this View and its direct children if this is a container View.

(Inherited from View)
DispatchSystemUiVisibilityChanged(Int32)
Obsolete.
(Inherited from View)
DispatchSystemUiVisibilityChanged(SystemUiFlags)

Dispatch callbacks to #setOnSystemUiVisibilityChangeListener down the view hierarchy.

(Inherited from View)
DispatchThawSelfOnly(SparseArray)

Perform dispatching of a #restoreHierarchyState(android.util.SparseArray) to only this view, not to its children.

(Inherited from ViewGroup)
DispatchTouchEvent(MotionEvent)

Pass the touch screen motion event down to the target view, or this view if it is the target.

(Inherited from View)
DispatchTrackballEvent(MotionEvent)

Pass a trackball motion event down to the focused view.

(Inherited from View)
DispatchUnhandledMove(View, FocusSearchDirection)

This method is the last chance for the focused view and its ancestors to respond to an arrow key.

(Inherited from View)
DispatchVisibilityChanged(View, ViewStates)

Dispatch a view visibility change down the view hierarchy.

(Inherited from View)
DispatchWindowFocusChanged(Boolean)

Called when the window containing this view gains or loses window focus.

(Inherited from View)
DispatchWindowInsetsAnimationEnd(WindowInsetsAnimation)

Dispatches WindowInsetsAnimation.Callback#onEnd(WindowInsetsAnimation) when Window Insets animation ends.

(Inherited from View)
DispatchWindowInsetsAnimationPrepare(WindowInsetsAnimation)

Dispatches WindowInsetsAnimation.Callback#onPrepare(WindowInsetsAnimation) when Window Insets animation is being prepared.

(Inherited from View)
DispatchWindowInsetsAnimationProgress(WindowInsets, IList<WindowInsetsAnimation>)

Dispatches WindowInsetsAnimation.Callback#onProgress(WindowInsets, List) when Window Insets animation makes progress.

(Inherited from View)
DispatchWindowInsetsAnimationStart(WindowInsetsAnimation, WindowInsetsAnimation+Bounds)

Dispatches WindowInsetsAnimation.Callback#onStart(WindowInsetsAnimation, Bounds) when Window Insets animation is started.

(Inherited from View)
DispatchWindowSystemUiVisiblityChanged(SystemUiFlags)

Dispatch callbacks to #onWindowSystemUiVisibilityChanged(int) down the view hierarchy.

(Inherited from View)
DispatchWindowVisibilityChanged(ViewStates)

Dispatch a window visibility change down the view hierarchy.

(Inherited from View)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Draw(Canvas)

Manually render this view (and all of its children) to the given Canvas.

(Inherited from View)
DrawableHotspotChanged(Single, Single)

This function is called whenever the view hotspot changes and needs to be propagated to drawables or child views managed by the view.

(Inherited from View)
DrawableStateChanged()

This function is called whenever the state of the view changes in such a way that it impacts the state of drawables being shown.

(Inherited from View)
DrawChild(Canvas, View, Int64)

Draw one child of this View Group.

(Inherited from ViewGroup)
EndViewTransition(View)

This method should always be called following an earlier call to #startViewTransition(View).

(Inherited from ViewGroup)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
FindFocus()

Find the view in the hierarchy rooted at this view that currently has focus.

(Inherited from View)
FindOnBackInvokedDispatcher()

Walk up the View hierarchy to find the nearest OnBackInvokedDispatcher.

(Inherited from View)
FindOnBackInvokedDispatcherForChild(View, View)

Walk up the View hierarchy to find the nearest OnBackInvokedDispatcher.

(Inherited from ViewGroup)
FindViewById(Int32)

Finds the first descendant view with the given ID, the view itself if the ID matches #getId(), or null if the ID is invalid (< 0) or there is no matching view in the hierarchy.

(Inherited from View)
FindViewById<T>(Int32) (Inherited from View)
FindViewsWithText(IList<View>, ICharSequence, FindViewsWith)

Finds the Views that contain given text.

(Inherited from View)
FindViewsWithText(IList<View>, String, FindViewsWith)

Finds the Views that contain given text.

(Inherited from View)
FindViewWithTag(Object)

Look for a child view with the given tag.

(Inherited from View)
FitSystemWindows(Rect)
Obsolete.

Called by the view hierarchy when the content insets for a window have changed, to allow it to adjust its content to fit within those windows.

(Inherited from View)
FocusableViewAvailable(View)

Tells the parent that a new focusable view has become available.

(Inherited from ViewGroup)
FocusSearch(FocusSearchDirection)

Find the nearest view in the specified direction that can take focus.

(Inherited from View)
FocusSearch(View, FocusSearchDirection)

Find the nearest view in the specified direction that wants to take focus.

(Inherited from ViewGroup)
ForceHasOverlappingRendering(Boolean)

Sets the behavior for overlapping rendering for this view (see #hasOverlappingRendering() for more details on this behavior).

(Inherited from View)
ForceLayout()

Forces this view to be laid out during the next layout pass.

(Inherited from View)
GatherTransparentRegion(Region)

This is used by the RootView to perform an optimization when the view hierarchy contains one or several SurfaceView.

(Inherited from ViewGroup)
GenerateDefaultLayoutParams()

Returns a set of default layout parameters.

(Inherited from ViewGroup)
GenerateDisplayHash(String, Rect, IExecutor, IDisplayHashResultCallback)

Called to generate a DisplayHash for this view.

(Inherited from View)
GenerateLayoutParams(IAttributeSet)

Returns a new set of layout parameters based on the supplied attributes set.

(Inherited from ViewGroup)
GenerateLayoutParams(ViewGroup+LayoutParams)

Returns a new set of layout parameters based on the supplied attributes set.

(Inherited from ViewGroup)
GetAccessibilityDelegate()

Returns the delegate for implementing accessibility support via composition.

(Inherited from View)
GetAttributeResolutionStack(Int32)

Returns the ordered list of resource ID that are considered when resolving attribute values for this View.

(Inherited from View)
GetAutofillHints()

Gets the hints that help an android.service.autofill.AutofillService determine how to autofill the view with the user's data.

(Inherited from View)
GetChildAt(Int32)

Returns the view at the specified position in the group.

(Inherited from ViewGroup)
GetChildDrawingOrder(Int32, Int32)

Converts drawing order position to container position.

(Inherited from ViewGroup)
GetChildDrawingOrder(Int32)

Converts drawing order position to container position.

(Inherited from ViewGroup)
GetChildStaticTransformation(View, Transformation)

Sets t to be the static transformation of the child, if set, returning a boolean to indicate whether a static transform was set.

(Inherited from ViewGroup)
GetChildVisibleRect(View, Rect, Point)

Compute the visible part of a rectangular region defined in terms of a child view's coordinates.

(Inherited from ViewGroup)
GetClipBounds(Rect)

Populates an output rectangle with the clip bounds of the view, returning true if successful or false if the view's clip bounds are null.

(Inherited from View)
GetDrawableState()

Return an array of resource IDs of the drawable states representing the current state of the view.

(Inherited from View)
GetDrawingCache(Boolean)

Returns the bitmap in which this view drawing is cached.

(Inherited from View)
GetDrawingRect(Rect)

Return the visible drawing bounds of your view.

(Inherited from View)
GetFocusable()

Returns the focusable setting for this view.

(Inherited from View)
GetFocusables(FocusSearchDirection)

Find and return all focusable views that are descendants of this view, possibly including this view if it is focusable itself.

(Inherited from View)
GetFocusedRect(Rect)

When a view has focus and the user navigates away from it, the next view is searched for starting from the rectangle filled in by this method.

(Inherited from View)
GetGlobalVisibleRect(Rect, Point)

Sets r to the coordinates of the non-clipped area of this view in the coordinate space of the view's root view.

(Inherited from View)
GetGlobalVisibleRect(Rect)

Sets r to the coordinates of the non-clipped area of this view in the coordinate space of the view's root view.

(Inherited from View)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetHasOverlappingRendering()

Returns the value for overlapping rendering that is used internally.

(Inherited from View)
GetHitRect(Rect)

Hit rectangle in parent's coordinates

(Inherited from View)
GetItemAtPosition(Int32)

Gets the data associated with the specified position in the list.

(Inherited from AdapterView)
GetItemIdAtPosition(Int32) (Inherited from AdapterView)
GetLocalVisibleRect(Rect)

Sets r to the coordinates of the non-clipped area of this view relative to the top left corner of the view.

(Inherited from View)
GetLocationInSurface(Int32[])

Gets the coordinates of this view in the coordinate space of the Surface that contains the view.

(Inherited from View)
GetLocationInWindow(Int32[])

Gets the coordinates of this view in the coordinate space of the window that contains the view, irrespective of system decorations.

(Inherited from View)
GetLocationOnScreen(Int32[])

Gets the coordinates of this view in the coordinate space of the device screen, irrespective of system decorations and whether the system is in multi-window mode.

(Inherited from View)
GetPositionForView(View)

Returns the position within the adapter's data set for the view, where view is a an adapter item or a descendant of an adapter item.

(Inherited from AdapterView)
GetReceiveContentMimeTypes()

Returns the MIME types accepted by #performReceiveContent for this view, as configured via #setOnReceiveContentListener.

(Inherited from View)
GetTag(Int32)

Returns the tag associated with this view and the specified key.

(Inherited from View)
GetWindowVisibleDisplayFrame(Rect)

Retrieve the overall visible display size in which the window this view is attached to has been positioned in.

(Inherited from View)
GetX()

The visual x position of this view, in pixels.

(Inherited from View)
GetY()

The visual y position of this view, in pixels.

(Inherited from View)
GetZ()

The visual z position of this view, in pixels.

(Inherited from View)
IndexOfChild(View)

Returns the position in the group of the specified child view.

(Inherited from ViewGroup)
InitializeFadingEdge(TypedArray)

Initializes the fading edges from a given set of styled attributes.

(Inherited from View)
InitializeScrollbars(TypedArray)

Initializes the scrollbars from a given set of styled attributes.

(Inherited from View)
Invalidate()

Invalidate the whole view.

(Inherited from View)
Invalidate(Int32, Int32, Int32, Int32)

Mark the area defined by the rect (l,t,r,b) as needing to be drawn.

(Inherited from View)
Invalidate(Rect)

Mark the area defined by dirty as needing to be drawn.

(Inherited from View)
InvalidateChild(View, Rect)

Don't call or override this method.

(Inherited from ViewGroup)
InvalidateChildInParent(Int32[], Rect)

Don't call or override this method.

(Inherited from ViewGroup)
InvalidateDrawable(Drawable)

Invalidates the specified Drawable.

(Inherited from View)
InvalidateOutline()

Called to rebuild this View's Outline from its ViewOutlineProvider outline provider

(Inherited from View)
InvokeFitsSystemWindows()
Obsolete.
(Inherited from View)
IsVisibleToUserForAutofill(Int32)

Computes whether this virtual autofill view is visible to the user.

(Inherited from View)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
JumpDrawablesToCurrentState()

Call Drawable#jumpToCurrentState() Drawable.jumpToCurrentState() on all Drawable objects associated with this view.

(Inherited from View)
KeyboardNavigationClusterSearch(View, FocusSearchDirection)

Find the nearest keyboard navigation cluster in the specified direction.

(Inherited from View)
Layout(Int32, Int32, Int32, Int32)

Assign a size and position to a view and all of its descendants

(Inherited from ViewGroup)
Measure(Int32, Int32)

This is called to find out how big a view should be.

(Inherited from View)
MeasureChild(View, Int32, Int32)

Ask one of the children of this view to measure itself, taking into account both the MeasureSpec requirements for this view and its padding.

(Inherited from ViewGroup)
MeasureChildren(Int32, Int32)

Ask all of the children of this view to measure themselves, taking into account both the MeasureSpec requirements for this view and its padding.

(Inherited from ViewGroup)
MeasureChildWithMargins(View, Int32, Int32, Int32, Int32)

Ask one of the children of this view to measure itself, taking into account both the MeasureSpec requirements for this view and its padding and margins.

(Inherited from ViewGroup)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
NotifySubtreeAccessibilityStateChanged(View, View, ContentChangeTypes)

Notifies a view parent that the accessibility state of one of its descendants has changed and that the structure of the subtree is different.

(Inherited from ViewGroup)
OffsetDescendantRectToMyCoords(View, Rect)

Offset a rectangle that is in a descendant's coordinate space into our coordinate space.

(Inherited from ViewGroup)
OffsetLeftAndRight(Int32)

Offset this view's horizontal location by the specified amount of pixels.

(Inherited from View)
OffsetRectIntoDescendantCoords(View, Rect)

Offset a rectangle that is in our coordinate space into an ancestor's coordinate space.

(Inherited from ViewGroup)
OffsetTopAndBottom(Int32)

Offset this view's vertical location by the specified number of pixels.

(Inherited from View)
OnAnimationEnd()

Invoked by a parent ViewGroup to notify the end of the animation currently associated with this view.

(Inherited from View)
OnAnimationStart()

Invoked by a parent ViewGroup to notify the start of the animation currently associated with this view.

(Inherited from View)
OnApplyWindowInsets(WindowInsets)

Called when the view should apply WindowInsets according to its internal policy.

(Inherited from View)
OnAttachedToWindow()

This is called when the view is attached to a window.

(Inherited from View)
OnCancelPendingInputEvents()

Called as the result of a call to #cancelPendingInputEvents() on this view or a parent view.

(Inherited from View)
OnCapturedPointerEvent(MotionEvent)

Implement this method to handle captured pointer events

(Inherited from View)
OnCheckIsTextEditor()

Check whether the called view is a text editor, in which case it would make sense to automatically display a soft input window for it.

(Inherited from View)
OnConfigurationChanged(Configuration)

Called when the current configuration of the resources being used by the application have changed.

(Inherited from View)
OnCreateContextMenu(IContextMenu)

Views should implement this if the view itself is going to add items to the context menu.

(Inherited from View)
OnCreateDrawableState(Int32)

Generate the new android.graphics.drawable.Drawable state for this view.

(Inherited from View)
OnCreateInputConnection(EditorInfo)

Create a new InputConnection for an InputMethod to interact with the view.

(Inherited from View)
OnCreateViewTranslationRequest(Int32[], IConsumer)

Collects a ViewTranslationRequest which represents the content to be translated in the view.

(Inherited from View)
OnCreateVirtualViewTranslationRequests(Int64[], Int32[], IConsumer)

Collects ViewTranslationRequests which represents the content to be translated for the virtual views in the host view.

(Inherited from View)
OnDescendantInvalidated(View, View) (Inherited from ViewGroup)
OnDetachedFromWindow()

This is called when the view is detached from a window.

(Inherited from View)
OnDisplayHint(Int32)

Gives this view a hint about whether is displayed or not.

(Inherited from View)
OnDragEvent(DragEvent)

Handles drag events sent by the system following a call to android.view.View#startDragAndDrop(ClipData,DragShadowBuilder,Object,int) startDragAndDrop().

(Inherited from View)
OnDraw(Canvas)

Implement this to do your drawing.

(Inherited from View)
OnDrawForeground(Canvas)

Draw any foreground content for this view.

(Inherited from View)
OnDrawScrollBars(Canvas)

Request the drawing of the horizontal and the vertical scrollbar.

(Inherited from View)
OnFilterTouchEventForSecurity(MotionEvent)

Filter the touch event to apply security policies.

(Inherited from View)
OnFinishInflate()

Finalize inflating a view from XML.

(Inherited from View)
OnFinishTemporaryDetach()

Called after #onStartTemporaryDetach when the container is done changing the view.

(Inherited from View)
OnFocusChanged(Boolean, FocusSearchDirection, Rect)

Called by the view system when the focus state of this view changes.

(Inherited from View)
OnGenericMotionEvent(MotionEvent)

Implement this method to handle generic motion events.

(Inherited from View)
OnHoverChanged(Boolean)

Implement this method to handle hover state changes.

(Inherited from View)
OnHoverEvent(MotionEvent)

Implement this method to handle hover events.

(Inherited from View)
OnInitializeAccessibilityEvent(AccessibilityEvent)

Initializes an AccessibilityEvent with information about this View which is the event source.

(Inherited from View)
OnInitializeAccessibilityNodeInfo(AccessibilityNodeInfo)

Initializes an AccessibilityNodeInfo with information about this view.

(Inherited from View)
OnInterceptHoverEvent(MotionEvent)

Implement this method to intercept hover events before they are handled by child views.

(Inherited from ViewGroup)
OnInterceptTouchEvent(MotionEvent)

Implement this method to intercept all touch screen motion events.

(Inherited from ViewGroup)
OnKeyDown(Keycode, KeyEvent)

Default implementation of KeyEvent.Callback#onKeyDown(int, KeyEvent) KeyEvent.Callback.onKeyDown(): perform press of the view when KeyEvent#KEYCODE_DPAD_CENTER or KeyEvent#KEYCODE_ENTER is released, if the view is enabled and clickable.

(Inherited from View)
OnKeyLongPress(Keycode, KeyEvent)

Default implementation of KeyEvent.Callback#onKeyLongPress(int, KeyEvent) KeyEvent.Callback.onKeyLongPress(): always returns false (doesn't handle the event).

(Inherited from View)
OnKeyMultiple(Keycode, Int32, KeyEvent)

Default implementation of KeyEvent.Callback#onKeyMultiple(int, int, KeyEvent) KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).

(Inherited from View)
OnKeyPreIme(Keycode, KeyEvent)

Handle a key event before it is processed by any input method associated with the view hierarchy.

(Inherited from View)
OnKeyShortcut(Keycode, KeyEvent)

Called on the focused view when a key shortcut event is not handled.

(Inherited from View)
OnKeyUp(Keycode, KeyEvent)

Default implementation of KeyEvent.Callback#onKeyUp(int, KeyEvent) KeyEvent.Callback.onKeyUp(): perform clicking of the view when KeyEvent#KEYCODE_DPAD_CENTER, KeyEvent#KEYCODE_ENTER or KeyEvent#KEYCODE_SPACE is released.

(Inherited from View)
OnLayout(Boolean, Int32, Int32, Int32, Int32)

Called from layout when this view should assign a size and position to each of its children.

(Inherited from AdapterView)
OnMeasure(Int32, Int32)

Measure the view and its content to determine the measured width and the measured height.

(Inherited from View)
OnNestedFling(View, Single, Single, Boolean)

Request a fling from a nested scroll.

(Inherited from ViewGroup)
OnNestedPreFling(View, Single, Single)

React to a nested fling before the target view consumes it.

(Inherited from ViewGroup)
OnNestedPrePerformAccessibilityAction(View, Action, Bundle)

To be added

(Inherited from ViewGroup)
OnNestedPreScroll(View, Int32, Int32, Int32[])

React to a nested scroll in progress before the target view consumes a portion of the scroll.

(Inherited from ViewGroup)
OnNestedScroll(View, Int32, Int32, Int32, Int32)

React to a nested scroll in progress.

(Inherited from ViewGroup)
OnNestedScrollAccepted(View, View, ScrollAxis)

React to the successful claiming of a nested scroll operation.

(Inherited from ViewGroup)
OnOverScrolled(Int32, Int32, Boolean, Boolean)

Called by #overScrollBy(int, int, int, int, int, int, int, int, boolean) to respond to the results of an over-scroll operation.

(Inherited from View)
OnPointerCaptureChange(Boolean)

Called when the window has just acquired or lost pointer capture.

(Inherited from View)
OnPopulateAccessibilityEvent(AccessibilityEvent)

Called from #dispatchPopulateAccessibilityEvent(AccessibilityEvent) giving a chance to this View to populate the accessibility event with its text content.

(Inherited from View)
OnProvideAutofillStructure(ViewStructure, AutofillFlags)

Populates a ViewStructure to fullfil an autofill request.

(Inherited from View)
OnProvideAutofillVirtualStructure(ViewStructure, AutofillFlags)

Populates a ViewStructure containing virtual children to fullfil an autofill request.

(Inherited from View)
OnProvideContentCaptureStructure(ViewStructure, Int32)

Populates a ViewStructure for content capture.

(Inherited from View)
OnProvideStructure(ViewStructure)

Called when assist structure is being retrieved from a view as part of android.app.Activity#onProvideAssistData Activity.onProvideAssistData.

(Inherited from View)
OnProvideVirtualStructure(ViewStructure)

Called when assist structure is being retrieved from a view as part of android.app.Activity#onProvideAssistData Activity.onProvideAssistData to generate additional virtual structure under this view.

(Inherited from View)
OnReceiveContent(ContentInfo)

Implements the default behavior for receiving content for this type of view.

(Inherited from View)
OnRequestFocusInDescendants(Int32, Rect)

Look for a descendant to call View#requestFocus on.

(Inherited from ViewGroup)
OnRequestSendAccessibilityEvent(View, AccessibilityEvent)

Called when a child has requested sending an AccessibilityEvent and gives an opportunity to its parent to augment the event.

(Inherited from ViewGroup)
OnResolvePointerIcon(MotionEvent, Int32)

Resolve the pointer icon that should be used for specified pointer in the motion event.

(Inherited from View)
OnRestoreInstanceState(IParcelable)

Hook allowing a view to re-apply a representation of its internal state that had previously been generated by #onSaveInstanceState.

(Inherited from View)
OnRtlPropertiesChanged(LayoutDirection)

Called when any RTL property (layout direction or text direction or text alignment) has been changed.

(Inherited from View)
OnSaveInstanceState()

Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.

(Inherited from View)
OnScreenStateChanged(ScreenState)

This method is called whenever the state of the screen this view is attached to changes.

(Inherited from View)
OnScrollCaptureSearch(Rect, Point, IConsumer)

Called when scroll capture is requested, to search for appropriate content to scroll.

(Inherited from View)
OnScrollChanged(Int32, Int32, Int32, Int32)

This is called in response to an internal scroll in this view (i.

(Inherited from View)
OnSetAlpha(Int32)

Invoked if there is a Transform that involves alpha.

(Inherited from View)
OnSizeChanged(Int32, Int32, Int32, Int32)

This is called during layout when the size of this view has changed.

(Inherited from View)
OnStartNestedScroll(View, View, ScrollAxis)

React to a descendant view initiating a nestable scroll operation, claiming the nested scroll operation if appropriate.

(Inherited from ViewGroup)
OnStartTemporaryDetach()

This is called when a container is going to temporarily detach a child, with ViewGroup#detachViewFromParent(View) ViewGroup.detachViewFromParent.

(Inherited from View)
OnStopNestedScroll(View)

React to a nested scroll operation ending.

(Inherited from ViewGroup)
OnTouchEvent(MotionEvent)

Implement this method to handle touch screen motion events.

(Inherited from View)
OnTrackballEvent(MotionEvent)

Implement this method to handle trackball motion events.

(Inherited from View)
OnViewAdded(View)

Called when a new child is added to this ViewGroup.

(Inherited from ViewGroup)
OnViewRemoved(View)

Called when a child view is removed from this ViewGroup.

(Inherited from ViewGroup)
OnViewTranslationResponse(ViewTranslationResponse)

Called when the content from View#onCreateViewTranslationRequest had been translated by the TranslationService.

(Inherited from View)
OnVirtualViewTranslationResponses(LongSparseArray)

Called when the content from View#onCreateVirtualViewTranslationRequests had been translated by the TranslationService.

(Inherited from View)
OnVisibilityAggregated(Boolean)

Called when the user-visibility of this View is potentially affected by a change to this view itself, an ancestor view or the window this view is attached to.

(Inherited from View)
OnVisibilityChanged(View, ViewStates)

Called when the visibility of the view or an ancestor of the view has changed.

(Inherited from View)
OnWindowFocusChanged(Boolean)

Called when the window containing this view gains or loses focus.

(Inherited from View)
OnWindowSystemUiVisibilityChanged(SystemUiFlags)

Override to find out when the window's requested system UI visibility has changed, that is the value returned by #getWindowSystemUiVisibility().

(Inherited from View)
OnWindowVisibilityChanged(ViewStates)

Called when the window containing has change its visibility (between #GONE, #INVISIBLE, and #VISIBLE).

(Inherited from View)
OverScrollBy(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Boolean)

Scroll the view with standard behavior for scrolling beyond the normal content boundaries.

(Inherited from View)
PerformAccessibilityAction(Action, Bundle)

Performs the specified accessibility action on the view.

(Inherited from View)
PerformAccessibilityAction(GlobalAction, Bundle)
Obsolete.

Performs the specified accessibility action on the view.

(Inherited from View)
PerformClick()

Call this view's OnClickListener, if it is defined.

(Inherited from View)
PerformContextClick()

Call this view's OnContextClickListener, if it is defined.

(Inherited from View)
PerformContextClick(Single, Single)

Call this view's OnContextClickListener, if it is defined.

(Inherited from View)
PerformHapticFeedback(FeedbackConstants, FeedbackFlags)

BZZZTT!!1!

(Inherited from View)
PerformHapticFeedback(FeedbackConstants)

BZZZTT!!1!

(Inherited from View)
PerformItemClick(View, Int32, Int64)

Call the OnItemClickListener, if it is defined.

(Inherited from AdapterView)
PerformLongClick()

Calls this view's OnLongClickListener, if it is defined.

(Inherited from View)
PerformLongClick(Single, Single)

Calls this view's OnLongClickListener, if it is defined.

(Inherited from View)
PerformReceiveContent(ContentInfo)

Receives the given content.

(Inherited from View)
PlaySoundEffect(SoundEffects)

Play a sound effect for this view.

(Inherited from View)
Post(Action) (Inherited from View)
Post(IRunnable)

Causes the Runnable to be added to the message queue.

(Inherited from View)
PostDelayed(Action, Int64) (Inherited from View)
PostDelayed(IRunnable, Int64)

Causes the Runnable to be added to the message queue, to be run after the specified amount of time elapses.

(Inherited from View)
PostInvalidate()

Cause an invalidate to happen on a subsequent cycle through the event loop.

(Inherited from View)
PostInvalidate(Int32, Int32, Int32, Int32)

Cause an invalidate of the specified area to happen on a subsequent cycle through the event loop.

(Inherited from View)
PostInvalidateDelayed(Int64, Int32, Int32, Int32, Int32)

Cause an invalidate of the specified area to happen on a subsequent cycle through the event loop.

(Inherited from View)
PostInvalidateDelayed(Int64)

Cause an invalidate to happen on a subsequent cycle through the event loop.

(Inherited from View)
PostInvalidateOnAnimation()

Cause an invalidate to happen on the next animation time step, typically the next display frame.

(Inherited from View)
PostInvalidateOnAnimation(Int32, Int32, Int32, Int32)

Cause an invalidate of the specified area to happen on the next animation time step, typically the next display frame.

(Inherited from View)
PostOnAnimation(IRunnable)

Causes the Runnable to execute on the next animation time step.

(Inherited from View)
PostOnAnimationDelayed(IRunnable, Int64)

Causes the Runnable to execute on the next animation time step, after the specified amount of time elapses.

(Inherited from View)
RecomputeViewAttributes(View)

Tell view hierarchy that the global view attributes need to be re-evaluated.

(Inherited from ViewGroup)
RefreshDrawableState()

Call this to force a view to update its drawable state.

(Inherited from View)
ReleasePointerCapture()

Releases the pointer capture.

(Inherited from View)
RemoveAllViews()

Call this method to remove all child views from the ViewGroup.

(Inherited from ViewGroup)
RemoveAllViewsInLayout()

Called by a ViewGroup subclass to remove child views from itself, when it must first know its size on screen before it can calculate how many child views it will render.

(Inherited from ViewGroup)
RemoveCallbacks(Action) (Inherited from View)
RemoveCallbacks(IRunnable)

Removes the specified Runnable from the message queue.

(Inherited from View)
RemoveDetachedView(View, Boolean)

Finishes the removal of a detached view.

(Inherited from ViewGroup)
RemoveOnAttachStateChangeListener(View+IOnAttachStateChangeListener)

Remove a listener for attach state changes.

(Inherited from View)
RemoveOnLayoutChangeListener(View+IOnLayoutChangeListener)

Remove a listener for layout changes.

(Inherited from View)
RemoveOnUnhandledKeyEventListener(View+IOnUnhandledKeyEventListener)

Removes a listener which will receive unhandled KeyEvents.

(Inherited from View)
RemoveView(View)

To be added

(Inherited from ViewGroup)
RemoveViewAt(Int32)

Removes the view at the specified position in the group.

(Inherited from ViewGroup)
RemoveViewInLayout(View)

Removes a view during layout.

(Inherited from ViewGroup)
RemoveViews(Int32, Int32)

Removes the specified range of views from the group.

(Inherited from ViewGroup)
RemoveViewsInLayout(Int32, Int32)

Removes a range of views during layout.

(Inherited from ViewGroup)
RequestApplyInsets()

Ask that a new dispatch of #onApplyWindowInsets(WindowInsets) be performed.

(Inherited from View)
RequestChildFocus(View, View)

Called when a child of this parent wants focus

(Inherited from ViewGroup)
RequestChildRectangleOnScreen(View, Rect, Boolean)

Called when a child of this group wants a particular rectangle to be positioned onto the screen.

(Inherited from ViewGroup)
RequestDisallowInterceptTouchEvent(Boolean)

Called when a child does not want this parent and its ancestors to intercept touch events with OnInterceptTouchEvent(MotionEvent).

(Inherited from ViewGroup)
RequestFitSystemWindows()
Obsolete.

Ask that a new dispatch of #fitSystemWindows(Rect) be performed.

(Inherited from View)
RequestFocus()

Call this to try to give focus to a specific view or to one of its descendants.

(Inherited from View)
RequestFocus(FocusSearchDirection, Rect)

Call this to try to give focus to a specific view or to one of its descendants and give it hints about the direction and a specific rectangle that the focus is coming from.

(Inherited from View)
RequestFocus(FocusSearchDirection)

Call this to try to give focus to a specific view or to one of its descendants and give it a hint about what direction focus is heading.

(Inherited from View)
RequestFocusFromTouch()

Call this to try to give focus to a specific view or to one of its descendants.

(Inherited from View)
RequestLayout()

Call this when something has changed which has invalidated the layout of this view.

(Inherited from View)
RequestPointerCapture()

Requests pointer capture mode.

(Inherited from View)
RequestRectangleOnScreen(Rect, Boolean)

Request that a rectangle of this view be visible on the screen, scrolling if necessary just enough.

(Inherited from View)
RequestRectangleOnScreen(Rect)

Request that a rectangle of this view be visible on the screen, scrolling if necessary just enough.

(Inherited from View)
RequestSendAccessibilityEvent(View, AccessibilityEvent)

Called by a child to request from its parent to send an AccessibilityEvent.

(Inherited from ViewGroup)
RequestTransparentRegion(View)

Called when a child wants the view hierarchy to gather and report transparent regions to the window compositor.

(Inherited from ViewGroup)
RequestUnbufferedDispatch(Int32)

Request unbuffered dispatch of the given event source class to this view.

(Inherited from View)
RequestUnbufferedDispatch(MotionEvent)

Request unbuffered dispatch of the given stream of MotionEvents to this View.

(Inherited from View)
RequireViewById(Int32)

Finds the first descendant view with the given ID, the view itself if the ID matches #getId(), or throws an IllegalArgumentException if the ID is invalid or there is no matching view in the hierarchy.

(Inherited from View)
RequireViewById<T>(Int32) (Inherited from View)
ResetPivot()

Clears any pivot previously set by a call to #setPivotX(float) or #setPivotY(float).

(Inherited from View)
ResetResolvedLayoutDirection() (Inherited from ViewGroup)
ResetResolvedTextDirection() (Inherited from ViewGroup)
RestoreDefaultFocus()

Gives focus to the default-focus view in the view hierarchy that has this view as a root.

(Inherited from View)
RestoreHierarchyState(SparseArray)

Restore this view hierarchy's frozen state from the given container.

(Inherited from View)
SaveAttributeDataForStyleable(Context, Int32[], IAttributeSet, TypedArray, Int32, Int32)

Stores debugging information about attributes.

(Inherited from View)
SaveHierarchyState(SparseArray)

Store this view hierarchy's frozen state into the given container.

(Inherited from View)
ScheduleDrawable(Drawable, Action, Int64) (Inherited from View)
ScheduleDrawable(Drawable, IRunnable, Int64)

Schedules an action on a drawable to occur at a specified time.

(Inherited from View)
ScheduleLayoutAnimation()

Schedules the layout animation to be played after the next layout pass of this view group.

(Inherited from ViewGroup)
ScrollBy(Int32, Int32)

Move the scrolled position of your view.

(Inherited from View)
ScrollTo(Int32, Int32)

Set the scrolled position of your view.

(Inherited from View)
SendAccessibilityEvent(EventTypes)

Sends an accessibility event of the given type.

(Inherited from View)
SendAccessibilityEventUnchecked(AccessibilityEvent)

This method behaves exactly as #sendAccessibilityEvent(int) but takes as an argument an empty AccessibilityEvent and does not perform a check whether accessibility is enabled.

(Inherited from View)
SetAccessibilityDataSensitive(AccessibilityDataSensitive)

Specifies whether this view should only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

(Inherited from View)
SetAccessibilityDelegate(View+AccessibilityDelegate)

Sets a delegate for implementing accessibility support via composition (as opposed to inheritance).

(Inherited from View)
SetAddStatesFromChildren(Boolean)

Sets whether this ViewGroup's drawable states also include its children's drawable states.

(Inherited from ViewGroup)
SetAllowClickWhenDisabled(Boolean)

Enables or disables click events for this view when disabled.

(Inherited from View)
SetAllowedHandwritingDelegatePackage(String)

Specifies that this view may act as a handwriting initiation delegator for a delegate editor view from the specified package.

(Inherited from View)
SetAllowedHandwritingDelegatorPackage(String)

Specifies that a view from the specified package may act as a handwriting delegator for this delegate editor view.

(Inherited from View)
SetAutofillHints(String[])

Sets the hints that help an android.service.autofill.AutofillService determine how to autofill the view with the user's data.

(Inherited from View)
SetBackgroundColor(Color)

Sets the background color for this view.

(Inherited from View)
SetBackgroundDrawable(Drawable)
Obsolete.

This member is deprecated.

(Inherited from View)
SetBackgroundResource(Int32)

Set the background to a given resource.

(Inherited from View)
SetCameraDistance(Single)

Sets the distance along the Z axis (orthogonal to the X/Y plane on which views are drawn) from the camera to this view.

(Inherited from View)
SetChildrenDrawingCacheEnabled(Boolean)

Enables or disables the drawing cache for each child of this view group.

(Inherited from ViewGroup)
SetClipChildren(Boolean)

By default, children are clipped to their bounds before drawing.

(Inherited from ViewGroup)
SetClipToPadding(Boolean)

Sets whether this ViewGroup will clip its children to its padding and resize (but not clip) any EdgeEffect to the padded region, if padding is present.

(Inherited from ViewGroup)
SetFadingEdgeLength(Int32)

Set the size of the faded edge used to indicate that more content in this view is available.

(Inherited from View)
SetFitsSystemWindows(Boolean)

Sets whether or not this view should account for system screen decorations such as the status bar and inset its content; that is, controlling whether the default implementation of #fitSystemWindows(Rect) will be executed.

(Inherited from View)
SetFocusable(ViewFocusability)

Sets whether this view can receive focus.

(Inherited from View)
SetForegroundGravity(GravityFlags)

Describes how the foreground is positioned.

(Inherited from View)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetHandwritingBoundsOffsets(Single, Single, Single, Single)

Set the amount of offset applied to this view's stylus handwriting bounds.

(Inherited from View)
SetLayerPaint(Paint)

Updates the Paint object used with the current layer (used only if the current layer type is not set to #LAYER_TYPE_NONE).

(Inherited from View)
SetLayerType(LayerType, Paint)

Specifies the type of layer backing this view.

(Inherited from View)
SetLeftTopRightBottom(Int32, Int32, Int32, Int32)

Assign a size and position to this view.

(Inherited from View)
SetMeasuredDimension(Int32, Int32)

This method must be called by #onMeasure(int, int) to store the measured width and measured height.

(Inherited from View)
SetMinimumHeight(Int32)

Sets the minimum height of the view.

(Inherited from View)
SetMinimumWidth(Int32)

Sets the minimum width of the view.

(Inherited from View)
SetOnApplyWindowInsetsListener(View+IOnApplyWindowInsetsListener)

Set an OnApplyWindowInsetsListener to take over the policy for applying window insets to this view.

(Inherited from View)
SetOnCapturedPointerListener(View+IOnCapturedPointerListener)

Set a listener to receive callbacks when the pointer capture state of a view changes.

(Inherited from View)
SetOnClickListener(View+IOnClickListener)

Register a callback to be invoked when this view is clicked.

(Inherited from View)
SetOnContextClickListener(View+IOnContextClickListener)

Register a callback to be invoked when this view is context clicked.

(Inherited from View)
SetOnCreateContextMenuListener(View+IOnCreateContextMenuListener)

Register a callback to be invoked when the context menu for this view is being built.

(Inherited from View)
SetOnDragListener(View+IOnDragListener)

Register a drag event listener callback object for this View.

(Inherited from View)
SetOnGenericMotionListener(View+IOnGenericMotionListener)

Register a callback to be invoked when a generic motion event is sent to this view.

(Inherited from View)
SetOnHierarchyChangeListener(ViewGroup+IOnHierarchyChangeListener)

Register a callback to be invoked when a child is added to or removed from this view.

(Inherited from ViewGroup)
SetOnHoverListener(View+IOnHoverListener)

Register a callback to be invoked when a hover event is sent to this view.

(Inherited from View)
SetOnKeyListener(View+IOnKeyListener)

Register a callback to be invoked when a hardware key is pressed in this view.

(Inherited from View)
SetOnLongClickListener(View+IOnLongClickListener)

Register a callback to be invoked when this view is clicked and held.

(Inherited from View)
SetOnReceiveContentListener(String[], IOnReceiveContentListener)

Sets the listener to be #performReceiveContent used to handle insertion of content into this view.

(Inherited from View)
SetOnScrollChangeListener(View+IOnScrollChangeListener)

Register a callback to be invoked when the scroll X or Y positions of this view change.

(Inherited from View)
SetOnSystemUiVisibilityChangeListener(View+IOnSystemUiVisibilityChangeListener)

Set a listener to receive callbacks when the visibility of the system bar changes.

(Inherited from View)
SetOnTouchListener(View+IOnTouchListener)

Register a callback to be invoked when a touch event is sent to this view.

(Inherited from View)
SetOutlineAmbientShadowColor(Color)

Sets the color of the ambient shadow that is drawn when the view has a positive Z or elevation value.

(Inherited from View)
SetOutlineSpotShadowColor(Color)

Sets the color of the spot shadow that is drawn when the view has a positive Z or elevation value.

(Inherited from View)
SetPadding(Int32, Int32, Int32, Int32)

Sets the padding.

(Inherited from View)
SetPaddingRelative(Int32, Int32, Int32, Int32)

Sets the relative padding.

(Inherited from View)
SetRenderEffect(RenderEffect)

Configure the android.graphics.RenderEffect to apply to this View.

(Inherited from View)
SetScrollCaptureCallback(IScrollCaptureCallback)

Sets the callback to receive scroll capture requests.

(Inherited from View)
SetScrollContainer(Boolean)

Change whether this view is one of the set of scrollable containers in its window.

(Inherited from View)
SetScrollIndicators(Int32, Int32)

Sets the state of the scroll indicators specified by the mask.

(Inherited from View)
SetScrollIndicators(Int32)

Sets the state of all scroll indicators.

(Inherited from View)
SetSelection(Int32)

Sets the currently selected item.

(Inherited from AdapterView)
SetStaticTransformationsEnabled(Boolean)

When this property is set to true, this ViewGroup supports static transformations on children; this causes #getChildStaticTransformation(View, android.view.animation.Transformation) to be invoked when a child is drawn.

(Inherited from ViewGroup)
SetTag(Int32, Object)

Sets a tag associated with this view and a key.

(Inherited from View)
SetTransitionVisibility(ViewStates)

Changes the visibility of this View without triggering any other changes.

(Inherited from View)
SetViewTranslationCallback(IViewTranslationCallback)

Sets a ViewTranslationCallback that is used to display/hide the translated information.

(Inherited from View)
SetWillNotCacheDrawing(Boolean)

When a View's drawing cache is enabled, drawing is redirected to an offscreen bitmap.

(Inherited from View)
SetWillNotDraw(Boolean)

If this view doesn't do any drawing on its own, set this flag to allow further optimizations.

(Inherited from View)
SetWindowInsetsAnimationCallback(WindowInsetsAnimation+Callback)

Sets a WindowInsetsAnimation.Callback to be notified about animations of windows that cause insets.

(Inherited from View)
SetX(Single)

Sets the visual x position of this view, in pixels.

(Inherited from View)
SetY(Single)

Sets the visual y position of this view, in pixels.

(Inherited from View)
SetZ(Single)

Sets the visual z position of this view, in pixels.

(Inherited from View)
ShouldDelayChildPressedState()

Return true if the pressed state should be delayed for children or descendants of this ViewGroup.

(Inherited from ViewGroup)
ShowContextMenu()

Shows the context menu for this view.

(Inherited from View)
ShowContextMenu(Single, Single)

Shows the context menu for this view anchored to the specified view-relative coordinate.

(Inherited from View)
ShowContextMenuForChild(View, Single, Single) (Inherited from ViewGroup)
ShowContextMenuForChild(View)

Bring up a context menu for the specified view or its ancestors.

(Inherited from ViewGroup)
StartActionMode(ActionMode+ICallback, ActionModeType)

Start an action mode with the default type ActionMode#TYPE_PRIMARY.

(Inherited from View)
StartActionMode(ActionMode+ICallback)

Start an action mode with the default type ActionMode#TYPE_PRIMARY.

(Inherited from View)
StartActionModeForChild(View, ActionMode+ICallback, ActionModeType) (Inherited from ViewGroup)
StartActionModeForChild(View, ActionMode+ICallback)

Start an action mode for the specified view with the default type Primary.

(Inherited from ViewGroup)
StartAnimation(Animation)

Start the specified animation now.

(Inherited from View)
StartDrag(ClipData, View+DragShadowBuilder, Object, Int32)

Starts a drag and drop operation.

(Inherited from View)
StartDragAndDrop(ClipData, View+DragShadowBuilder, Object, Int32)

Starts a drag and drop operation.

(Inherited from View)
StartLayoutAnimation()

Runs the layout animation.

(Inherited from ViewGroup)
StartNestedScroll(ScrollAxis)

Begin a nestable scroll operation along the given axes.

(Inherited from View)
StartViewTransition(View)

This method tells the ViewGroup that the given View object, which should have this ViewGroup as its parent, should be kept around (re-displayed when the ViewGroup draws its children) even if it is removed from its parent.

(Inherited from ViewGroup)
StopNestedScroll()

Stop a nested scroll in progress.

(Inherited from View)
SuppressLayout(Boolean)

Tells this ViewGroup to suppress all layout() calls until layout suppression is disabled with a later call to suppressLayout(false).

(Inherited from ViewGroup)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
TransformMatrixToGlobal(Matrix)

Modifies the input matrix such that it maps view-local coordinates to on-screen coordinates.

(Inherited from View)
TransformMatrixToLocal(Matrix)

Modifies the input matrix such that it maps on-screen coordinates to view-local coordinates.

(Inherited from View)
UnregisterFromRuntime() (Inherited from Object)
UnscheduleDrawable(Drawable, Action) (Inherited from View)
UnscheduleDrawable(Drawable, IRunnable)

Cancels a scheduled action on a drawable.

(Inherited from View)
UnscheduleDrawable(Drawable)

Unschedule any events associated with the given Drawable.

(Inherited from View)
UpdateDragShadow(View+DragShadowBuilder)

Updates the drag shadow for the ongoing drag and drop operation.

(Inherited from View)
UpdateViewLayout(View, ViewGroup+LayoutParams) (Inherited from ViewGroup)
VerifyDrawable(Drawable)

If your view subclass is displaying its own Drawable objects, it should override this function and return true for any Drawable it is displaying.

(Inherited from View)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
WillNotCacheDrawing()

Returns whether or not this View can cache its drawing or not.

(Inherited from View)
WillNotDraw()

Returns whether or not this View draws on its own.

(Inherited from View)

Events

AnimationEnd (Inherited from ViewGroup)
AnimationRepeat (Inherited from ViewGroup)
AnimationStart (Inherited from ViewGroup)
CapturedPointer (Inherited from View)
ChildViewAdded (Inherited from ViewGroup)
ChildViewRemoved (Inherited from ViewGroup)
Click (Inherited from View)
ContextClick (Inherited from View)
ContextMenuCreated (Inherited from View)
Drag (Inherited from View)
FocusChange (Inherited from View)
GenericMotion (Inherited from View)
Hover (Inherited from View)
ItemClick (Inherited from AdapterView)
ItemLongClick (Inherited from AdapterView)
ItemSelected (Inherited from AdapterView)
ItemSelectionCleared
Obsolete.
(Inherited from AdapterView)
KeyPress (Inherited from View)
LayoutChange (Inherited from View)
LongClick (Inherited from View)
LongClickUseDefaultHapticFeedback (Inherited from View)
NothingSelected (Inherited from AdapterView)
ScrollChange (Inherited from View)
SystemUiVisibilityChange (Inherited from View)
Touch (Inherited from View)
UnhandledKeyEvent (Inherited from View)
ViewAttachedToWindow (Inherited from View)
ViewDetachedFromWindow (Inherited from View)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to