I am showing and hiding the keyboard after certain events. Now i want to know how to detect from code if the keyboard is up/showing or no. I tried the following but none work?
InputMethodManager imm = (InputMethodManager)getActivity().getSystemService(
Context.INPUT_METHOD_SERVICE);
imm.isAcceptingText();
imm.isActive();
Aucun commentaire:
Enregistrer un commentaire