I have a number of EditTexts in my page along with two buttons. I want the user to touch on any one EditText field and click any button to insert a
EditText
This works for me. It returns a boolean.
myEditText.hasFocus()