It’s still totally cut off by using the code you suggest (getAndroidFontSize).
The upper half is always cut off. I don’t understand why increasing the height for the input bar or find a good font size can solve this problem?
I make the input box large enough but the texts are placed in the upper half. If I increase more height or decrease the font size, it will only make it odder and odder.
Before I give it up, anyone can sum up the finalized solution? Maybe I miss something.