Is it possible to display only a number pad like w/ InputType.TYPE_CLASS_NUMBER but accept letters and hyphens too?
For edittext, Is it possible to use InputType.TYPE_CLASS_NUMBER and show only a numpad but allow letters?
102 Views Asked by Tim Nuwin At
1
There are 1 best solutions below
Related Questions in ANDROID-EDITTEXT
- FloatingActionButton doesnt change EditText item in the LIstView
- EditText not taking input in Android?
- How to restrict EditText decimals to two? (Android studio/Kotlin)
- How can I have one recyclerview element using datas from another page?
- how to make an EditText fully visible when opening the soft keyboard
- EditText with maxLines - how to show half of top line
- Android how to create an edittext that look like google login edittext
- Can not type in edittext android due to associated arraylist
- Suggestion text is not displaying in android keyboard
- Bold text is lost in edittext (android app)
- Why Edit text input fill all the other edit texts when navigate to other screen and then come back?
- Android 14 EditText required double click to enter text if hard keyboard is attached
- How to change background color Edittext error box
- Android : How do I know if the adb shell input text is completed?
- Android: outer EditText border stroke
Related Questions in ANDROID-INPUTTYPE
- Android: enter or tab keys still enters values into the password input field using jetpack compose
- How to show softkeyboard with numbers and signs on Android TV?
- Android: Cannot input any digit in EditText field after leading minus sign
- Show numeric keyboard with percent symbol
- Allow entering negative sign first for Android EditText of number type
- EdiText with numeric InputType does not accept keyboard input
- How to display input method picker list title and summary in textview android?
- Remove zeros from first of numbers in Android EditText
- Kotlin-How can i put comma every three number like this 1,000,000,000
- Display keyboard for numers when inputType set to 'text'
- Set dynamically digits for EditText - Android
- Can I delete dot(.) in the soft keyboard?
- android:inputType not working as expected
- setKeyListener will override setInputType and change the keyboard
- How to show numeric keybord when EditText is set to floating numbers?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Setting the edittext's key listener did the trick. editText.setKeyListener(DigitsKeyListener.getInstance("0123456789.-abc......etc));