Android TextView padding between lines

Çağatay Gürtürk picture Çağatay Gürtürk · Jul 28, 2011 · Viewed 149.3k times · Source

I have a TextView which displays a long text. I want to give some space between lines like in CSS with line-height property. How can I do it?

Answer

Romain Guy picture Romain Guy · Jul 28, 2011

You can use lineSpacingExtra and lineSpacingMultiplier in your XML file.