android edittext remove focus after clicking a button
I have an Activity with an EditText and a Button. When the User clicks on
the EditText, the keyboard is shown and he can type in some Text - fine.
But when the user clicks on the Button I want the EditText to be no more
in focus i.e. the keyboard hides til the user clicks again on the
EditText.
What can I do to 'hide the focus' of the EditText, after the Button is
clicked. Some Code I can add in the OnClick Method of the Button to do
that?
Best Regards
No comments:
Post a Comment