Android.Views.View Members

The members of Android.Views.View are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Simple constructor to use when creating a view from code.
Constructor that is called when inflating a view from XML.
Perform inflation from XML and apply a class-specific base style from a theme attribute.
Perform inflation from XML and apply a class-specific base style from a theme attribute or style resource.

Protected Constructors

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

Public Fields

const
AccessibilityLiveRegionAssertiveAndroid.Views.AccessibilityLiveRegion (2). Live region mode specifying that accessibility services should interrupt ongoing speech to immediately announce changes to this view.
const
AccessibilityLiveRegionNoneAndroid.Views.AccessibilityLiveRegion (0). Live region mode specifying that accessibility services should not automatically announce changes to this view.
const
AccessibilityLiveRegionPoliteAndroid.Views.AccessibilityLiveRegion (1). Live region mode specifying that accessibility services should announce changes to this view.
const
FindViewsWithContentDescriptionAndroid.Views.FindViewsWith (2). Find find views that contain the specified content description.
const
ImportantForAccessibilityAutoAndroid.Views.ImportantForAccessibility (0). Automatically determine whether a view is important for accessibility.
const
ImportantForAccessibilityNoAndroid.Views.ImportantForAccessibility (2). The view is not important for accessibility.
const
ImportantForAccessibilityNoHideDescendantsAndroid.Views.ImportantForAccessibility (4). The view is not important for accessibility, nor are any of its descendant views.
const
ImportantForAccessibilityYesAndroid.Views.ImportantForAccessibility (1). The view is important for accessibility.
const
LayoutDirectionInheritAndroid.Views.LayoutDirection (2). Horizontal layout direction of this view is inherited from its parent.
const
LayoutDirectionLocaleAndroid.Views.LayoutDirection (3). Horizontal layout direction of this view is from deduced from the default language script for the locale.
const
LayoutDirectionLtrAndroid.Views.LayoutDirection (0). Horizontal layout direction of this view is from Left to Right.
const
LayoutDirectionRtlAndroid.Views.LayoutDirection (1). Horizontal layout direction of this view is from Right to Left.
const
MeasuredHeightStateShiftint (16). Bit shift of View.MeasuredStateMask to get to the height bits for functions that combine both width and height into a single int, such as View.MeasuredState and the childState argument of View.ResolveSizeAndState(int, System.Int32, System.Int32).
const
MeasuredSizeMaskint (16777215). Bits of View.MeasuredWidthAndState and View.MeasuredWidthAndState that provide the actual measured size.
const
MeasuredStateMaskint (-16777216). Bits of View.MeasuredWidthAndState and View.MeasuredWidthAndState that provide the additional state bits.
const
MeasuredStateTooSmallint (16777216). Bit of View.MeasuredWidthAndState and View.MeasuredWidthAndState that indicates the measured size is smaller that the space the view would like to have.
const
NoIdint (-1). Used to mark a View that has no ID.
const
OverScrollAlwaysAndroid.Views.OverScrollMode (0). Always allow a user to over-scroll this view, provided it is a view that can scroll.
const
OverScrollIfContentScrollsAndroid.Views.OverScrollMode (1). 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.
const
OverScrollNeverAndroid.Views.OverScrollMode (2). Never allow a user to over-scroll this view.
const
ScreenStateOffAndroid.Views.ScreenState (0). Indicates that the screen has changed state and is now off.
const
ScreenStateOnAndroid.Views.ScreenState (1). Indicates that the screen has changed state and is now on.
const
ScrollAxisHorizontalAndroid.Views.ScrollAxis (1). Indicates scrolling along the horizontal axis.
const
ScrollAxisNoneAndroid.Views.ScrollAxis (0). Indicates no axis of view scrolling.
const
ScrollAxisVerticalAndroid.Views.ScrollAxis (2). Indicates scrolling along the vertical axis.
const
SystemUiFlagFullscreenAndroid.Views.SystemUiFlags (4). Flag for View.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.
const
SystemUiFlagHideNavigationAndroid.Views.SystemUiFlags (2). Flag for View.SystemUiVisibility: View has requested that the system navigation be temporarily hidden.
const
SystemUiFlagImmersiveAndroid.Views.SystemUiFlags (2048). Flag for View.SystemUiVisibility: View would like to remain interactive when hiding the navigation bar with View.SystemUiFlagHideNavigation.
const
SystemUiFlagImmersiveStickyAndroid.Views.SystemUiFlags (4096). Flag for View.SystemUiVisibility: View would like to remain interactive when hiding the status bar with View.SystemUiFlagFullscreen and/or hiding the navigation bar with View.SystemUiFlagHideNavigation.
const
SystemUiFlagLayoutFullscreenAndroid.Views.SystemUiFlags (1024). Flag for View.SystemUiVisibility: View would like its window to be layed out as if it has requested View.SystemUiFlagFullscreen, even if it currently hasn't.
const
SystemUiFlagLayoutHideNavigationAndroid.Views.SystemUiFlags (512). Flag for View.SystemUiVisibility: View would like its window to be layed out as if it has requested View.SystemUiFlagHideNavigation, even if it currently hasn't.
const
SystemUiFlagLayoutStableAndroid.Views.SystemUiFlags (256). Flag for View.SystemUiVisibility: When using other layout flags, we would like a stable view of the content insets given to View.FitSystemWindows(Android.Graphics.Rect).
const
SystemUiFlagLowProfileAndroid.Views.SystemUiFlags (1). Flag for View.SystemUiVisibility: View has requested the system UI to enter an unobtrusive "low profile" mode.
const
SystemUiFlagVisibleAndroid.Views.SystemUiFlags (0). Special constant for View.SystemUiVisibility: View has requested the system UI (status bar) to be visible (the default).
const
SystemUiLayoutFlagsAndroid.Views.SystemUiFlags (1536). Flags that can impact the layout in relation to system UI.
const
TextAlignmentCenterAndroid.Views.TextAlignment (4). Center the paragraph, e.g.
const
TextAlignmentGravityAndroid.Views.TextAlignment (1). Default for the root view.
const
TextAlignmentInheritAndroid.Views.TextAlignment (0). Default text alignment.
const
TextAlignmentResolvedDefaultint (131072). Documentation for this section has not yet been entered.
const
TextAlignmentTextEndAndroid.Views.TextAlignment (3). Align to the end of the paragraph, e.g.
const
TextAlignmentTextStartAndroid.Views.TextAlignment (2). Align to the start of the paragraph, e.g.
const
TextAlignmentViewEndAndroid.Views.TextAlignment (6). Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved layoutDirection is LTR, and ALIGN_LEFT otherwise.
const
TextAlignmentViewStartAndroid.Views.TextAlignment (5). Align to the start of the view, which is ALIGN_LEFT if the view’s resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise.
const
TextDirectionAnyRtlAndroid.Views.TextDirection (2). Text direction is using "any-RTL" algorithm.
const
TextDirectionFirstStrongAndroid.Views.TextDirection (1). Text direction is using "first strong algorithm".
const
TextDirectionInheritAndroid.Views.TextDirection (0). Text direction is inherited thru Android.Views.ViewGroup
const
TextDirectionLocaleAndroid.Views.TextDirection (5). Text direction is coming from the system Locale.
const
TextDirectionLtrAndroid.Views.TextDirection (3). Text direction is forced to LTR.
const
TextDirectionRtlAndroid.Views.TextDirection (4). Text direction is forced to RTL.

Protected Fields

const
ViewLogTagstring. The logging tag used by this class with android.util.

Public Properties

AccessibilityLiveRegionAndroid.Views.AccessibilityLiveRegion. Gets the live region mode for this View.
[read-only]
AccessibilityNodeProviderAndroid.Views.Accessibility.AccessibilityNodeProvider. Gets the provider for managing a virtual view hierarchy rooted at this View and reported to Android.AccessibilityServices.AccessibilityServices that explore the window content.
Activatedbool. Indicates the activation state of this view.
Alphafloat. The opacity of the view.
AnimationAndroid.Views.Animations.Animation. Get the animation currently associated with this view.
[read-only]
ApplicationWindowTokenAndroid.OS.IBinder. Retrieve a unique token identifying the top-level "real" window of the window that this view is attached to.
ApplyWindowInsetsAndroid.Views.View.ApplyWindowInsetsHandler. Documentation for this section has not yet been entered.
BackgroundAndroid.Graphics.Drawables.Drawable. Gets the background drawable
BackgroundTintListAndroid.Content.Res.ColorStateList. Return the tint applied to the background drawable, if specified.
BackgroundTintModeAndroid.Graphics.PorterDuff.Mode. Return the blending mode used to apply the tint to the background drawable, if specified.
[read-only]
Baselineint.
Bottomint. Bottom position of this view relative to its parent.
[read-only]
CameraDistancefloat. Gets the distance along the Z axis from the camera to this view.
Clickablebool. Indicates whether this view reacts to click events or not.
ClipBoundsAndroid.Graphics.Rect. Returns a copy of the current View.ClipBounds.
ClipToOutlinebool. Returns whether the Outline should be used to clip the contents of the View.
ContentDescriptionstring. Documentation for this section has not yet been entered.
ContentDescriptionFormattedJava.Lang.ICharSequence. Gets the Android.Views.View description.
[read-only]
ContextAndroid.Content.Context. Returns the context the view is running in, through which it can access the current theme, resources, etc.
[read-only]
DisplayAndroid.Views.Display. Gets the logical display to which the view's window has been attached.
[read-only]
DrawingCacheAndroid.Graphics.Bitmap.
DrawingCacheBackgroundColorAndroid.Graphics.Color.
DrawingCacheEnabledbool.
DrawingCacheQualityAndroid.Views.DrawingCacheQuality. Returns the quality of the drawing cache.
[read-only]
DrawingTimelong.
DuplicateParentStateEnabledbool.
Elevationfloat. The base elevation of this view relative to its parent, in pixels.
Enabledbool. Returns the enabled status for this view.
FilterTouchesWhenObscuredbool. Gets whether the framework should discard touches when the view's window is obscured by another visible window.
[read-only]
FitsSystemWindowsbool. Check for state of View.SetFitsSystemWindows(bool).
Focusablebool. Returns whether this View is able to take focus.
FocusableInTouchModebool. When a view is focusable, it may not want to take focus when in touch mode.
[read-only]
HandlerAndroid.OS.Handler.
HapticFeedbackEnabledbool.
[read-only]
HasFocusbool. Returns true if this view has focus iteself, or is the ancestor of the view that has focus.
[read-only]
HasFocusablebool. Returns true if this view is focusable or if it contains a reachable View for which View.HasFocusable returns true.
[read-only]
HasNestedScrollingParentbool. Returns true if this view has a nested scrolling parent.
[read-only]
HasOnClickListenersbool. Return whether this view has an attached OnClickListener.
[read-only]
HasOverlappingRenderingbool. Returns whether this View has content which overlaps.
HasTransientStatebool. 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.
[read-only]
HasWindowFocusbool. Returns true if this view is in a window that currently has window focus.
[read-only]
Heightint. Return the height of your view.
HorizontalFadingEdgeEnabledbool.
[read-only]
HorizontalFadingEdgeLengthint. Returns the size of the horizontal faded edges used to indicate that more content in this view is visible.
HorizontalScrollBarEnabledbool.
Hoveredbool. Returns true if the view is currently hovered.
Idint. Returns this view's identifier.
ImportantForAccessibilityAndroid.Views.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.
[read-only]
IsAccessibilityFocusedbool. Returns whether this View is accessibility focused.
[read-only]
IsAttachedToWindowbool. Returns true if this view is currently attached to a window.
[read-only]
IsDirtybool. True if this view has changed since the last time being drawn.
[read-only]
IsFocusedbool. Returns true if this view has focus
[read-only]
IsHardwareAcceleratedbool.
[read-only]
IsImportantForAccessibilitybool. Computes whether this view should be exposed for accessibility.
[read-only]
IsInEditModebool. Indicates whether this View is currently in edit mode.
[read-only]
IsInLayoutbool. Returns whether the view hierarchy is currently undergoing a layout pass.
[read-only]
IsInTouchModebool. Returns whether the device is currently in touch mode.
[read-only]
IsLaidOutbool. Returns true if this view has been through at least one layout since it was last attached to or detached from a window.
[read-only]
IsLayoutDirectionResolvedbool.
[read-only]
IsLayoutRequestedbool.
[read-only]
IsOpaquebool. Indicates whether this View is opaque.
[read-only]
IsPaddingRelativebool. Return if the padding as been set thru relative values View.SetPaddingRelative(int, System.Int32, System.Int32, System.Int32) or thru
[read-only]
IsScrollContainerbool. Indicates whether this view is one of the set of scrollable containers in its window.
[read-only]
IsShownbool. Returns the visibility of this view and all of its ancestors
[read-only]
IsTextAlignmentResolvedbool.
[read-only]
IsTextDirectionResolvedbool.
KeepScreenOnbool. Returns whether the screen should remain on, corresponding to the current value of View.KEEP_SCREEN_ON.
[read-only]
KeyDispatcherStateAndroid.Views.KeyEvent.DispatcherState. Return the global NoType:android/view/KeyEvent$DispatcherState;Href=../../../reference/android/view/KeyEvent.DispatcherState.html for this view's window.
LabelForint. Gets the id of a view for which this view serves as a label for accessibility purposes.
[read-only]
LayerTypeAndroid.Views.LayerType. Indicates what type of layer is currently associated with this view.
LayoutDirectionAndroid.Views.LayoutDirection. Returns the resolved layout direction for this view.
LayoutParametersAndroid.Views.ViewGroup.LayoutParams. Get the LayoutParams associated with this view.
Leftint. Left position of this view relative to its parent.
LongClickablebool. Indicates whether this view reacts to long click events or not.
[read-only]
MatrixAndroid.Graphics.Matrix. The transform matrix of this view, which is calculated based on the current rotation, scale, and pivot properties.
[read-only]
MeasuredHeightint. Like View.MeasuredHeightAndState, but only returns the raw width component (that is the result is masked by View.MeasuredSizeMask).
[read-only]
MeasuredHeightAndStateint. Return the full height measurement information for this view as computed by the most recent call to View.Measure(int, System.Int32).
[read-only]
MeasuredStateint. Return only the state bits of View.MeasuredWidthAndState and View.MeasuredHeightAndState, combined into one integer.
[read-only]
MeasuredWidthint. Like View.MeasuredWidthAndState, but only returns the raw width component (that is the result is masked by View.MeasuredSizeMask).
[read-only]
MeasuredWidthAndStateint. Return the full width measurement information for this view as computed by the most recent call to View.Measure(int, System.Int32).
[read-only]
MinimumHeightint. Returns the minimum height of the view.
[read-only]
MinimumWidthint. Returns the minimum width of the view.
NestedScrollingEnabledbool. Returns true if nested scrolling is enabled for this view.
NextFocusDownIdint. Gets the id of the view to use when the next focus is View.FOCUS_DOWN.
NextFocusForwardIdint. Gets the id of the view to use when the next focus is View.FOCUS_FORWARD.
NextFocusLeftIdint. Gets the id of the view to use when the next focus is View.FOCUS_LEFT.
NextFocusRightIdint. Gets the id of the view to use when the next focus is View.FOCUS_RIGHT.
NextFocusUpIdint. Gets the id of the view to use when the next focus is View.FOCUS_UP.
OnFocusChangeListenerAndroid.Views.View.IOnFocusChangeListener. Returns the focus-change callback registered for this view.
OutlineProviderAndroid.Views.ViewOutlineProvider. Returns the current Android.Views.ViewOutlineProvider of the view, which generates the Outline that defines the shape of the shadow it casts, and enables outline clipping.
[read-only]
OverlayAndroid.Views.ViewOverlay. Returns the overlay for this view, creating it if it does not yet exist.
OverScrollModeAndroid.Views.OverScrollMode. Returns the over-scroll mode for this view.
[read-only]
PaddingBottomint. Returns the bottom padding of this view.
[read-only]
PaddingEndint. Returns the end padding of this view depending on its resolved layout direction.
[read-only]
PaddingLeftint. Returns the left padding of this view.
[read-only]
PaddingRightint. Returns the right padding of this view.
[read-only]
PaddingStartint. Returns the start padding of this view depending on its resolved layout direction.
[read-only]
PaddingTopint. Returns the top padding of this view.
[read-only]
ParentAndroid.Views.IViewParent. Gets the parent of this view.
[read-only]
ParentForAccessibilityAndroid.Views.IViewParent. Gets the parent for accessibility purposes.
PivotXfloat. The x location of the point around which the view is View.Rotation and View.ScaleX.
PivotYfloat. The y location of the point around which the view is View.Rotation and View.ScaleY.
Pressedbool. Indicates whether the view is currently in pressed state.
[read-only]
ResourcesAndroid.Content.Res.Resources. Returns the resources associated with this view.
Rightint. Right position of this view relative to its parent.
[read-only]
RootViewAndroid.Views.View.
Rotationfloat. The degrees that the view is rotated around the pivot point.
RotationXfloat. The degrees that the view is rotated around the horizontal axis through the pivot point.
RotationYfloat. The degrees that the view is rotated around the vertical axis through the pivot point.
SaveEnabledbool. Indicates whether this view will save its state (that is, whether its View.OnSaveInstanceState method will be called).
SaveFromParentEnabledbool. Indicates whether the entire hierarchy under this view will save its state when a state saving traversal occurs from its parent.
ScaleXfloat. The amount that the view is scaled in x around the pivot point, as a proportion of the view's unscaled width.
static
ScaleXsAndroid.Util.Property. A Property wrapper around the scaleX functionality handled by the View.ScaleX and View.ScaleX methods.
ScaleYfloat. The amount that the view is scaled in y around the pivot point, as a proportion of the view's unscaled height.
static
ScaleYsAndroid.Util.Property. A Property wrapper around the scaleY functionality handled by the View.ScaleY and View.ScaleY methods.
ScrollBarDefaultDelayBeforeFadeint. Returns the delay before scrollbars fade.
ScrollBarFadeDurationint. Returns the scrollbar fade duration.
ScrollbarFadingEnabledbool. Returns true if scrollbars will fade when this view is not scrolling
ScrollBarSizeint. Returns the scrollbar size.
ScrollBarStyleAndroid.Views.ScrollbarStyles.
ScrollXint. Return the scrolled left position of this view.
ScrollYint. Return the scrolled top position of this view.
Selectedbool. Indicates the selection state of this view.
[read-only]
SolidColorAndroid.Graphics.Color. Override this if your view is known to always be drawn on top of a solid color background, and needs to draw fading edges.
SoundEffectsEnabledbool.
StateListAnimatorAndroid.Animation.StateListAnimator. Returns the current StateListAnimator if exists.
SystemUiVisibilityAndroid.Views.StatusBarVisibility. Returns the last View.SystemUiVisibility that this view has requested.
TagJava.Lang.Object. Returns this view's tag.
TextAlignmentAndroid.Views.TextAlignment. Return the resolved text alignment.
TextDirectionAndroid.Views.TextDirection. Return the resolved text direction.
Topint. Top position of this view relative to its parent.
[read-only]
TouchablesIList<Android.Views.View>. Find and return all touchable views that are descendants of this view, possibly including this view if it is touchable itself.
TouchDelegateAndroid.Views.TouchDelegate. Gets the TouchDelegate for this View.
TransitionNamestring. Returns the name of the View to be used to identify Views in Transitions.
TranslationXfloat. The horizontal location of this view relative to its View.Left position.
TranslationYfloat. The vertical location of this view relative to its View.Top position.
TranslationZfloat. The depth location of this view relative to its View.Elevation.
VerticalFadingEdgeEnabledbool.
[read-only]
VerticalFadingEdgeLengthint. Returns the size of the vertical faded edges used to indicate that more content in this view is visible.
VerticalScrollBarEnabledbool.
VerticalScrollbarPositionAndroid.Views.ScrollbarPosition.
[read-only]
VerticalScrollbarWidthint. Returns the width of the vertical scrollbar.
[read-only]
ViewTreeObserverAndroid.Views.ViewTreeObserver. Returns the ViewTreeObserver for this view's hierarchy.
VisibilityAndroid.Views.ViewStates. Returns the visibility status for this view.
[read-only]
Widthint. Return the width of the your view.
[read-only]
WindowIdAndroid.Views.WindowId. Retrieve the Android.Views.WindowId for the window this view is currently attached to.
[read-only]
WindowSystemUiVisibilityAndroid.Views.SystemUiFlags. Returns the current system UI visibility that is currently set for the entire window.
[read-only]
WindowTokenAndroid.OS.IBinder. Retrieve a unique token identifying the window this view is attached to.
[read-only]
WindowVisibilityAndroid.Views.ViewStates. Returns the current visibility of the window this view is attached to (either View.GONE, View.INVISIBLE, or View.VISIBLE).
static
XAndroid.Util.Property. A Property wrapper around the x functionality handled by the View.SetX(float) and View.GetX methods.
static
YAndroid.Util.Property. A Property wrapper around the y functionality handled by the View.SetY(float) and View.GetY methods.
[read-only]
static
ZAndroid.Util.Property. A Property wrapper around the z functionality handled by the View.SetZ(float) and View.GetZ methods.

Protected Properties

[read-only]
BottomFadingEdgeStrengthfloat. Returns the strength, or intensity, of the bottom faded edge.
[read-only]
BottomPaddingOffsetint. Amount by which to extend the bottom fading region.
[read-only]
ContextMenuInfoAndroid.Views.IContextMenuContextMenuInfo. Views should implement this if they have extra information to associate with the context menu.
[read-only]
static
EmptyStateSetIList<int>. Indicates the view has no states set.
[read-only]
static
EnabledFocusedSelectedStateSetIList<int>. Indicates the view is enabled, focused and selected.
[read-only]
static
EnabledFocusedSelectedWindowFocusedStateSetIList<int>. Indicates the view is enabled, focused, selected and its window has the focus.
[read-only]
static
EnabledFocusedStateSetIList<int>. Indicates the view is enabled and has the focus.
[read-only]
static
EnabledFocusedWindowFocusedStateSetIList<int>. Indicates the view is enabled, focused and its window has the focus.
[read-only]
static
EnabledSelectedStateSetIList<int>. Indicates the view is enabled and selected.
[read-only]
static
EnabledSelectedWindowFocusedStateSetIList<int>. Indicates the view is enabled, selected and its window has the focus.
[read-only]
static
EnabledStateSetIList<int>. Indicates the view is enabled.
[read-only]
static
EnabledWindowFocusedStateSetIList<int>. Indicates the view is enabled and that its window has focus.
[read-only]
static
FocusedSelectedStateSetIList<int>. Indicates the view is focused and selected.
[read-only]
static
FocusedSelectedWindowFocusedStateSetIList<int>. Indicates the view is focused, selected and its window has the focus.
[read-only]
static
FocusedStateSetIList<int>. Indicates the view is focused.
[read-only]
static
FocusedWindowFocusedStateSetIList<int>. Indicates the view has the focus and that its window has the focus.
[read-only]
HorizontalScrollbarHeightint. Returns the height of the horizontal scrollbar.
[read-only]
IsPaddingOffsetRequiredbool. If the View draws content inside its padding and enables fading edges, it needs to support padding offsets.
[read-only]
LeftFadingEdgeStrengthfloat. Returns the strength, or intensity, of the left faded edge.
[read-only]
LeftPaddingOffsetint. Amount by which to extend the left fading region.
[read-only]
static
PressedEnabledFocusedSelectedStateSetIList<int>. Indicates the view is pressed, enabled, focused and selected.
[read-only]
static
PressedEnabledFocusedSelectedWindowFocusedStateSetIList<int>. Indicates the view is pressed, enabled, focused, selected and its window has the focus.
[read-only]
static
PressedEnabledFocusedStateSetIList<int>. Indicates the view is pressed, enabled and focused.
[read-only]
static
PressedEnabledFocusedWindowFocusedStateSetIList<int>. Indicates the view is pressed, enabled, focused and its window has the focus.
[read-only]
static
PressedEnabledSelectedStateSetIList<int>. Indicates the view is pressed, enabled and selected.
[read-only]
static
PressedEnabledSelectedWindowFocusedStateSetIList<int>. Indicates the view is pressed, enabled, selected and its window has the focus.
[read-only]
static
PressedEnabledStateSetIList<int>. Indicates the view is pressed and enabled.
[read-only]
static
PressedEnabledWindowFocusedStateSetIList<int>. Indicates the view is pressed, enabled and its window has the focus.
[read-only]
static
PressedFocusedSelectedStateSetIList<int>. Indicates the view is pressed, focused and selected.
[read-only]
static
PressedFocusedSelectedWindowFocusedStateSetIList<int>. Indicates the view is pressed, focused, selected and its window has the focus.
[read-only]
static
PressedFocusedStateSetIList<int>. Indicates the view is pressed and focused.
[read-only]
static
PressedFocusedWindowFocusedStateSetIList<int>. Indicates the view is pressed, focused and its window has the focus.
[read-only]
static
PressedSelectedStateSetIList<int>. Indicates the view is pressed and selected.
[read-only]
static
PressedSelectedWindowFocusedStateSetIList<int>. Indicates the view is pressed, selected and its window has the focus.
[read-only]
static
PressedStateSetIList<int>. Indicates the view is pressed.
[read-only]
static
PressedWindowFocusedStateSetIList<int>. Indicates the view is pressed and its window has the focus.
[read-only]
RightFadingEdgeStrengthfloat. Returns the strength, or intensity, of the right faded edge.
[read-only]
RightPaddingOffsetint. Amount by which to extend the right fading region.
[read-only]
static
SelectedStateSetIList<int>. Indicates the view is selected.
[read-only]
static
SelectedWindowFocusedStateSetIList<int>. Indicates the view is selected and that its window has the focus.
[read-only]
SuggestedMinimumHeightint. Returns the suggested minimum height that the view should use.
[read-only]
SuggestedMinimumWidthint. Returns the suggested minimum width that the view should use.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
TopFadingEdgeStrengthfloat. Returns the strength, or intensity, of the top faded edge.
[read-only]
TopPaddingOffsetint. Amount by which to extend the top fading region.
[read-only]
WindowAttachCountint.
[read-only]
static
WindowFocusedStateSetIList<int>. Indicates the view's window has focus.

Public Methods

AddChildrenForAccessibility(IList<Android.Views.View>)
Documentation for this section has not yet been entered.
AddFocusables(IList<Android.Views.View>, Android.Views.FocusSearchDirection)
Documentation for this section has not yet been entered.
AddFocusables(IList<Android.Views.View>, Android.Views.FocusSearchDirection, Android.Views.FocusablesFlags)
Documentation for this section has not yet been entered.
AddOnAttachStateChangeListener(Android.Views.View.IOnAttachStateChangeListener)
Add a listener for attach state changes.
AddOnLayoutChangeListener(Android.Views.View.IOnLayoutChangeListener)
Add a listener that will be called when the bounds of the view change due to layout processing.
AddTouchables(IList<Android.Views.View>)
Documentation for this section has not yet been entered.
Animate() : Android.Views.ViewPropertyAnimator
This method returns a ViewPropertyAnimator object, which can be used to animate specific properties on this View.
AnnounceForAccessibility(Java.Lang.ICharSequence)
Convenience method for sending a Android.Views.Accessibility.AccessibilityEvent.TYPE_ANNOUNCEMENTAndroid.Views.Accessibility.AccessibilityEvent to make an announcement which is related to some sort of a context change for which none of the events representing UI transitions is a good fit.
AnnounceForAccessibility(string)
Documentation for this section has not yet been entered.
BringToFront()
Change the view's z order in the tree, so it's on top of other sibling views.
BuildDrawingCache()
BuildDrawingCache(bool)
BuildLayer()
Forces this view's layer to be created and this view to be rendered into its layer.
CallOnClick() : bool
Directly call any attached OnClickListener.
CancelLongPress()
Cancels a pending long press.
CancelPendingInputEvents()
Cancel any deferred high-level input events that were previously posted to the event queue.
CanResolveLayoutDirection() : bool
Check if layout direction resolution can be done.
CanResolveTextAlignment() : bool
Check if text alignment resolution can be done.
CanResolveTextDirection() : bool
Check if text direction resolution can be done.
CanScrollHorizontally(Android.Views.FocusSearchDirection) : bool
Check if this view can be scrolled horizontally in a certain direction.
CanScrollHorizontally(int) : bool
Check if this view can be scrolled horizontally in a certain direction.
CanScrollVertically(Android.Views.FocusSearchDirection) : bool
Check if this view can be scrolled vertically in a certain direction.
CanScrollVertically(int) : bool
Check if this view can be scrolled vertically in a certain direction.
CheckInputConnectionProxy(Android.Views.View) : bool
Called by the Android.Views.InputMethods.InputMethodManager when a view who is not the current input connection target is trying to make a call on the manager.
ClearAnimation()
Cancels any animations for this view.
ClearFocus()
Called when this view wants to give up focus.
static
CombineMeasuredStates(int, int) : int
Merge two states as returned by View.MeasuredState.
ComputeScroll()
Called by a parent to request that a child update its values for mScrollX and mScrollY if necessary.
ComputeSystemWindowInsets(Android.Views.WindowInsets, Android.Graphics.Rect) : Android.Views.WindowInsets
Compute insets that should be consumed by this view and the ones that should propagate to those under it.
CreateAccessibilityNodeInfo() : Android.Views.Accessibility.AccessibilityNodeInfo
Returns an Android.Views.Accessibility.AccessibilityNodeInfo representing this view from the point of view of an Android.AccessibilityServices.AccessibilityService.
CreateContextMenu(Android.Views.IContextMenu)
Show the context menu for this view.
DestroyDrawingCache()
DispatchApplyWindowInsets(Android.Views.WindowInsets) : Android.Views.WindowInsets
Request to apply the given window insets to this view or another view in its subtree.
DispatchConfigurationChanged(Android.Content.Res.Configuration)
Dispatch a notification about a resource configuration change down the view hierarchy.
DispatchDisplayHint(Android.Views.ViewStates)
Dispatch a hint about whether this view is displayed.
DispatchDragEvent(Android.Views.DragEvent) : bool
Detects if this View is enabled and has a drag event listener.
DispatchGenericMotionEvent(Android.Views.MotionEvent) : bool
Dispatch a generic motion event.
DispatchKeyEvent(Android.Views.KeyEvent) : bool
Dispatch a key event to the next view on the focus path.
DispatchKeyEventPreIme(Android.Views.KeyEvent) : bool
Dispatch a key event before it is processed by any input method associated with the view hierarchy.
DispatchKeyShortcutEvent(Android.Views.KeyEvent) : bool
Dispatches a key shortcut event.
DispatchNestedFling(float, float, bool) : bool
Dispatch a fling to a nested scrolling parent.
DispatchNestedPreFling(float, float) : bool
Dispatch a fling to a nested scrolling parent before it is processed by this view.
DispatchNestedPreScroll(int, int, int[], int[]) : bool
Dispatch one step of a nested scroll in progress before this view consumes any portion of it.
DispatchNestedScroll(int, int, int, int, int[]) : bool
Dispatch one step of a nested scroll in progress.
DispatchPopulateAccessibilityEvent(Android.Views.Accessibility.AccessibilityEvent) : bool
Dispatches an Android.Views.Accessibility.AccessibilityEvent to the Android.Views.View first and then to its children for adding their text content to the event.
DispatchSystemUiVisibilityChanged(Android.Views.SystemUiFlags)
Dispatch callbacks to View.SetOnSystemUiVisibilityChangeListener(.IOnSystemUiVisibilityChangeListener) down the view hierarchy.
DispatchSystemUiVisibilityChanged(int)
Documentation for this section has not yet been entered.
DispatchTouchEvent(Android.Views.MotionEvent) : bool
Pass the touch screen motion event down to the target view, or this view if it is the target.
DispatchTrackballEvent(Android.Views.MotionEvent) : bool
Pass a trackball motion event down to the focused view.
DispatchUnhandledMove(Android.Views.View, Android.Views.FocusSearchDirection) : bool
This method is the last chance for the focused view and its ancestors to respond to an arrow key.
DispatchWindowFocusChanged(bool)
Called when the window containing this view gains or loses window focus.
DispatchWindowSystemUiVisiblityChanged(Android.Views.SystemUiFlags)
Dispatch callbacks to View.OnWindowSystemUiVisibilityChanged(SystemUiFlags) down the view hierarchy.
DispatchWindowVisibilityChanged(Android.Views.ViewStates)
Dispatch a window visibility change down the view hierarchy.
Draw(Android.Graphics.Canvas)
Manually render this view (and all of its children) to the given Canvas.
DrawableHotspotChanged(float, float)
This function is called whenever the view hotspot changes and needs to be propagated to drawables managed by the view.
FindFocus() : Android.Views.View
Find the view in the hierarchy rooted at this view that currently has focus.
FindViewById(int) : Android.Views.View
Look for a child view with the given id.
FindViewById<T>(int) : T
Documentation for this section has not yet been entered.
FindViewsWithText(IList<Android.Views.View>, Java.Lang.ICharSequence, Android.Views.FindViewsWith)
Documentation for this section has not yet been entered.
FindViewsWithText(IList<Android.Views.View>, string, Android.Views.FindViewsWith)
Documentation for this section has not yet been entered.
FindViewWithTag(Java.Lang.Object) : Android.Views.View
Look for a child view with the given tag.
FocusSearch(Android.Views.FocusSearchDirection) : Android.Views.View
Find the nearest view in the specified direction that can take focus.
ForceLayout()
Forces this view to be laid out during the next layout pass.
static
GenerateViewId() : int
Generate a value suitable for use in View.Id.
static
GetDefaultSize(int, int) : int
Utility to return a default size.
GetDrawableState() : int[]
Return an array of resource IDs of the drawable states representing the current state of the view.
GetDrawingCache(bool) : Android.Graphics.Bitmap
GetDrawingRect(Android.Graphics.Rect)
Return the visible drawing bounds of your view.
GetFocusables(Android.Views.FocusSearchDirection) : IList<Android.Views.View>
Find and return all focusable views that are descendants of this view, possibly including this view if it is focusable itself.
GetFocusedRect(Android.Graphics.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.
GetGlobalVisibleRect(Android.Graphics.Rect) : bool
GetGlobalVisibleRect(Android.Graphics.Rect, Android.Graphics.Point) : bool
If some part of this view is not clipped by any of its parents, then return that area in r in global (root) coordinates.
GetHitRect(Android.Graphics.Rect)
Hit rectangle in parent's coordinates
GetLocalVisibleRect(Android.Graphics.Rect) : bool
GetLocationInWindow(int[])
GetLocationOnScreen(int[])
GetTag(int) : Java.Lang.Object
Returns the tag associated with this view and the specified key.
GetWindowVisibleDisplayFrame(Android.Graphics.Rect)
Retrieve the overall visible display size in which the window this view is attached to has been positioned in.
GetX() : float
The visual x position of this view, in pixels.
GetY() : float
The visual y position of this view, in pixels.
GetZ() : float
The visual z position of this view, in pixels.
static
Inflate(Android.Content.Context, int, Android.Views.ViewGroup) : Android.Views.View
Inflate a view from an XML resource.
Invalidate()
Invalidate the whole view.
Invalidate(Android.Graphics.Rect)
Mark the area defined by dirty as needing to be drawn.
Invalidate(int, int, int, int)
Mark the area defined by the rect (l,t,r,b) as needing to be drawn.
InvalidateDrawable(Android.Graphics.Drawables.Drawable)
Invalidates the specified Drawable.
InvalidateOutline()
Called to rebuild this View's Outline from its Android.Views.ViewOutlineProvider
InvokeFitsSystemWindows() : bool
Documentation for this section has not yet been entered.
JumpDrawablesToCurrentState()
Call Android.Graphics.Drawables.Drawable.JumpToCurrentState on all Drawable objects associated with this view.
Layout(int, int, int, int)
Assign a size and position to a view and all of its descendants
Measure(int, int)
OffsetLeftAndRight(int)
Offset this view's horizontal location by the specified amount of pixels.
OffsetTopAndBottom(int)
Offset this view's vertical location by the specified number of pixels.
OnApplyWindowInsets(Android.Views.WindowInsets) : Android.Views.WindowInsets
Called when the view should apply Android.Views.WindowInsets according to its internal policy.
OnCancelPendingInputEvents()
Called as the result of a call to View.CancelPendingInputEvents on this view or a parent view.
OnCheckIsTextEditor() : bool
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.
OnCreateInputConnection(Android.Views.InputMethods.EditorInfo) : Android.Views.InputMethods.IInputConnection
Create a new InputConnection for an InputMethod to interact with the view.
OnDragEvent(Android.Views.DragEvent) : bool
Handles drag events sent by the system following a call to View.StartDrag(Android.Content.ClipData, .DragShadowBuilder, .DragShadowBuilder, .DragShadowBuilder).
OnFilterTouchEventForSecurity(Android.Views.MotionEvent) : bool
Filter the touch event to apply security policies.
OnFinishTemporaryDetach()
Called after View.OnStartTemporaryDetach when the container is done changing the view.
OnGenericMotionEvent(Android.Views.MotionEvent) : bool
Implement this method to handle generic motion events.
OnHoverChanged(bool)
Implement this method to handle hover state changes.
OnHoverEvent(Android.Views.MotionEvent) : bool
Implement this method to handle hover events.
OnInitializeAccessibilityEvent(Android.Views.Accessibility.AccessibilityEvent)
Initializes an Android.Views.Accessibility.AccessibilityEvent with information about this View which is the event source.
OnInitializeAccessibilityNodeInfo(Android.Views.Accessibility.AccessibilityNodeInfo)
Initializes an Android.Views.Accessibility.AccessibilityNodeInfo with information about this view.
OnKeyDown(Android.Views.Keycode, Android.Views.KeyEvent) : bool
Default implementation of NoType:android/view/KeyEvent$Callback;Href=../../../reference/android/view/KeyEvent.Callback.html#onKeyDown(int, android.view.KeyEvent): perform press of the view when KeyEvent.KEYCODE_DPAD_CENTER or KeyEvent.KEYCODE_ENTER is released, if the view is enabled and clickable.
OnKeyLongPress(Android.Views.Keycode, Android.Views.KeyEvent) : bool
Default implementation of NoType:android/view/KeyEvent$Callback;Href=../../../reference/android/view/KeyEvent.Callback.html#onKeyLongPress(int, android.view.KeyEvent): always returns false (doesn't handle the event).
OnKeyMultiple(Android.Views.Keycode, int, Android.Views.KeyEvent) : bool
Default implementation of NoType:android/view/KeyEvent$Callback;Href=../../../reference/android/view/KeyEvent.Callback.html#onKeyMultiple(int, int, android.view.KeyEvent): always returns false (doesn't handle the event).
OnKeyPreIme(Android.Views.Keycode, Android.Views.KeyEvent) : bool
Handle a key event before it is processed by any input method associated with the view hierarchy.
OnKeyShortcut(Android.Views.Keycode, Android.Views.KeyEvent) : bool
Called on the focused view when a key shortcut event is not handled.
OnKeyUp(Android.Views.Keycode, Android.Views.KeyEvent) : bool
Default implementation of NoType:android/view/KeyEvent$Callback;Href=../../../reference/android/view/KeyEvent.Callback.html#onKeyUp(int, android.view.KeyEvent): perform clicking of the view when KeyEvent.KEYCODE_DPAD_CENTER or KeyEvent.KEYCODE_ENTER is released.
OnPopulateAccessibilityEvent(Android.Views.Accessibility.AccessibilityEvent)
Called from View.DispatchPopulateAccessibilityEvent(Android.Views.Accessibility.AccessibilityEvent) giving a chance to this View to populate the accessibility event with its text content.
OnRtlPropertiesChanged(Android.Views.LayoutDirection)
Called when any RTL property (layout direction or text direction or text alignment) has been changed.
OnScreenStateChanged(Android.Views.ScreenState)
This method is called whenever the state of the screen this view is attached to changes.
OnStartTemporaryDetach()
This is called when a container is going to temporarily detach a child, with ViewGroup.DetachViewFromParent(View).
OnTouchEvent(Android.Views.MotionEvent) : bool
Implement this method to handle touch screen motion events.
OnTrackballEvent(Android.Views.MotionEvent) : bool
Implement this method to handle trackball motion events.
OnWindowFocusChanged(bool)
Called when the window containing this view gains or loses focus.
OnWindowSystemUiVisibilityChanged(Android.Views.SystemUiFlags)
Override to find out when the window's requested system UI visibility has changed, that is the value returned by View.WindowSystemUiVisibility.
PerformAccessibilityAction(Android.AccessibilityServices.GlobalAction, Android.OS.Bundle) : bool
Performs the specified accessibility action on the view.
PerformClick() : bool
Call this view's OnClickListener, if it is defined.
PerformHapticFeedback(Android.Views.FeedbackConstants) : bool
BZZZTT!!1!
PerformHapticFeedback(Android.Views.FeedbackConstants, Android.Views.FeedbackFlags) : bool
BZZZTT!!1!
PerformLongClick() : bool
Call this view's OnLongClickListener, if it is defined.
PlaySoundEffect(Android.Views.SoundEffects)
Play a sound effect for this view.
Post(Java.Lang.IRunnable) : bool
Post(Action) : bool
Documentation for this section has not yet been entered.
PostDelayed(Java.Lang.IRunnable, long) : bool
PostDelayed(Action, long) : bool
Documentation for this section has not yet been entered.
PostInvalidate()
PostInvalidate(int, int, int, int)
PostInvalidateDelayed(long)
PostInvalidateDelayed(long, int, int, int, int)
PostInvalidateOnAnimation()
PostInvalidateOnAnimation(int, int, int, int)
PostOnAnimation(Java.Lang.IRunnable)
PostOnAnimationDelayed(Java.Lang.IRunnable, long)
RefreshDrawableState()
Call this to force a view to update its drawable state.
RemoveCallbacks(Java.Lang.IRunnable) : bool
RemoveCallbacks(Action) : bool
Documentation for this section has not yet been entered.
RemoveOnAttachStateChangeListener(Android.Views.View.IOnAttachStateChangeListener)
Remove a listener for attach state changes.
RemoveOnLayoutChangeListener(Android.Views.View.IOnLayoutChangeListener)
Remove a listener for layout changes.
RequestApplyInsets()
Ask that a new dispatch of View.OnApplyWindowInsets(WindowInsets) be performed.
RequestFitSystemWindows()
Ask that a new dispatch of View.FitSystemWindows(Android.Graphics.Rect) be performed.
RequestFocus() : bool
Call this to try to give focus to a specific view or to one of its descendants.
RequestFocus(Android.Views.FocusSearchDirection) : bool
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.
RequestFocus(Android.Views.FocusSearchDirection, Android.Graphics.Rect) : bool
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.
RequestFocusFromTouch() : bool
Call this to try to give focus to a specific view or to one of its descendants.
RequestLayout()
Call this when something has changed which has invalidated the layout of this view.
RequestRectangleOnScreen(Android.Graphics.Rect) : bool
Request that a rectangle of this view be visible on the screen, scrolling if necessary just enough.
RequestRectangleOnScreen(Android.Graphics.Rect, bool) : bool
Request that a rectangle of this view be visible on the screen, scrolling if necessary just enough.
RequestUnbufferedDispatch(Android.Views.MotionEvent)
Request unbuffered dispatch of the given stream of MotionEvents to this View.
static
ResolveSize(int, int) : int
Version of View.ResolveSizeAndState(int, System.Int32, System.Int32) returning only the View.MeasuredSizeMask bits of the result.
static
ResolveSizeAndState(int, int, int) : int
Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec.
RestoreHierarchyState(Android.Util.SparseArray)
Documentation for this section has not yet been entered.
SaveHierarchyState(Android.Util.SparseArray)
Documentation for this section has not yet been entered.
ScheduleDrawable(Android.Graphics.Drawables.Drawable, Java.Lang.IRunnable, long)
Schedules an action on a drawable to occur at a specified time.
ScheduleDrawable(Android.Graphics.Drawables.Drawable, Action, long)
Documentation for this section has not yet been entered.
ScrollBy(int, int)
Move the scrolled position of your view.
ScrollTo(int, int)
Set the scrolled position of your view.
SendAccessibilityEvent(Android.Views.Accessibility.EventTypes)
Sends an accessibility event of the given type.
SendAccessibilityEventUnchecked(Android.Views.Accessibility.AccessibilityEvent)
This method behaves exactly as View.SendAccessibilityEvent(Android.Views.Accessibility.EventTypes) but takes as an argument an empty Android.Views.Accessibility.AccessibilityEvent and does not perform a check whether accessibility is enabled.
SetAccessibilityDelegate(Android.Views.View.AccessibilityDelegate)
Sets a delegate for implementing accessibility support via composition as opposed to inheritance.
SetBackgroundColor(Android.Graphics.Color)
Sets the background color for this view.
SetBackgroundDrawable(Android.Graphics.Drawables.Drawable)
SetBackgroundResource(int)
Set the background to a given resource.
SetCameraDistance(float)

java Example

 float scale = context.getResources().getDisplayMetrics().density;
 view.setCameraDistance(distance * scale);
 
SetFadingEdgeLength(int)
Set the size of the faded edge used to indicate that more content in this view is available.
SetFitsSystemWindows(bool)
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 View.FitSystemWindows(Android.Graphics.Rect) will be executed.
SetLayerPaint(Android.Graphics.Paint)
Updates the Android.Graphics.Paint object used with the current layer (used only if the current layer type is not set to View.LAYER_TYPE_NONE).
SetLayerType(Android.Views.LayerType, Android.Graphics.Paint)
SetMinimumHeight(int)
Sets the minimum height of the view.
SetMinimumWidth(int)
Sets the minimum width of the view.
SetOnApplyWindowInsetsListener(Android.Views.View.IOnApplyWindowInsetsListener)
Set an NoType:android/view/View$OnApplyWindowInsetsListener;Href=../../../reference/android/view/View.OnApplyWindowInsetsListener.html to take over the policy for applying window insets to this view.
SetOnClickListener(Android.Views.View.IOnClickListener)
Register a callback to be invoked when this view is clicked.
SetOnCreateContextMenuListener(Android.Views.View.IOnCreateContextMenuListener)
Register a callback to be invoked when the context menu for this view is being built.
SetOnDragListener(Android.Views.View.IOnDragListener)
Register a drag event listener callback object for this View.
SetOnGenericMotionListener(Android.Views.View.IOnGenericMotionListener)
Register a callback to be invoked when a generic motion event is sent to this view.
SetOnHoverListener(Android.Views.View.IOnHoverListener)
Register a callback to be invoked when a hover event is sent to this view.
SetOnKeyListener(Android.Views.View.IOnKeyListener)
Register a callback to be invoked when a hardware key is pressed in this view.
SetOnLongClickListener(Android.Views.View.IOnLongClickListener)
Register a callback to be invoked when this view is clicked and held.
SetOnSystemUiVisibilityChangeListener(Android.Views.View.IOnSystemUiVisibilityChangeListener)
Set a listener to receive callbacks when the visibility of the system bar changes.
SetOnTouchListener(Android.Views.View.IOnTouchListener)
Register a callback to be invoked when a touch event is sent to this view.
SetPadding(int, int, int, int)
Sets the padding.
SetPaddingRelative(int, int, int, int)
Sets the relative padding.
SetScrollContainer(bool)
Change whether this view is one of the set of scrollable containers in its window.
SetTag(int, Java.Lang.Object)
Sets a tag associated with this view and a key.
SetWillNotCacheDrawing(bool)
When a View's drawing cache is enabled, drawing is redirected to an offscreen bitmap.
SetWillNotDraw(bool)
If this view doesn't do any drawing on its own, set this flag to allow further optimizations.
SetX(float)
Sets the visual x position of this view, in pixels.
SetY(float)
Sets the visual y position of this view, in pixels.
SetZ(float)
Sets the visual z position of this view, in pixels.
ShowContextMenu() : bool
Bring up the context menu for this view.
StartActionMode(Android.Views.ActionMode.ICallback) : Android.Views.ActionMode
Start an action mode.
StartAnimation(Android.Views.Animations.Animation)
Start the specified animation now.
StartDrag(Android.Content.ClipData, Android.Views.View.DragShadowBuilder, Java.Lang.Object, int) : bool
Starts a drag and drop operation.
StartNestedScroll(Android.Views.ScrollAxis) : bool
Begin a nestable scroll operation along the given axes.
StopNestedScroll()
Stop a nested scroll in progress.
UnscheduleDrawable(Android.Graphics.Drawables.Drawable)
Unschedule any events associated with the given Drawable.
UnscheduleDrawable(Android.Graphics.Drawables.Drawable, Java.Lang.IRunnable)
Cancels a scheduled action on a drawable.
UnscheduleDrawable(Android.Graphics.Drawables.Drawable, Action)
Documentation for this section has not yet been entered.
WillNotCacheDrawing() : bool
Returns whether or not this View can cache its drawing or not.
WillNotDraw() : bool
Returns whether or not this View draws on its own.

Protected Methods

AwakenScrollBars() : bool
AwakenScrollBars(int) : bool
AwakenScrollBars(int, bool) : bool
ComputeHorizontalScrollExtent() : int
ComputeHorizontalScrollOffset() : int
ComputeHorizontalScrollRange() : int
ComputeVerticalScrollExtent() : int
ComputeVerticalScrollOffset() : int
ComputeVerticalScrollRange() : int
DispatchDraw(Android.Graphics.Canvas)
Called by draw to draw the child views.
DispatchGenericFocusedEvent(Android.Views.MotionEvent) : bool
Dispatch a generic motion event to the currently focused view.
DispatchGenericPointerEvent(Android.Views.MotionEvent) : bool
Dispatch a generic motion event to the view under the first pointer.
DispatchHoverEvent(Android.Views.MotionEvent) : bool
Dispatch a hover event.
DispatchRestoreInstanceState(Android.Util.SparseArray)
Documentation for this section has not yet been entered.
DispatchSaveInstanceState(Android.Util.SparseArray)
Documentation for this section has not yet been entered.
DispatchSetActivated(bool)
Dispatch setActivated to all of this View's children.
DispatchSetPressed(bool)
Dispatch setPressed to all of this View's children.
DispatchSetSelected(bool)
Dispatch setSelected to all of this View's children.
DispatchVisibilityChanged(Android.Views.View, Android.Views.ViewStates)
Dispatch a view visibility change down the view hierarchy.
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.
FitSystemWindows(Android.Graphics.Rect) : bool
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.
InitializeFadingEdge(Android.Content.Res.TypedArray)
InitializeScrollbars(Android.Content.Res.TypedArray)
static
MergeDrawableStates(int[], int[]) : int[]
Merge your own state values in additionalState into the base state values baseState that were returned by View.OnCreateDrawableState(int).
OnAnimationEnd()
Invoked by a parent ViewGroup to notify the end of the animation currently associated with this view.
OnAnimationStart()
Invoked by a parent ViewGroup to notify the start of the animation currently associated with this view.
OnAttachedToWindow()
This is called when the view is attached to a window.
OnConfigurationChanged(Android.Content.Res.Configuration)
Called when the current configuration of the resources being used by the application have changed.
OnCreateContextMenu(Android.Views.IContextMenu)
Views should implement this if the view itself is going to add items to the context menu.
OnCreateDrawableState(int) : int[]
Generate the new Android.Graphics.Drawables.Drawable state for this view.
OnDetachedFromWindow()
This is called when the view is detached from a window.
OnDisplayHint(int)
Gives this view a hint about whether is displayed or not.
OnDraw(Android.Graphics.Canvas)
Implement this to do your drawing.
OnDrawScrollBars(Android.Graphics.Canvas)
OnFinishInflate()
Finalize inflating a view from XML.
OnFocusChanged(bool, Android.Views.FocusSearchDirection, Android.Graphics.Rect)
Called by the view system when the focus state of this view changes.
OnLayout(bool, int, int, int, int)
Called from layout when this view should assign a size and position to each of its children.
OnMeasure(int, int)
OnOverScrolled(int, int, bool, bool)
Called by View.OverScrollBy(int, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32) to respond to the results of an over-scroll operation.
OnRestoreInstanceState(Android.OS.IParcelable)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by View.OnSaveInstanceState.
OnSaveInstanceState() : Android.OS.IParcelable
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.
OnScrollChanged(int, int, int, int)
This is called in response to an internal scroll in this view (i.e., the view scrolled its own contents).
OnSetAlpha(int) : bool
Invoked if there is a Transform that involves alpha.
OnSizeChanged(int, int, int, int)
This is called during layout when the size of this view has changed.
OnVisibilityChanged(Android.Views.View, Android.Views.ViewStates)
Called when the visibility of the view or an ancestor of the view is changed.
OnWindowVisibilityChanged(Android.Views.ViewStates)
Called when the window containing has change its visibility (between View.GONE, View.INVISIBLE, and View.VISIBLE).
OverScrollBy(int, int, int, int, int, int, int, int, bool) : bool
Scroll the view with standard behavior for scrolling beyond the normal content boundaries.
SetMeasuredDimension(int, int)
VerifyDrawable(Android.Graphics.Drawables.Drawable) : bool
If your view subclass is displaying its own Drawable objects, it should override this function and return true for any Drawable it is displaying.

Public Events

ClickDocumentation for this section has not yet been entered.
ContextMenuCreatedDocumentation for this section has not yet been entered.
DragDocumentation for this section has not yet been entered.
FocusChangeDocumentation for this section has not yet been entered.
GenericMotionDocumentation for this section has not yet been entered.
HoverDocumentation for this section has not yet been entered.
KeyPressDocumentation for this section has not yet been entered.
LayoutChangeDocumentation for this section has not yet been entered.
LongClickDocumentation for this section has not yet been entered.
SystemUiVisibilityChangeDocumentation for this section has not yet been entered.
TouchDocumentation for this section has not yet been entered.
ViewAttachedToWindowDocumentation for this section has not yet been entered.
ViewDetachedFromWindowDocumentation for this section has not yet been entered.