Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindu1024 authored Jul 15, 2016
1 parent 19805f3 commit 1ec75e8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# android-keyboardlistener

An Android Keyboard visibility listener based on the information from the following page:

http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android

Simply include this in your application and use as follows:

KeyboardUtils.addKeyboardToggleListener(this, new KeyboardUtils.SoftKeyboardToggleListener()
{
@Override
public void onToggleSoftKeyboard(boolean isVisible)
{
Log.d("keyboard", "keyboard visible: "+isVisible);
}
});





0 comments on commit 1ec75e8

Please sign in to comment.