Android Guides | Samples

Android.Views.FocusFinder Class

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

See Also: FocusFinder

Syntax

[Android.Runtime.Register("android/view/FocusFinder", DoNotGenerateAcw=true)]
public class FocusFinder : Object

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

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

See Also: Object

Protected Constructors

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

Public Properties

[read-only]
static
InstanceFocusFinder. Get the focus finder for this thread.

Protected Properties

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

Public Methods

FindNearestTouchable(ViewGroup, Int32, Int32, FocusSearchDirection, Int32[]) : View
Find the nearest touchable view to the specified view.
FindNextFocus(ViewGroup, View, FocusSearchDirection) : View
Find the next view to take focus in root's descendants, starting from the view that currently is focused.
FindNextFocusFromRect(ViewGroup, Rect, FocusSearchDirection) : View
Find the next view to take focus in root's descendants, searching from a particular rectangle in root's coordinates.