1

i used this code

InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
 imm.hideSoftInputFromWindow(EditView.getWindowToken(), 0);

this code works fine in a class which extends Activity

but i need to hide virtual keyboard in a class which extends LinearLayout.

RRUZ
  • 130,998
  • 15
  • 341
  • 467
nish
  • 119
  • 1
  • 6

0 Answers0