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

Robert Iakobashvili coroberti at gmail.com
Mon Dec 30 15:56:46 CET 2013


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?

Thank you in advance.


Regards,
Robert



More information about the Android-development mailing list