Skip to content

Commit

Permalink
closes #544
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayaurora committed Jan 10, 2016
1 parent 3f8ca40 commit 11db161
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/src/org/renpy/android/SDLSurfaceView.java
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,7 @@ public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
public void onGlobalLayout() {
Rect rctx = new Rect();
activityRootView.getWindowVisibleDisplayFrame(rctx);
rctx.top = 0;
int heightDiff = default_display.getHeight() - (rctx.bottom - rctx.top);
if (heightDiff != kHeight){
Log.i("Python:", String.format("Layout Triggered, Keyboard_height: %s", heightDiff));
Expand Down

0 comments on commit 11db161

Please sign in to comment.