findFocus

Find the view that has the specified focus type. The search starts from the view represented by this node info.

Return

The node info of the focused view or null.

Parameters

focus

The focus to find. One of FOCUS_INPUT or FOCUS_ACCESSIBILITY.

See also