Android Question how can i set defaultinputtye to number,but allow input all character

shugeyi

Member
Licensed User
Longtime User
i want to set defautinputtype to number ,so i use this code:

B4X:
Dim Ime1 As IME
Ime1.Initialize("")
Ime1.SetCustomFilter(inputedt,inputedt.INPUT_TYPE_DECIMAL_NUMBERS, "0123456789.-")


but i also want i can input all character include chinese character, just default is number
how can i do?

thanks
 
Top