Android: Updated a comment.
authorPhilipp Wiesemann
Wed, 27 Jul 2016 20:47:08 +0200
changeset 102112e4c1b2fce79
parent 10210 1b5a21b3fa97
child 10212 af95dd343a25
Android: Updated a comment.
android-project/src/org/libsdl/app/SDLActivity.java
     1.1 --- a/android-project/src/org/libsdl/app/SDLActivity.java	Wed Jul 27 20:46:18 2016 +0200
     1.2 +++ b/android-project/src/org/libsdl/app/SDLActivity.java	Wed Jul 27 20:47:08 2016 +0200
     1.3 @@ -1394,7 +1394,7 @@
     1.4          // As seen on StackOverflow: http://stackoverflow.com/questions/7634346/keyboard-hide-event
     1.5          // FIXME: Discussion at http://bugzilla.libsdl.org/show_bug.cgi?id=1639
     1.6          // FIXME: This is not a 100% effective solution to the problem of detecting if the keyboard is showing or not
     1.7 -        // FIXME: A more effective solution would be to change our Layout from AbsoluteLayout to Relative or Linear
     1.8 +        // FIXME: A more effective solution would be to assume our Layout to be RelativeLayout or LinearLayout
     1.9          // FIXME: And determine the keyboard presence doing this: http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android
    1.10          // FIXME: An even more effective way would be if Android provided this out of the box, but where would the fun be in that :)
    1.11          if (event.getAction()==KeyEvent.ACTION_UP && keyCode == KeyEvent.KEYCODE_BACK) {