From 05ca784e5b4c5594b08f169015fd1f1e3ee755a8 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sun, 2 Oct 2016 22:32:50 +0200 Subject: [PATCH] Android: Fixed compile error. --- android-project/src/org/libsdl/app/SDLActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java index 15b799c60..adaf15b9d 100644 --- a/android-project/src/org/libsdl/app/SDLActivity.java +++ b/android-project/src/org/libsdl/app/SDLActivity.java @@ -372,7 +372,7 @@ public class SDLActivity extends Activity { // 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);