Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Android app with virtual keyboard problem



  • i'm working with Qt 5.4 right now and suffer a problem with keyboard rendering. When i set android:windowSoftInputMode to "adjustResize", there will leave a black hole when keyboard hide and the screen act just like flicking(so ugly), if i switch to "adjustPan", it will hide part of my text input. Does anyone have any idea how to fix it? i also try to get Qt.inputMethod.keyboardRectangle.height and adjust the anchors myself, but the height always return 0!!!