Whenever a word is typed in the EditText box, I always see an underline under the word being typed. But when I press a space after that word I no longer see the underline.>
The best solution for this is to add on your EditText:
EditText
android:inputType="textMultiLine|textVisiblePassword"