I would like the numeric keyboard to display on an edit text. This used to work. I looked at your class example and translated it into "in-line" code in the main module and still no luck.
I'm using version 2.30 of b4a.
Even forcing the IME keyboard it still comes up with the entire QWERTY keyboard, although input is still restricted to 123 and "."
Thanks,
Rusty
I'm using version 2.30 of b4a.
B4X:
Sub Process_Globals
End Sub
Sub Globals
Dim et As EditText
End Sub
Sub Activity_Create(FirstTime As Boolean)
et.Initialize("et")
et.InputType = et.INPUT_TYPE_NUMBERS
Dim i As IME
i.SetCustomFilter(et, et.INPUT_TYPE_NUMBERS, "0123.")
Activity.AddView(et,10,10,300,50)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Thanks,
Rusty