Android.Views.View: Method Members

The methods of Android.Views.View are listed below. For a list of all members, see the View Members list.

See Also: Inherited members from Java.Lang.Object

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.