views:

655

answers:

1

When user click at the editview android opens the keyboard so that user can write in the editview..

problem is when user is done with writing there is no way to hide the keyboard and user have to press back button to hide the keyboard....

is there a way to display done button over the keyboard when user is done with writing text done button will hide the keyboard. alt text

+4  A: 

Use TextView.setImeOptions and pass it actionDone.

dmazzoni
thanks nice solution.
Faisal khan