I’m building text box to fit all the screen and I have few questions:
-
how do I get phase “submitted” or “ended” on android device to hide the keyboard. On ios there is a hide keyboard button, but there is none on android. what should I do to remove the keyboard, maybe I can do it through some touch listener that removes keyboard, f.e. when the user touches the screen?
-
How do I now how many text is printed or where is the cursor? I need to know this in order to move the box upwards when the text is going to be covered by the keyboard. How to do it?
thanks!