Android Question Show cursor in edittext if input_type is none

RB Smissaert

Well-Known Member
Licensed User
Longtime User
Working on a custom keyboard and can't figure out how to show the cursor when the input_type is none.

I tried this code from Klaus:

B4X:
Sub setCursorVisible(edt As EditText, Visible As Boolean)
   Dim jo = edt As JavaObject
   jo.RunMethod("setCursorVisible", Array As Object(Visible
End Sub

but it doesn't work even if I try to set the focus with edt.RequestFocus
I need the input_type none, so the standard keyboard doesn't popup.

Otherwise is there a way to make the standard keyboard not appear without setting the input_type to none?
This would probably be the best way.

RBS
 
Top