Android Question EditText red underlining problem

agraham

Expert
Licensed User
Longtime User
In Android 8.1.0 and later EditText seems to have grown a spelling checker that is on by default causing unwanted underlining of the contents. When I search the Web I see various solutions have been proposed but some seem to have side effects or don't work and others require specifying in the XML layout that B4A doesn't use. Has anyone else seen and overcome this?
 

jimmyF

Active Member
Licensed User
Longtime User
Did you try calling:
B4X:
EditText.SingleLine=False
immediately after setting the flag?
That works for me.
 
Upvote 0
Top