We can check if EditText control has focus on or not using the following event.
txtFrom.setOnFocusChangeListener(new View.OnFocusChangeListener() { @Override public void onFocusChange (View v, boolean hasFocus) { // Do Code here } });
I hope it was inforamtive for you and I would like to Thank you for reading
No comments:
Post a Comment