Skip to content Skip to sidebar Skip to footer

Displaying Soft Keypad Via Code

How could I keep the keypad visible, or display the keypad for the next EditText views via. I would like to keep the keypad visible if the input is invalid. Or, in the case of va

Solution 1:

You can use this to force it open on a specified View.

InputMethodManager imm = (InputMethodManager) getSystemService(
    Context.INPUT_METHOD_SERVICE);
imm.showSoftInput(editText, InputMethodManager.SHOW_FORCED);

Post a Comment for "Displaying Soft Keypad Via Code"