[Android-development] Height of Software Keyboard on Android Devices

Eskil Abrahamsen Blomfeldt eskil.abrahamsen-blomfeldt at digia.com
Thu Jan 2 08:48:39 CET 2014


On 12/30/2013 03:56 PM, Robert Iakobashvili wrote:
> Hello,
>
> Trying with QTextEdit example
>
> const QRectF keyboardRect = QGuiApplication::inputMethod()->keyboardRectangle();
>
> it returns zeroed QRectF whereas software keyboard is up.
>
> How to retrieve the height occupied by software keyboard?

As far as I've been able to tell from reading forum posts about this, 
there's no way of getting the height of the bounding box of the software 
keyboard on Android. If anyone has information that contradicts this, 
please let me know.

-- Eskil




More information about the Android-development mailing list