Android: Fixed compile error.
authorPhilipp Wiesemann
Sun, 02 Oct 2016 22:32:50 +0200
changeset 1045719ac0ca04c8b
parent 10456 acf31e709475
child 10458 b24c67bbb02f
Android: Fixed compile error.
android-project/src/org/libsdl/app/SDLActivity.java
     1.1 --- a/android-project/src/org/libsdl/app/SDLActivity.java	Sun Oct 02 22:32:35 2016 +0200
     1.2 +++ b/android-project/src/org/libsdl/app/SDLActivity.java	Sun Oct 02 22:32:50 2016 +0200
     1.3 @@ -372,7 +372,7 @@
     1.4                      // Note: On some devices setting view to GONE creates a flicker in landscape.
     1.5                      // Setting the View's sizes to 0 is similar to GONE but without the flicker.
     1.6                      // The sizes will be set to useful values when the keyboard is shown again.
     1.7 -                    mTextEdit.setLayoutParams(new AbsoluteLayout.LayoutParams(0, 0, 0, 0));
     1.8 +                    mTextEdit.setLayoutParams(new RelativeLayout.LayoutParams(0, 0));
     1.9  
    1.10                      InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
    1.11                      imm.hideSoftInputFromWindow(mTextEdit.getWindowToken(), 0);