I disabled softInput on my editText using
public static void disableSoftInputFromAppearing(EditText editText) {
editText.setRawInputType(InputType.TYPE_CLASS_TEXT);
editText.setTextIsSelectable(true);
}
But now I don't know how to enable it. A function to enable the softInput would be appreciated.