forked from ravindu1024/android-keyboardlistener
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19805f3
commit 1ec75e8
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
}); | ||
|
||
|
||
|
||
|
||
|