I have one long String that I load into EditText1.
My string contains many characters that are the line break such as Chr(13) or CRLF
I don't want the user to key in nor make any input to my EditText which is only giving information (not for input). That is why I put the last line of code into my declaration of EditText1 view, in order to prevent the display of keyboard.
EditText1.Initialize("EditText1")
EditText1.Wrap = True
EditText1.SingleLine = False
EditText1.InputType = EditText1.INPUT_TYPE_NONE
Interestingly, all contents in my string will line up to only one line, despite the fact that I already defined my EditText as Wrap = True and SingleLine = False.
For Example, it will display like this (wrong):
"AppleBananasMangoWatermelonChili"
Instead of (correct):
"Apple"
"Bananas"
"Mango"
"Watermelon"
"Chili"
What happens to this line of code (inputtext)? This is a bug or I am doing something wrong (I believe the second case is correct
)? I am using the latest version of B4Android.
Thank you.