[Solved] When click in numeric keyboard close keyboard and put number [closed]


To Close keyboard:

// Check if no view has focus:
View view = this.getCurrentFocus();
if (view != null) {  
    InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
    imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
}

And to set the number typed you use the editText´s Listerners

solved When click in numeric keyboard close keyboard and put number [closed]