Pepa Zapletal Pepa Zapletal - 2 months ago 13x
Android Question

Android: FlowLayout - break TextView at the end of the screen

I'm using in my app

( and it has set horizontal orientation. When I have a long TextView I want to split this TextView into two
. First TextView will be to the end of the screen and second TextView will start at the start of the second row.

Look at the screenshot (row 5):


Do you have some idea how can I do it? Somehow easily :)

For info:

  • main layout is LinearLayout (vertical orientation)

  • and in the code I'm adding FlowLayout (each row)


I found one solution (maybe it's not the best):

create for every char own TextView component.