Android Question How to automatically capitalize the first letter of a sentence in Multiline EditText?

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

I have multiline edit text which created at runtime.

Below code help to make first letter capitalize but enter button replaced with DONE on keyboard. User can't write like it s multine.

B4X:
InpTyp.SetInputType(EditText8,ArrayAs Int(InpTyp.TYPE_CLASS_TEXT,InpTyp.TYPE_TEXT_FLAG_CAP_SENTENCES))
Any Help
 

ykucuk

Well-Known Member
Licensed User
Longtime User
It works.
B4X:
InpTyp.SetInputType(EditText8,ArrayAs Int(InpTyp.TYPE_CLASS_TEXT,InpTyp.TYPE_TEXT_FLAG_CAP_SENTENCES))
EditText8.SingleLine = False
 
Upvote 0
Top