Skip to content

Commit

Permalink
Android: Fixed compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Oct 2, 2016
1 parent 67bf5ca commit 05ca784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android-project/src/org/libsdl/app/SDLActivity.java
Expand Up @@ -372,7 +372,7 @@ public void handleMessage(Message msg) {
// Note: On some devices setting view to GONE creates a flicker in landscape.
// Setting the View's sizes to 0 is similar to GONE but without the flicker.
// The sizes will be set to useful values when the keyboard is shown again.
mTextEdit.setLayoutParams(new AbsoluteLayout.LayoutParams(0, 0, 0, 0));
mTextEdit.setLayoutParams(new RelativeLayout.LayoutParams(0, 0));

InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(mTextEdit.getWindowToken(), 0);
Expand Down

0 comments on commit 05ca784

Please sign in to comment.