Skip to content

Commit 11db161

Browse files
committed
closes kivy#544
1 parent 3f8ca40 commit 11db161

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/src/org/renpy/android/SDLSurfaceView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,7 @@ public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
12101210
public void onGlobalLayout() {
12111211
Rect rctx = new Rect();
12121212
activityRootView.getWindowVisibleDisplayFrame(rctx);
1213+
rctx.top = 0;
12131214
int heightDiff = default_display.getHeight() - (rctx.bottom - rctx.top);
12141215
if (heightDiff != kHeight){
12151216
Log.i("Python:", String.format("Layout Triggered, Keyboard_height: %s", heightDiff));

0 commit comments

Comments
 (0)