I am trying to show numeric software keyboard on Android Tv when edittext is focused.
I have already tried these;
editText.setInputType(InputType.TYPE_CLASS_PHONE);
editText.setInputType(InputType.TYPE_CLASS_NUMBER);
editText.setRawInputType(Configuration.KEYBOARD_12KEY);
android:inputType="phone"
android:inputType="number"
but they only disable text characters, don't make them invisible.
Is there a way to show phone type software keyboard on Android Tv?
You can check out Input Method Editor on the Android TV developer site. It has a sample there for SoftKeyboard .
Hope this helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.