InputMethodManager imPharamcy = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imPharamcy .toggleSoftInput(0, InputMethodManager.SHOW_IMPLICIT);
強行獲取鍵盤。 但鍵盤不是數字鍵盤。 如何使用inputMethod Manager獲取僅數字鍵盤?
在XML中我已經給
android:inputType="phone"
android:imeOptions="actionNext"
的EDITTEXT花費數只 奇怪的是在一些只有鍵盤出現的仿真器,但在電話號碼和特殊字符的鍵盤自帶
嘿我被困在同樣的問題你能分享你的代碼。 –
http://stackoverflow.com/questions/28978225/how-to-show-number-keyboard-on-custom-view – Eraise