use of android.view.inputmethod.InputMethodManager in project Klyph by jonathangerbaud.
the class PlacePickerFragment method onDetach.
@Override
public void onDetach() {
super.onDetach();
if (searchBox != null) {
InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(searchBox.getWindowToken(), 0);
}
}
use of android.view.inputmethod.InputMethodManager in project archi by ivacf.
the class MainActivity method hideSoftKeyboard.
private void hideSoftKeyboard() {
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(editTextUsername.getWindowToken(), 0);
}
use of android.view.inputmethod.InputMethodManager in project archi by ivacf.
the class MainActivity method hideSoftKeyboard.
private void hideSoftKeyboard() {
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(editTextUsername.getWindowToken(), 0);
}
use of android.view.inputmethod.InputMethodManager in project archi by ivacf.
the class MainActivity method hideSoftKeyboard.
private void hideSoftKeyboard() {
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(binding.editTextUsername.getWindowToken(), 0);
}
use of android.view.inputmethod.InputMethodManager in project Talon-for-Twitter by klinker24.
the class SearchPager method removeKeyboard.
public void removeKeyboard() {
try {
InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(searchView.getWindowToken(), 0);
} catch (Exception e) {
}
}
Aggregations