Implement textfield event in Android.