In an app I am working on, I put two editboxes on the screen that require numbers only to be entered. I have set the input type to 1 for both and yet on the 2nd edit box, the keyboard on screen is not the numeric keyboard. I have this code below that will help demonstrate the issue. I'm broadcasting to a Android Pixel 3. For this test though, it affects the 3rd edit box and after. So I have no idea what's going on.
SetErrorMode(2)
// set window properties
SetWindowTitle( "ebtest" )
// set display properties
SetVirtualResolution(GetDeviceWidth(),getDeviceHeight())
SetOrientationAllowed( 1, 1, 0, 0 ) // allow both portrait and landscape on mobile devices
UseNewDefaultFonts( 1 )
global editbox as integer[]
createEB()
createEB()
createEB()
createEB()
createEB()
do
Print( str(txt.length) )
Sync()
loop
function createEB()
editBox.insert(CreateEditBox())
//SetEditBoxBackgroundColor(editBox[editbox.length], 255, 0, 0, 255)
SetEditBoxSize(editbox[editbox.length], GetVirtualWidth()*0.6, GetVirtualHeight()*0.1)
SetEditBoxTextSize(editbox[editbox.length], GetVirtualHeight()*0.09)
SetEditBoxPosition(editbox[editbox.length], GetVirtualWidth()/2-GetEditBoxWidth(editbox[editbox.length])/2, GetVirtualHeight()*0.025+(editbox.length*GetVirtualHeight()*0.2))
SetEditBoxMaxChars(editbox[editbox.length], 3) //max characters is set to 3
SetEditBoxInputType(editbox[editbox.length], 1) //set input to numbers only
endfunction