I am using a FlexboxLayout to add few EditTexts. Each EditText contains just 1 character of words.I am using editText for space as well but keeping it invisible.I am using layout setting FlexWrap as "wrap". For instance, if I have two words, some letters of the second word goes to the next line. However, I want the next word( a group of editText) to go to next line instead of just the last few letters(editText).
Is there someway to group these edittext and make the whole word go to next line.Or is there some way to break line within the programme itself. I tried adding 'EditText' to linear layout and adding it to 'FlexboxLayout', it did not work.
Use this property to start a new line in
FlexboxLayout
.In your case, just apply this property to the
EditText
which you want start a new line.Quote from
FlexboxLayout
docs: