focus

fun focus(focusable: Drawable)

Sets the focus to the specified focusable element.

Return

true if focus was successfully set, false if the provided focusable is already focused

Parameters

focusable

the element to set focus on