On Android, SetEditBoxUseAlternateInput is supposed to show a small edit box when an edit box is hidden from view by the virtual keyboard. It looks as though this only works correctly if the view offset in the y dimension is 0. If you scroll down with setviewoffset, then ALL edit boxes have a small version appear, even when the main edit box is in plain view.
Here's an example to highlight the problem. Box2 should show a mini edit box when it has focus, but box1 shouldn't... Press the virtual button to scroll down and then Box3 should show a mini editbox and box2 SHOULDN'T (as it is now in plain view), however box2 still gets a mini editbox appear.
// Project: editboxtest
// Created: 2018-07-27
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "editboxtest" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 100, 100 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
box1 = CreateEditBox()
box1_label = CreateText("Box1")
SetTextPosition(box1_label,1,7)
SetEditBoxSize(box1,60,8)
SetEditBoxPosition(box1,10,10)
box2 = CreateEditBox()
box2_label = CreateText("Box2")
SetTextPosition(box2_label,1,67)
SetEditBoxSize(box2,60,8)
SetEditBoxPosition(box2,10,70)
box3 = CreateEditBox()
box3_label = CreateText("Box3")
SetTextPosition(box3_label,1,147)
SetEditBoxSize(box3,60,8)
SetEditBoxPosition(box3,10,150)
AddVirtualButton(1,85,100,8)
do
// Toggle view offset if virtual button is pressed
If GetVirtualButtonPressed(1)
If GetViewOffsetY() = 0
SetViewOffset(0,50)
else
SetViewOffset(0,0)
endif
endif
Print( ScreenFPS() )
Sync()
loop
So, it looks to me as though the SetEditBoxUseAlternateInput (which is on by default) isn't taking into account world coordinates.