Android.Views Namespace

Classes

AbsSavedState

A Parcelable implementation that should be used by inheritance hierarchies to ensure the state of all classes along the chain is saved.

AbsSavedState.InterfaceConsts
ActionMode

Represents a contextual mode of the user interface.

ActionMode.Callback2
ActionProvider

An ActionProvider defines rich menu interaction in a single component.

ActionProvider.VisibilityEventArgs

Provides data for the Visibility event.

Choreographer

Coordinates the timing of animations, input and drawing.

ContextThemeWrapper

A ContextWrapper that allows you to modify the theme from what is in the wrapped context.

Display

Provides information about the size and density of a logical display.

Display.HdrCapabilities
Display.HdrCapabilities.InterfaceConsts
Display.Mode
Display.Mode.InterfaceConsts
DragAndDropPermissions
DragAndDropPermissions.InterfaceConsts
DragEvent

Represents an event that is sent out by the system at various times during a drag and drop operation.

DragEvent.InterfaceConsts
FocusFinder

The algorithm used for finding the next focusable view in a given direction from a view that currently has focus.

FrameMetrics
FrameStats

This is the base class for frame statistics.

GestureDetector

Detects various gestures and events using the supplied MotionEvents.

GestureDetector.ContextClickEventArgs
GestureDetector.DoubleTapEventArgs

Provides data for the DoubleTap event.

GestureDetector.DoubleTapEventEventArgs

Provides data for the DoubleTapEvent event.

GestureDetector.DownEventArgs
GestureDetector.FlingEventArgs
GestureDetector.LongPressEventArgs
GestureDetector.ScrollEventArgs
GestureDetector.ShowPressEventArgs
GestureDetector.SimpleOnGestureListener

A convenience class to extend when you only want to listen for a subset of all the gestures.

GestureDetector.SingleTapConfirmedEventArgs

Provides data for the SingleTapConfirmed event.

GestureDetector.SingleTapUpEventArgs
Gravity

Standard constants and tools for placing an object within a potentially larger container.

HapticFeedbackConstants

Constants to be used to perform haptic feedback effects via PerformHapticFeedback(FeedbackConstants)

IContextMenuExtensions
IMenuExtensions
IMenuItemExtensions
InflateException

This exception is thrown by an inflater on error conditions.

InputDevice

Describes the capabilities of a particular input device.

InputDevice.InterfaceConsts
InputDevice.MotionRange

Provides information about the range of values for a particular MotionEvent axis.

InputEvent

Common base class for input events.

InputEvent.InterfaceConsts
InputQueue

An input queue provides a mechanism for an application to receive incoming input events.

ISubMenuExtensions
KeyboardShortcutGroup
KeyboardShortcutGroup.InterfaceConsts
KeyboardShortcutInfo
KeyboardShortcutInfo.InterfaceConsts
KeyCharacterMap

Describes the keys provided by a keyboard device and their associated labels.

KeyCharacterMap.InterfaceConsts
KeyCharacterMap.KeyData

Describes the character mappings associated with a key.

KeyCharacterMap.UnavailableException

Thrown by Load(Int32) when a key character map could not be loaded.

KeyEvent

Object used to report key and button events.

KeyEvent.DispatcherState
LayoutInflater

Instantiates a layout XML file into its corresponding View objects.

Menu

Interface for managing the items in a menu.

MenuConsts
MenuInflater

This class is used to instantiate menu XML files into Menu objects.

MenuItemActionCollapseEventArgs
MenuItemActionExpandEventArgs
MenuItemOnMenuItemClickEventArgs
MotionEvent

Object used to report movement (mouse, pen, finger, trackball) events.

MotionEvent.PointerCoords

Transfer object for pointer coordinates.

MotionEvent.PointerProperties

Transfer object for pointer properties.

OrientationEventListener

Helper class for receiving notifications from the SensorManager when the orientation of the device has changed.

OrientationListener

Helper class for receiving notifications from the SensorManager when the orientation of the device has changed.

PixelCopy
PixelCopy.PixelCopyFinishedEventArgs
PointerIcon
PointerIcon.InterfaceConsts
ScaleGestureDetector

Detects scaling transformation gestures using the supplied MotionEvents.

ScaleGestureDetector.ScaleBeginEventArgs
ScaleGestureDetector.ScaleEndEventArgs
ScaleGestureDetector.ScaleEventArgs
ScaleGestureDetector.SimpleOnScaleGestureListener

A convenience class to extend when you only want to listen for a subset of scaling-related events.

SearchEvent
SoundEffectConstants

Constants to be used to play sound effects via PlaySoundEffect(SoundEffects)

Surface

Handle onto a raw buffer that is being managed by the screen compositor.

Surface.InterfaceConsts
Surface.OutOfResourcesException

Exception thrown when a surface couldn't be created or resized.

SurfaceHolderBadSurfaceTypeException

Exception that is thrown from LockCanvas() when called on a Surface whose type is SURFACE_TYPE_PUSH_BUFFERS.

SurfaceView

Provides a dedicated drawing surface embedded inside of a view hierarchy.

TextureView
TextureView.SurfaceTextureAvailableEventArgs

Provides data for the SurfaceTextureAvailable event.

TextureView.SurfaceTextureDestroyedEventArgs

Provides data for the SurfaceTextureDestroyed event.

TextureView.SurfaceTextureSizeChangedEventArgs

Provides data for the SurfaceTextureSizeChanged event.

TextureView.SurfaceTextureUpdatedEventArgs

Provides data for the SurfaceTextureUpdated event.

TouchDelegate

Helper class to handle situations where you want a view to have a larger touch area than its actual view bounds.

VelocityTracker

Helper for tracking the velocity of touch events, for implementing flinging and other such gestures.

View

User Interface

View.AccessibilityDelegate
View.BaseSavedState

Base class for derived classes that want to save and restore their own state in OnSaveInstanceState().

View.CapturedPointerEventArgs
View.ContextClickEventArgs
View.CreateContextMenuEventArgs

Provides data for the ContextMenuCreated event.

View.DragEventArgs

Provides data for the Drag event.

View.DragShadowBuilder

Creates an image that the system displays during the drag and drop operation.

View.FocusChangeEventArgs

Provides data for the FocusChange, and QueryTextFocusChange events.

View.GenericMotionEventArgs

Provides data for the GenericMotion event.

View.HoverEventArgs

Provides data for the Hover event.

View.KeyEventArgs

Provides data for the KeyPress event.

View.LayoutChangeEventArgs

Provides data for the LayoutChange event.

View.LongClickEventArgs

Provides data for the LongClick event.

View.MeasureSpec

A MeasureSpec encapsulates the layout requirements passed from parent to child.

View.ScrollChangeEventArgs
View.SystemUiVisibilityChangeEventArgs

Provides data for the SystemUiVisibilityChange event.

View.TouchEventArgs

Provides data for the Touch, and TouchIntercepted events.

View.ViewAttachedToWindowEventArgs

Provides data for the ViewAttachedToWindow event.

View.ViewDetachedFromWindowEventArgs

Provides data for the ViewDetachedFromWindow event.

ViewAnimationUtils

Defines common utilities for working with View's animations.

ViewConfiguration

Contains methods to standard constants used in the UI for timeouts, sizes, and distances.

ViewDebug

Various debugging/tracing tools related to View and the view hierarchy.

ViewDebug.CapturedViewProperty

This annotation can be used to mark fields and methods to be dumped when the view is captured.

ViewDebug.ExportedProperty

This annotation can be used to mark fields and methods to be dumped by the view server.

ViewDebug.FlagToString

Defines a mapping from a flag to a String.

ViewDebug.HierarchyTraceType
ViewDebug.IntToString

Defines a mapping from an int value to a String.

ViewDebug.RecyclerTraceType
ViewGroup
ViewGroup.ChildViewAddedEventArgs

Provides data for the ChildViewAdded event.

ViewGroup.ChildViewRemovedEventArgs

Provides data for the ChildViewRemoved event.

ViewGroup.LayoutParams

LayoutParams are used by views to tell their parents how they want to be laid out.

ViewGroup.MarginLayoutParams

Per-child layout information for layouts that support margins.

ViewGroupOverlay

A group overlay is an extra layer that sits on top of a ViewGroup (the "host view") which is drawn after all other content in that view (including the view group's children).

ViewOutlineProvider

Interface by which a View builds its Outline, used for shadow casting and clipping.

ViewOverlay

An overlay is an extra layer that sits on top of a View (the "host view") which is drawn after all other content in that view (including children, if the view is a ViewGroup).

ViewPropertyAnimator

This class enables automatic and optimized animation of select properties on View objects.

ViewStructure
ViewStructure.HtmlInfo
ViewStructure.HtmlInfo.Builder
ViewStub

A ViewStub is an invisible, zero-sized View that can be used to lazily inflate layout resources at runtime.

ViewStub.InflateEventArgs

Provides data for the InflateEvent event.

ViewTreeObserver

A view tree observer is used to register listeners that can be notified of global changes in the view tree.

ViewTreeObserver.GlobalFocusChangeEventArgs

Provides data for the GlobalFocusChange event.

ViewTreeObserver.PreDrawEventArgs

Provides data for the PreDraw event.

ViewTreeObserver.TouchModeChangeEventArgs

Provides data for the TouchModeChange event.

ViewTreeObserver.WindowFocusChangeEventArgs

Provides data for the WindowFocusChange event.

Window

Abstract base class for a top-level window look and behavior policy.

Window.FrameMetricsAvailableEventArgs
Window.RestrictedCaptionAreaChangedEventArgs
WindowAnimationFrameStats

This class contains window animation frame statistics.

WindowAnimationFrameStats.InterfaceConsts
WindowContentFrameStats

This class contains window content frame statistics.

WindowContentFrameStats.InterfaceConsts
WindowId

Safe identifier for a window.

WindowId.FocusObserver

Subclass for observing changes to the focus state of an WindowId.

WindowId.InterfaceConsts
WindowInsets

Describes a set of insets for window content.

WindowManagerBadTokenException

Exception that is thrown when trying to add view whose WindowManagerLayoutParamsToken is invalid.

WindowManagerInvalidDisplayException

M:Android.Views.IViewManager.AddView(Android.Views.View,.LayoutParams)

WindowManagerLayoutParams
WindowManagerLayoutParams.InterfaceConsts

Interfaces

ActionMode.ICallback

Callback interface for action modes.

ActionProvider.IVisibilityListener

Listens to changes in visibility as reported by RefreshVisibility().

Choreographer.IFrameCallback

Implement this interface to receive a callback when a new display frame is being rendered.

GestureDetector.IOnContextClickListener
GestureDetector.IOnDoubleTapListener

The listener that is used to notify when a double-tap or a confirmed single-tap occur.

GestureDetector.IOnGestureListener

The listener that is used to notify when gestures occur.

ICollapsibleActionView

When a View implements this interface it will receive callbacks when expanded or collapsed as an action view alongside the optional, app-specified callbacks to IMenuItemOnActionExpandListener.

IContextMenu

Extension of Menu for context menus providing functionality to modify the header of the context menu.

IContextMenuContextMenuInfo

Additional information regarding the creation of the context menu.

IMenu

Interface for managing the items in a menu.

IMenuItem

Interface for direct access to a previously created menu item.

IMenuItemOnActionExpandListener

F:Android.Support.V4.View.MenuItemCompat.ShowsAsActionCollapseActionView

IMenuItemOnMenuItemClickListener

Interface definition for a callback to be invoked when a menu item is clicked.

InputQueue.ICallback

Interface to receive notification of when an InputQueue is associated and dissociated with a thread.

ISubMenu

Subclass of Menu for sub menus.

ISurfaceHolder

Abstract interface to someone holding a display surface.

ISurfaceHolderCallback

A client may implement this interface to receive information about changes to the surface.

ISurfaceHolderCallback2

Additional callbacks that can be received for ISurfaceHolderCallback.

IViewManager

Interface to let you add and remove child views to an Activity.

IViewParent

Defines the responsibilities for a class that will be a parent of a View.

IWindowManager

The interface that apps use to talk to the window manager.

KeyEvent.ICallback
LayoutInflater.IFactory
LayoutInflater.IFactory2
LayoutInflater.IFilter

Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.

PixelCopy.IOnPixelCopyFinishedListener
ScaleGestureDetector.IOnScaleGestureListener

The listener for receiving notifications when gestures occur.

TextureView.ISurfaceTextureListener

This listener can be used to be notified when the surface texture associated with this texture view is available.

View.IOnApplyWindowInsetsListener
View.IOnAttachStateChangeListener

Interface definition for a callback to be invoked when this view is attached or detached from its window.

View.IOnCapturedPointerListener
View.IOnClickListener

Interface definition for a callback to be invoked when a view is clicked.

View.IOnContextClickListener
View.IOnCreateContextMenuListener

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

View.IOnDragListener

Interface definition for a callback to be invoked when a drag is being dispatched to this view.

View.IOnFocusChangeListener

Interface definition for a callback to be invoked when the focus state of a view changed.

View.IOnGenericMotionListener

Interface definition for a callback to be invoked when a generic motion event is dispatched to this view.

View.IOnHoverListener

Interface definition for a callback to be invoked when a hover event is dispatched to this view.

View.IOnKeyListener

Interface definition for a callback to be invoked when a hardware key event is dispatched to this view.

View.IOnLayoutChangeListener

Interface definition for a callback to be invoked when the layout bounds of a view changes due to layout processing.

View.IOnLongClickListener

Interface definition for a callback to be invoked when a view has been clicked and held.

View.IOnScrollChangeListener
View.IOnSystemUiVisibilityChangeListener

Interface definition for a callback to be invoked when the status bar changes visibility.

View.IOnTouchListener

Interface definition for a callback to be invoked when a touch event is dispatched to this view.

ViewGroup.IOnHierarchyChangeListener

Interface definition for a callback to be invoked when the hierarchy within this view changed.

ViewStub.IOnInflateListener

Listener used to receive a notification after a ViewStub has successfully inflated its layout resource.

ViewTreeObserver.IOnDrawListener

Interface definition for a callback to be invoked when the view tree is about to be drawn.

ViewTreeObserver.IOnGlobalFocusChangeListener

Interface definition for a callback to be invoked when the focus state within the view tree changes.

ViewTreeObserver.IOnGlobalLayoutListener

Interface definition for a callback to be invoked when the global layout state or the visibility of views within the view tree changes.

ViewTreeObserver.IOnPreDrawListener

Interface definition for a callback to be invoked when the view tree is about to be drawn.

ViewTreeObserver.IOnScrollChangedListener

Interface definition for a callback to be invoked when something in the view tree has been scrolled.

ViewTreeObserver.IOnTouchModeChangeListener

Interface definition for a callback to be invoked when the touch mode changes.

ViewTreeObserver.IOnWindowAttachListener

Interface definition for a callback to be invoked when the view hierarchy is attached to and detached from its window.

ViewTreeObserver.IOnWindowFocusChangeListener

Interface definition for a callback to be invoked when the view hierarchy's window focus state changes.

Window.ICallback

API from a Window back to its caller.

Window.IOnFrameMetricsAvailableListener
Window.IOnRestrictedCaptionAreaChangedListener

Enums

AccessibilityLiveRegion

Enumerates values returned by several types.

ActionModeType
AutofillFlags
AutofillType
Axis

Enumerates values returned by several types and taken as a parameter of several types.

DecorCaptionShade
DescendantFocusability

Enumerates values returned by several types.

DisplayFlags

F:Android.Media.Projection.MediaProjection.CreateVirtualDisplay

DisplayState

Enumerates values returned by several types.

DragAction

Enumerates values returned by several types.

DragFlags
DrawingCacheQuality

Enumerates values returned by several types.

Edge

Enumerates values returned by several types and taken as a parameter of several types.

FeedbackConstants

Enumerates values returned by the KeyboardTap, LongPress, and VirtualKey members and taken as a parameter of the F:Android.Views.View.PerformHapticFeedback, and F:Android.Views.View.PerformHapticFeedback members.

FeedbackFlags

Enumerates values returned by the IgnoreGlobalSetting, and IgnoreViewSetting members and taken as a parameter of the F:Android.Views.View.PerformHapticFeedback member.

FindViewsWith

Enumerates values returned by the ContentDescription, Text, and FindViewsWithContentDescription members and taken as a parameter of the F:Android.Views.View.FindViewsWithText, and F:Android.Views.View.FindViewsWithText members.

FocusablesFlags

Enumerates values returned by the All, and TouchMode members and taken as a parameter of the F:Android.Views.View.AddFocusables member.

FocusSearchDirection
FrameMetricsId
GravityFlags

Enumerates values returned by several types and taken as a parameter of several types.

HdrType
ImportantForAccessibility

Enumerates values returned by several types.

ImportantForAutofill
InputKeyboardType

Enumerates values returned by several types.

InputSourceType

Enumerates values returned by several types and taken as a parameter of several types.

KeyboardType

Enumerates values returned by several types.

Keycode

Enumerates values returned by several types and taken as a parameter of several types.

KeyEventActions

Enumerates values returned by several types and taken as a parameter of several methods of KeyEvent.

KeyEventFlags

Enumerates values returned by several types and taken as a parameter of several methods of KeyEvent.

KeyModifierBehavior

Enumerates values returned by the ModifierBehavior, Chorded, and ChordedOrToggled members.

LayerType

F:Android.Views.View.SetLayerType

LayoutDirection

Enumerates values returned by several types and taken as a parameter of the F:Android.Views.View.OnRtlPropertiesChanged, and F:Android.Views.ViewGroup+LayoutParams.ResolveLayoutDirection members.

MeasureSpecMode

F:Android.Views.View+MeasureSpec.MakeMeasureSpec

MemoryType

Enumerates values returned by several types.

MenuAppendFlags

Enumerates values returned by the AppendToGroup, and None members and taken as a parameter of the F:Android.Views.IMenu.AddIntentOptions member.

MenuCategory

Enumerates values returned by several methods of MenuCategory.

MenuPerformFlags

Enumerates values returned by the AlwaysPerformClose, None, and PerformNoClose members and taken as a parameter of several types.

MetaKeyStates

Enumerates values returned by several types and taken as a parameter of several types.

MotionEventActions

Enumerates values returned by several types and taken as a parameter of several methods of MotionEvent.

MotionEventButtonState

Enumerates values returned by several types and taken as a parameter of the F:Android.Views.MotionEvent.IsButtonPressed, and F:Android.Views.MotionEvent.Obtain members.

MotionEventFlags

Enumerates values returned by several types and taken as a parameter of the F:Android.Views.MotionEvent.Obtain, and F:Android.Views.MotionEvent.Obtain members.

MotionEventToolType

Enumerates values returned by several types.

MotionRange

Enumerates values returned by several types.

OverScrollMode

Enumerates values returned by several types.

PersistentDrawingCaches

Enumerates values returned by several types.

PixelCopyResult
PointerIconType
ScreenState

F:Android.Views.View.OnScreenStateChanged

ScrollAxis

Enumerates values returned by several types and taken as a parameter of several types.

ScrollbarPosition

Enumerates values returned by several types.

ScrollbarStyles

Enumerates values returned by several types.

ScrollIndicatorPosition
ShowAsAction

Enumerates values returned by several methods of ShowAsAction and taken as a parameter of the F:Android.Views.IMenuItem.SetShowAsAction, and F:Android.Views.IMenuItem.SetShowAsActionFlags members.

SoftInput

F:Android.Views.Window.SetSoftInputMode

SoundEffects

F:Android.Views.View.PlaySoundEffect

StatusBarVisibility
SurfaceOrientation

F:Android.Views.Surface.SetOrientation

SurfaceType

Enumerates values returned by several methods of SurfaceType and taken as a parameter of the F:Android.Views.ISurfaceHolder.SetType member.

SystemUiFlags
TextAlignment

Enumerates values returned by several types.

TextDirection

Enumerates values returned by several types.

TouchableRegion

Enumerates values returned by several methods of TouchableRegion.

ViewFocusability
ViewLayoutMode

Enumerates values returned by several types.

ViewStates

Enumerates values returned by several types and taken as a parameter of several types.

WindowFeatures

Enumerates values returned by several methods of WindowFeatures and taken as a parameter of several types.

WindowManagerEventType

Enumerates values returned by several types.

WindowManagerFlags

Enumerates values returned by several types and taken as a parameter of several types.

WindowManagerTypes

Enumerates values returned by several types and taken as a parameter of several types.

WindowProgress

Enumerates values returned by several types.

WindowRotationAnimation

Enumerates values returned by several types.

Delegates

View.ApplyWindowInsetsHandler