editText.setInputType(EditorInfo.TYPE_CLASS_PHONE); 则如果该EditText获得焦点,会弹出数字输入法的模拟键盘. \. Android:inputType参数类型说明.
確定! 回上一頁