Android Question IME SetCustomFilter does not accept / as an allowable character

Gerrard

Member
Licensed User
Longtime User
I have an app that needs the numbers 0 to 9 as well as the slash /. I have tried IME SetCustomFIlter but it does not activate the / on the numeric keyboard.
B4X:
IME.SetCustomFilter(edtText, edtText.INPUT_TYPE_NUMBERS, "0123456789/")

I tried a "0123456789." and it activated the dot, but not the slash /.
What can I do?
 

Gerrard

Member
Licensed User
Longtime User
Erel, I'm missing something here. Both my Samsung tablet and my Samsung phone show the / character as part of the numeric keyboard after pressing the 123 key to get the numeric keyboard.
Yes, the INPUT_TYPE_TEXT does work. I tried it, but I don't want to use it because I wanted the numeric keyboard to come up, and did not want to have to press the 123 key to get the numeric keyboard.
 
Upvote 0
Top