android的edittext设置输入限制,只能输入数字 上面是网上抄的,如果是用代码控制输入限制呢 editText.setInputType(EditorInfo.TYPE_CLASS_PHONE); ...