Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

hide the keyboard, don't toggle it

  • Loading branch information...
commit 1242e15bd7cb1634088467e647547188923e7fbd 1 parent e18a4ee
@jcs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/org/jcs/triptracker/MainActivity.java
View
2  src/org/jcs/triptracker/MainActivity.java
@@ -78,7 +78,7 @@ public void onFocusChange(View v, boolean hasFocus) {
/* hide the keyboard */
InputMethodManager imm = (InputMethodManager)
getSystemService(Activity.INPUT_METHOD_SERVICE);
- imm.toggleSoftInput(InputMethodManager.HIDE_IMPLICIT_ONLY, 0);
+ imm.hideSoftInputFromWindow(endpoint.getWindowToken(), 0);
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.