Is it possible to catch the event that Soft Keyboard was shown or hidden for EditText?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hi I’d used following workaround:
As far as my content view is a subclass of LinearLayout (could be any other view or view group), I’d overridden onMeasure method lilke following:
This workaround helped me to hide some controls when keyboard is showing and bring back otherwise.
Hope this would be useful.