EditText onClick not shows Virtual Keyboard

后端 未结 4 1283

If i click on my EditText, the virtual keyboard simple not shows up. The cursor is shown, but no keyboard to type on.

I even tried it with manually open but just no

4条回答
  •  耶瑟儿~
    2021-01-05 19:30

    Try with this, it worked for me.

    EditText etHorseName = (EditText) getView().findViewById(R.id.horseName);
    etHorseName.clearFocus();
    

    in onCreate() or where you want.

提交回复
热议问题