VideoView Class

Definition

Displays a video file.

[Android.Runtime.Register("android/widget/VideoView", ApiSince=1, DoNotGenerateAcw=true)]
public class VideoView : Android.Views.SurfaceView, Android.Widget.MediaController.IMediaPlayerControl, IDisposable
type VideoView = class
    inherit SurfaceView
    interface MediaController.IMediaPlayerControl
    interface IJavaObject
    interface IDisposable
Inheritance
Attributes
Implements

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

VideoView(Context)
VideoView(Context, IAttributeSet)
VideoView(Context, IAttributeSet, Int32)
VideoView(Context, IAttributeSet, Int32, Int32)
VideoView(IntPtr, JniHandleOwnership)

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

Fields

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.
(Inherited from View)
AutofillHintCreditCardExpirationDate (Inherited from View)
AutofillHintCreditCardExpirationDay (Inherited from View)
AutofillHintCreditCardExpirationMonth (Inherited from View)
AutofillHintCreditCardExpirationYear (Inherited from View)
AutofillHintCreditCardNumber (Inherited from View)
AutofillHintCreditCardSecurityCode (Inherited from View)
AutofillHintEmailAddress (Inherited from View)
AutofillHintName (Inherited from View)
AutofillHintPassword (Inherited from View)
AutofillHintPhone (Inherited from View)
AutofillHintPostalAddress (Inherited from View)
AutofillHintPostalCode (Inherited from View)
AutofillHintUsername (Inherited from View)
AutofillTypeDate
Obsolete.
(Inherited from View)
AutofillTypeList
Obsolete.
(Inherited from View)
AutofillTypeNone
Obsolete.
(Inherited from View)
AutofillTypeText
Obsolete.
(Inherited from View)
AutofillTypeToggle
Obsolete.
(Inherited from View)
DragFlagGlobal
Obsolete.
(Inherited from View)
DragFlagGlobalPersistableUriPermission
Obsolete.
(Inherited from View)
DragFlagGlobalPrefixUriPermission
Obsolete.
(Inherited from View)
DragFlagGlobalUriRead
Obsolete.
(Inherited from View)
DragFlagGlobalUriWrite
Obsolete.
(Inherited from View)
DragFlagOpaque
Obsolete.
(Inherited from View)
FindViewsWithContentDescription
Obsolete.

Find find views that contain the specified content description.

(Inherited from View)
FocusableAuto
Obsolete.
(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.
(Inherited from View)
ImportantForAutofillNo
Obsolete.
(Inherited from View)
ImportantForAutofillNoExcludeDescendants
Obsolete.
(Inherited from View)
ImportantForAutofillYes
Obsolete.
(Inherited from View)
ImportantForAutofillYesExcludeDescendants
Obsolete.
(Inherited from View)
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)
MeasuredHeightStateShift

Bit shift of MeasuredStateMask to get to the height bits for functions that combine both width and height into a single int, such as MeasuredState and the childState argument of ResolveSizeAndState(Int32, Int32, Int32).

(Inherited from View)
MeasuredSizeMask

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

(Inherited from View)
MeasuredStateMask

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

(Inherited from View)
MeasuredStateTooSmall

Bit of MeasuredWidthAndState and MeasuredWidthAndState 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.
(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)
SystemUiFlagFullscreen
Obsolete.

Flag for SystemUiVisibility: 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
Obsolete.

Flag for SystemUiVisibility: View has requested that the system navigation be temporarily hidden.

(Inherited from View)
SystemUiFlagImmersive
Obsolete.

Flag for SystemUiVisibility: View would like to remain interactive when hiding the navigation bar with SystemUiFlagHideNavigation.

(Inherited from View)
SystemUiFlagImmersiveSticky
Obsolete.

Flag for SystemUiVisibility: View would like to remain interactive when hiding the status bar with SystemUiFlagFullscreen and/or hiding the navigation bar with SystemUiFlagHideNavigation.

(Inherited from View)
SystemUiFlagLayoutFullscreen
Obsolete.

Flag for SystemUiVisibility: View would like its window to be laid out as if it has requested SystemUiFlagFullscreen, even if it currently hasn't.

(Inherited from View)
SystemUiFlagLayoutHideNavigation
Obsolete.

Flag for SystemUiVisibility: View would like its window to be laid out as if it has requested SystemUiFlagHideNavigation, even if it currently hasn't.

(Inherited from View)
SystemUiFlagLayoutStable
Obsolete.

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

(Inherited from View)
SystemUiFlagLightNavigationBar
Obsolete.
(Inherited from View)
SystemUiFlagLightStatusBar
Obsolete.
(Inherited from View)
SystemUiFlagLowProfile
Obsolete.

Flag for SystemUiVisibility: View has requested the system UI to enter an unobtrusive "low profile" mode.

(Inherited from View)
SystemUiFlagVisible
Obsolete.

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

(Inherited from View)
SystemUiLayoutFlags
Obsolete.

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

(Inherited from View)
TextAlignmentCenter
Obsolete.

Center the paragraph, e.g.

(Inherited from View)
TextAlignmentGravity
Obsolete.

Default for the root view.

(Inherited from View)
TextAlignmentInherit
Obsolete.

Default text alignment.

(Inherited from View)
TextAlignmentResolvedDefault
Obsolete.
(Inherited from View)
TextAlignmentTextEnd
Obsolete.

Align to the end of the paragraph, e.g.

(Inherited from View)
TextAlignmentTextStart
Obsolete.

Align to the start of the paragraph, e.g.

(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.
(Inherited from View)
TextDirectionFirstStrongRtl
Obsolete.
(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.util.

(Inherited from View)

Properties

AccessibilityClassName (Inherited from View)
AccessibilityClassNameFormatted (Inherited from View)
AccessibilityLiveRegion

Gets 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 AccessibilityServices that explore the window content.

(Inherited from View)
AccessibilityTraversalAfter (Inherited from View)
AccessibilityTraversalBefore (Inherited from View)
Activated

Indicates the activation state of this view.

(Inherited from View)
Alpha

The opacity of the view.

(Inherited from View)
Animation

Get the animation currently associated with this 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)
AudioSessionId

Get the audio session id for the player used by this VideoView.

AutofillId (Inherited from View)
AutofillType (Inherited from View)
AutofillValue (Inherited from View)
Background

Gets the background drawable

(Inherited from View)
BackgroundTintList

Return the tint applied to the background drawable, if specified.

(Inherited from View)
BackgroundTintMode

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

(Inherited from View)
Baseline (Inherited from View)
Bottom

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)
BufferPercentage
CameraDistance

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

(Inherited from View)
Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Clickable

Indicates whether this view reacts to click events or not.

(Inherited from View)
ClipBounds

Returns a copy of the current ClipBounds.

(Inherited from View)
ClipToOutline

Returns whether the Outline should be used to clip the contents of the View.

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

Gets the View 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 (Inherited from View)
ContextMenuInfo

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

(Inherited from View)
CurrentPosition
DefaultFocusHighlightEnabled (Inherited from View)
Display

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

(Inherited from View)
DrawingCache (Inherited from View)
DrawingCacheBackgroundColor (Inherited from View)
DrawingCacheEnabled (Inherited from View)
DrawingCacheQuality

Returns the quality of the drawing cache.

(Inherited from View)
DrawingTime (Inherited from View)
DuplicateParentStateEnabled (Inherited from View)
Duration
Elevation

The base elevation of this view relative to its parent, in pixels.

(Inherited from View)
Enabled

Returns the enabled status for this view.

(Inherited from View)
FilterTouchesWhenObscured

Gets whether the framework should discard touches when the view's window is obscured by another visible window.

(Inherited from View)
FitsSystemWindows

Check for state of SetFitsSystemWindows(Boolean).

(Inherited from View)
Focusable

Returns whether this View is able to take focus.

(Inherited from View)
FocusableInTouchMode

When a view is focusable, it may not want to take focus when in touch mode.

(Inherited from View)
FocusedByDefault (Inherited from View)
Foreground (Inherited from View)
ForegroundGravity (Inherited from View)
ForegroundTintList (Inherited from View)
ForegroundTintMode (Inherited from View)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
Handler (Inherited from View)
HapticFeedbackEnabled (Inherited from View)
HasExplicitFocusable (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)
HasOverlappingRendering

Returns whether this View has content which overlaps.

(Inherited from View)
HasPointerCapture (Inherited from View)
HasTransientState (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)
Holder

Return the SurfaceHolder providing access and control over this SurfaceView's underlying surface.

(Inherited from SurfaceView)
HorizontalFadingEdgeEnabled (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 (Inherited from View)
HorizontalScrollbarHeight

Returns the height of the horizontal scrollbar.

(Inherited from View)
Hovered

Returns true if the view is currently hovered.

(Inherited from View)
Id

Returns this view's identifier.

(Inherited from View)
ImportantForAccessibility

Gets the mode for determining 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 (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)
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)
IsHardwareAccelerated (Inherited from View)
IsImportantForAccessibility

Computes whether this view should be exposed for accessibility.

(Inherited from View)
IsImportantForAutofill (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 whether the device is currently in touch mode.

(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 (Inherited from View)
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(Int32, Int32, Int32, Int32) or through

(Inherited from View)
IsPlaying
IsScrollContainer

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

(Inherited from View)
IsShown

Returns the visibility of this view and all of its ancestors

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

Returns whether the screen should remain on, corresponding to the current value of KeepScreenOn.

(Inherited from View)
KeyboardNavigationCluster (Inherited from View)
KeyDispatcherState

Return the global 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.

(Inherited from View)
LayerType

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

(Inherited from View)
LayoutDirection

Returns the resolved layout direction for this view.

(Inherited from View)
LayoutParameters

Get the LayoutParams associated with this view.

(Inherited from View)
Left

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.

(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 MeasuredHeightAndState, but only returns the raw width component (that is the result is masked by MeasuredSizeMask).

(Inherited from View)
MeasuredHeightAndState

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

(Inherited from View)
MeasuredState

Return only the state bits of MeasuredWidthAndState and MeasuredHeightAndState, combined into one integer.

(Inherited from View)
MeasuredWidth

Like MeasuredWidthAndState, but only returns the raw width component (that is the result is masked by MeasuredSizeMask).

(Inherited from View)
MeasuredWidthAndState

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

(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)
NestedScrollingEnabled

Returns true if nested scrolling is enabled for this view.

(Inherited from View)
NextClusterForwardId (Inherited from View)
NextFocusDownId

Gets the id of the view to use when the next focus is Down.

(Inherited from View)
NextFocusForwardId

Gets the id of the view to use when the next focus is Forward.

(Inherited from View)
NextFocusLeftId

Gets the id of the view to use when the next focus is Left.

(Inherited from View)
NextFocusRightId

Gets the id of the view to use when the next focus is Right.

(Inherited from View)
NextFocusUpId

Gets the id of the view to use when the next focus is Up.

(Inherited from View)
OnFocusChangeListener

Returns the focus-change callback registered for this view.

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

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

(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)
PivotX

The x location of the point around which the view is Rotation and ScaleX.

(Inherited from View)
PivotY

The y location of the point around which the view is Rotation and ScaleY.

(Inherited from View)
PointerIcon (Inherited from View)
Pressed

Indicates whether the view is currently in pressed state.

(Inherited from View)
Resources

Returns the resources associated with this view.

(Inherited from View)
RevealOnFocusHint (Inherited from View)
Right

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)
RootView (Inherited from View)
RootWindowInsets (Inherited from View)
Rotation

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.

(Inherited from View)
RotationY

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

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

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

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

(Inherited from View)
ScrollBarDefaultDelayBeforeFade

Returns the delay before scrollbars fade.

(Inherited from View)
ScrollBarFadeDuration

Returns the scrollbar fade duration.

(Inherited from View)
ScrollbarFadingEnabled

Returns true if scrollbars will fade when this view is not scrolling

(Inherited from View)
ScrollBarSize

Returns the scrollbar size.

(Inherited from View)
ScrollBarStyle (Inherited from View)
ScrollIndicators (Inherited from View)
ScrollX

Return the scrolled left position of this view.

(Inherited from View)
ScrollY

Return the scrolled top position of this view.

(Inherited from View)
Selected

Indicates the selection state of this view.

(Inherited from View)
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 (Inherited from View)
StateListAnimator

Returns the current StateListAnimator if exists.

(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)
SystemUiVisibility

Returns the last SystemUiVisibility that this view has requested.

(Inherited from View)
Tag

Returns this view's tag.

(Inherited from View)
TextAlignment

Return the resolved text alignment.

(Inherited from View)
TextDirection

Return the resolved 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.

ThresholdType

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

TooltipText (Inherited from View)
TooltipTextFormatted (Inherited from View)
Top

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.

(Inherited from View)
TransitionName

Returns 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 Left position.

(Inherited from View)
TranslationY

The vertical location of this view relative to its Top position.

(Inherited from View)
TranslationZ

The depth location of this view relative to its Elevation.

(Inherited from View)
VerticalFadingEdgeEnabled (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 (Inherited from View)
VerticalScrollbarPosition (Inherited from View)
VerticalScrollbarWidth

Returns the width of the vertical scrollbar.

(Inherited from View)
ViewTreeObserver

Returns the ViewTreeObserver for this view's hierarchy.

(Inherited from View)
Visibility

Returns the visibility status for this view.

(Inherited from View)
Width

Return the width of the 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)
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>) (Inherited from View)
AddExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo, String, Bundle) (Inherited from View)
AddFocusables(IList<View>, FocusSearchDirection) (Inherited from View)
AddFocusables(IList<View>, FocusSearchDirection, FocusablesFlags) (Inherited from View)
AddKeyboardNavigationClusters(ICollection<View>, FocusSearchDirection) (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)
AddSubtitleSource(Stream, MediaFormat)

Adds an external subtitle source file (from the provided input stream.

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

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

(Inherited from View)
AnnounceForAccessibility(ICharSequence) (Inherited from View)
AnnounceForAccessibility(String) (Inherited from View)
Autofill(AutofillValue) (Inherited from View)
Autofill(SparseArray) (Inherited from View)
AwakenScrollBars() (Inherited from View)
AwakenScrollBars(Int32) (Inherited from View)
AwakenScrollBars(Int32, Boolean) (Inherited from View)
BringToFront()

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

(Inherited from View)
BuildDrawingCache() (Inherited from View)
BuildDrawingCache(Boolean) (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)
CancelDragAndDrop() (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)
CanPause()
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)
CanSeekBackward()
CanSeekForward()
CheckInputConnectionProxy(View)

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

(Inherited from View)
ClearAnimation()

Cancels any animations for this view.

(Inherited from View)
ClearFocus()

Called when this view wants to give up focus.

(Inherited from View)
Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
ComputeHorizontalScrollExtent() (Inherited from View)
ComputeHorizontalScrollOffset() (Inherited from View)
ComputeHorizontalScrollRange() (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() (Inherited from View)
ComputeVerticalScrollOffset() (Inherited from View)
ComputeVerticalScrollRange() (Inherited from View)
CreateAccessibilityNodeInfo()

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

(Inherited from View)
CreateContextMenu(IContextMenu)

Show the context menu for this view.

(Inherited from View)
DestroyDrawingCache() (Inherited from View)
DispatchApplyWindowInsets(WindowInsets)

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

(Inherited from View)
DispatchCapturedPointerEvent(MotionEvent) (Inherited from View)
DispatchConfigurationChanged(Configuration)

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

(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) (Inherited from View)
DispatchFinishTemporaryDetach() (Inherited from View)
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) (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) (Inherited from View)
DispatchProvideStructure(ViewStructure) (Inherited from View)
DispatchRestoreInstanceState(SparseArray) (Inherited from View)
DispatchSaveInstanceState(SparseArray) (Inherited from View)
DispatchSetActivated(Boolean)

Dispatch setActivated to all of this View's children.

(Inherited from View)
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 View)
DispatchStartTemporaryDetach() (Inherited from View)
DispatchSystemUiVisibilityChanged(Int32)
Obsolete.
(Inherited from View)
DispatchSystemUiVisibilityChanged(SystemUiFlags)

Dispatch callbacks to SetOnSystemUiVisibilityChangeListener(View+IOnSystemUiVisibilityChangeListener) down the view hierarchy.

(Inherited from View)
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)
DispatchWindowSystemUiVisiblityChanged(SystemUiFlags)

Dispatch callbacks to OnWindowSystemUiVisibilityChanged(SystemUiFlags) 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)
Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
FindFocus()

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

(Inherited from View)
FindViewById(Int32)

Look for a child view with the given id.

(Inherited from View)
FindViewById<T>(Int32) (Inherited from View)
FindViewsWithText(IList<View>, ICharSequence, FindViewsWith) (Inherited from View)
FindViewsWithText(IList<View>, String, FindViewsWith) (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)
FocusSearch(FocusSearchDirection)

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

(Inherited from View)
ForceHasOverlappingRendering(Boolean) (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 SurfaceView)
GetAutofillHints() (Inherited from View)
GetClipBounds(Rect) (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) (Inherited from View)
GetDrawingRect(Rect)

Return the visible drawing bounds of your view.

(Inherited from View)
GetFocusable() (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) (Inherited from View)
GetGlobalVisibleRect(Rect, Point)

If some part of this view is not clipped by any of its parents, then return that area in r in global (root) coordinates.

(Inherited from View)
GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetHasOverlappingRendering() (Inherited from View)
GetHitRect(Rect)

Hit rectangle in parent's coordinates

(Inherited from View)
GetLocalVisibleRect(Rect) (Inherited from View)
GetLocationInWindow(Int32[]) (Inherited from View)
GetLocationOnScreen(Int32[]) (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)
InitializeFadingEdge(TypedArray) (Inherited from View)
InitializeScrollbars(TypedArray) (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)
InvalidateDrawable(Drawable)

Invalidates the specified Drawable.

(Inherited from View)
InvalidateOutline()

Called to rebuild this View's Outline from its ViewOutlineProvider

(Inherited from View)
InvokeFitsSystemWindows()
Obsolete.
(Inherited from View)
JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
JumpDrawablesToCurrentState()

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

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

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

(Inherited from View)
Measure(Int32, Int32) (Inherited from View)
Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
OffsetLeftAndRight(Int32)

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

(Inherited from View)
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) (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 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)
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 StartDrag(ClipData, View+DragShadowBuilder, Object, Int32).

(Inherited from View)
OnDraw(Canvas)

Implement this to do your drawing.

(Inherited from View)
OnDrawForeground(Canvas) (Inherited from View)
OnDrawScrollBars(Canvas) (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)
OnKeyDown(Keycode, KeyEvent)

Default implementation of OnKeyDown(Keycode, KeyEvent): perform press of the view when DpadCenter or Enter is released, if the view is enabled and clickable.

(Inherited from View)
OnKeyLongPress(Keycode, KeyEvent)

Default implementation of OnKeyLongPress(Keycode, KeyEvent): always returns false (doesn't handle the event).

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

Default implementation of OnKeyMultiple(Keycode, Int32, KeyEvent): 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 OnKeyUp(Keycode, KeyEvent): perform clicking of the view when DpadCenter or Enter 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 View)
OnMeasure(Int32, Int32) (Inherited from View)
OnOverScrolled(Int32, Int32, Boolean, Boolean)

Called by OverScrollBy(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Boolean) to respond to the results of an over-scroll operation.

(Inherited from View)
OnPointerCaptureChange(Boolean) (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) (Inherited from View)
OnProvideAutofillVirtualStructure(ViewStructure, AutofillFlags) (Inherited from View)
OnProvideStructure(ViewStructure) (Inherited from View)
OnProvideVirtualStructure(ViewStructure) (Inherited from View)
OnResolvePointerIcon(MotionEvent, Int32) (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)
OnScrollChanged(Int32, Int32, Int32, Int32)

This is called in response to an internal scroll in this view (i.e., the view scrolled its own contents).

(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)
OnStartTemporaryDetach()

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

(Inherited from View)
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)
OnVisibilityAggregated(Boolean) (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 WindowSystemUiVisibility.

(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)
Pause()
PerformAccessibilityAction(Action, Bundle) (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() (Inherited from View)
PerformContextClick(Single, Single) (Inherited from View)
PerformHapticFeedback(FeedbackConstants)

BZZZTT!!1!

(Inherited from View)
PerformHapticFeedback(FeedbackConstants, FeedbackFlags)

BZZZTT!!1!

(Inherited from View)
PerformLongClick()

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

(Inherited from View)
PerformLongClick(Single, Single) (Inherited from View)
PlaySoundEffect(SoundEffects)

Play a sound effect for this view.

(Inherited from View)
Post(Action) (Inherited from View)
Post(IRunnable) (Inherited from View)
PostDelayed(Action, Int64) (Inherited from View)
PostDelayed(IRunnable, Int64) (Inherited from View)
PostInvalidate() (Inherited from View)
PostInvalidate(Int32, Int32, Int32, Int32) (Inherited from View)
PostInvalidateDelayed(Int64) (Inherited from View)
PostInvalidateDelayed(Int64, Int32, Int32, Int32, Int32) (Inherited from View)
PostInvalidateOnAnimation() (Inherited from View)
PostInvalidateOnAnimation(Int32, Int32, Int32, Int32) (Inherited from View)
PostOnAnimation(IRunnable) (Inherited from View)
PostOnAnimationDelayed(IRunnable, Int64) (Inherited from View)
RefreshDrawableState()

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

(Inherited from View)
ReleasePointerCapture() (Inherited from View)
RemoveCallbacks(Action) (Inherited from View)
RemoveCallbacks(IRunnable) (Inherited from View)
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)
RequestApplyInsets()

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

(Inherited from View)
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)

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)
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)
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() (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)
RequestRectangleOnScreen(Rect, Boolean)

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

(Inherited from View)
RequestUnbufferedDispatch(MotionEvent)

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

(Inherited from View)
ResolveAdjustedSize(Int32, Int32)
RestoreDefaultFocus() (Inherited from View)
RestoreHierarchyState(SparseArray) (Inherited from View)
Resume()
SaveHierarchyState(SparseArray) (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)
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)
SeekTo(Int32)
SendAccessibilityEvent(EventTypes)

Sends an accessibility event of the given type.

(Inherited from View)
SendAccessibilityEventUnchecked(AccessibilityEvent)

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

(Inherited from View)
SetAccessibilityDelegate(View+AccessibilityDelegate)

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

(Inherited from View)
SetAudioAttributes(AudioAttributes)
SetAudioFocusRequest(AudioFocus)
SetAutofillHints(String[]) (Inherited from View)
SetBackgroundColor(Color)

Sets the background color for this view.

(Inherited from View)
SetBackgroundDrawable(Drawable)
Obsolete.
(Inherited from View)
SetBackgroundResource(Int32)

Set the background to a given resource.

(Inherited from View)
SetCameraDistance(Single) (Inherited from View)
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) (Inherited from View)
SetFocusable(ViewFocusability) (Inherited from View)
SetForegroundGravity(GravityFlags) (Inherited from View)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetLayerPaint(Paint)

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

(Inherited from View)
SetLayerType(LayerType, Paint) (Inherited from View)
SetMeasuredDimension(Int32, Int32) (Inherited from View)
SetMediaController(MediaController)
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 SetOnApplyWindowInsetsListener(View+IOnApplyWindowInsetsListener) to take over the policy for applying window insets to this view.

(Inherited from View)
SetOnCapturedPointerListener(View+IOnCapturedPointerListener) (Inherited from View)
SetOnClickListener(View+IOnClickListener)

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

(Inherited from View)
SetOnCompletionListener(MediaPlayer+IOnCompletionListener)

Register a callback to be invoked when the end of a media file has been reached during playback.

SetOnContextClickListener(View+IOnContextClickListener) (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)
SetOnErrorListener(MediaPlayer+IOnErrorListener)

Register a callback to be invoked when an error occurs during playback or setup.

SetOnGenericMotionListener(View+IOnGenericMotionListener)

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

(Inherited from View)
SetOnHoverListener(View+IOnHoverListener)

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

(Inherited from View)
SetOnInfoListener(MediaPlayer+IOnInfoListener)

Register a callback to be invoked when an informational event occurs during playback or setup.

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)
SetOnPreparedListener(MediaPlayer+IOnPreparedListener)

Register a callback to be invoked when the media file is loaded and ready to go.

SetOnScrollChangeListener(View+IOnScrollChangeListener) (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)
SetPadding(Int32, Int32, Int32, Int32)

Sets the padding.

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

Sets the relative padding.

(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) (Inherited from View)
SetScrollIndicators(Int32, Int32) (Inherited from View)
SetSecure(Boolean)

Control whether the surface view's content should be treated as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays.

(Inherited from SurfaceView)
SetTag(Int32, Object)

Sets a tag associated with this view and a key.

(Inherited from View)
SetVideoPath(String)

Sets video path.

SetVideoURI(Uri)

Sets video URI.

SetVideoURI(Uri, IDictionary<String,String>)
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)
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)
SetZOrderMediaOverlay(Boolean)

Control whether the surface view's surface is placed on top of another regular surface view in the window (but still behind the window itself).

(Inherited from SurfaceView)
SetZOrderOnTop(Boolean)

Control whether the surface view's surface is placed on top of its window.

(Inherited from SurfaceView)
ShowContextMenu()

Bring up the context menu for this view.

(Inherited from View)
ShowContextMenu(Single, Single) (Inherited from View)
Start()
StartActionMode(ActionMode+ICallback)

Start an action mode with the default type Primary.

(Inherited from View)
StartActionMode(ActionMode+ICallback, ActionModeType) (Inherited from View)
StartAnimation(Animation)

Start the specified animation now.

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

Starts a drag and drop operation.

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

Begin a nestable scroll operation along the given axes.

(Inherited from View)
StopNestedScroll()

Stop a nested scroll in progress.

(Inherited from View)
StopPlayback()
Suspend()
ToArray<T>() (Inherited from Object)
ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
UnscheduleDrawable(Drawable)

Unschedule any events associated with the given Drawable.

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

Cancels a scheduled action on a drawable.

(Inherited from View)
UpdateDragShadow(View+DragShadowBuilder) (Inherited from View)
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 calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(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

CapturedPointer (Inherited from View)
Click (Inherited from View)
Completion
ContextClick (Inherited from View)
ContextMenuCreated (Inherited from View)
Drag (Inherited from View)
Error
FocusChange (Inherited from View)
GenericMotion (Inherited from View)
Hover (Inherited from View)
Info
KeyPress (Inherited from View)
LayoutChange (Inherited from View)
LongClick (Inherited from View)
Prepared
ScrollChange (Inherited from View)
SystemUiVisibilityChange (Inherited from View)
Touch (Inherited from View)
ViewAttachedToWindow (Inherited from View)
ViewDetachedFromWindow (Inherited from View)

Explicit Interface Implementations

IJavaObjectEx.IsProxy (Inherited from Object)
IJavaObjectEx.KeyHandle (Inherited from Object)
IJavaObjectEx.NeedsActivation (Inherited from Object)
IJavaObjectEx.ToLocalJniHandle() (Inherited from Object)
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