All one can think and do in a short time is to think what one already knows and to do as one has always done!

Android EditText onFocus and onBlur Example

Most web developers are familiar with the onFocus and onBlur events on a web page so that they can take certain actions based on them. In android an EditText can set the OnFocusChangeListener and then implement the onFocusChange method to listen for changes to that view. In this example we use the OnFocusChangeListener to set some text inside the input boxes and when an EditText inside a ListView row get in focus we highlight
the complete row by changing the background color.