Package 

Interface KeyboardHeightObserver


  • 
    public interface KeyboardHeightObserver
    
                        

    The observer that will be notified when the height of the keyboard has changed

    • Method Summary

      Modifier and Type Method Description
      abstract void onKeyboardHeightChanged(int height, int leftInset, int rightInset, int orientation) Called when the keyboard height has changed, 0 means keyboard is closed, >= 1 means keyboard is opened.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onKeyboardHeightChanged

         abstract void onKeyboardHeightChanged(int height, int leftInset, int rightInset, int orientation)

        Called when the keyboard height has changed, 0 means keyboard is closed, >= 1 means keyboard is opened.

        Parameters:
        height - The height of the keyboard in pixels
        orientation - The orientation either: Configuration.ORIENTATION_PORTRAIT or Configuration.