Search code examples
androidxmltextview

Android TextView multiple line problem (remove gab in second line)


enter image description here

There are two TextView and the second TextView is multiple lines. But there is a gap in front of the second line. I would like to make as below

UserName Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World!Hello World

Please give me some advice. Thank you.


Solution

  • You don't do it directly you need to use the below the library

    https://github.com/deano2390/FlowTextView