diff --git a/platform/android/AndroidManifest.xml.in b/platform/android/AndroidManifest.xml.in
index 0b017e2903..f1ce868326 100644
--- a/platform/android/AndroidManifest.xml.in
+++ b/platform/android/AndroidManifest.xml.in
@@ -12,6 +12,7 @@
+
0) {
+ const height = Qt.inputMethod.keyboardRectangle.height / Screen.devicePixelRatio;
+ return height - (top + height - mainWindow.height);
+ }
+ return 0;
+ }
x: edgeSpacing
- y: parent.height - 112
+ y: mainWindow.height - 112 - virtualKeyboardHeight
z: 10001
width: mainWindow.width - edgeSpacing * 2