I have a WebView in my Android app. The WebView has a basic number input in it. Currently when you hit enter, the keyboard stays open and the calculations take place.
But the calculations get displayed beneath the input and are hidden behind the keyboard.
As such, I want to hide the keyboard once enter is hit.
While I see ways to hide the keyboard and ways to capture keys from Android EditText, I don't see a way to capture keys from a WebView input.
How can I capture a WebView input's keyboard events (specifically enter) and then close the keyboard?