hide virtual keyboard in android?

后端 未结 4 854
情深已故
情深已故 2021-01-25 08:08

Hi i won\'t want to show virtual keyboard even user touch the editText field.

4条回答
  •  情深已故
    2021-01-25 08:46

    As in this question use:

    EditText edtView=(EditText)findViewById(R.id.editTextConvertValue);
    edtView.setInputType(0);
    

提交回复
热议问题