更新时间:2022-06-09 06:48:07
想我找到了一种方法来做到这一点...子的EditText
并重写onCheckIsTextEditor()$c$c>返回false:
Think I found a way to do it... subclass EditText
and override onCheckIsTextEditor()
to return false:
public class EditTextEx extends EditText {
public EditTextEx(Context context, AttributeSet attrs) {
super(context, attrs);
}
@Override
public boolean onCheckIsTextEditor() {
return false;
}
}
我测试过它,我不能让软键盘显示在所有。
I've tested it and I can't get the soft keyboard to show at all.