11

I have a TextView with about 10 rows. I want to have the lines more separated from each other. I can't seem to find an attribute for doing that. I tried with: android:includeFontPadding="true" but the text got all weird like stretched or something. Is there any attribute that I don't know about to do that?

Thanks in advance.

TofferJ
  • 4,678
  • 1
  • 37
  • 49
madcoderz
  • 4,423
  • 10
  • 47
  • 74
  • http://stackoverflow.com/questions/6863974/android-textview-padding-between-lines – Slavik Voloshyn Jan 22 '13 at 10:22
  • Does this answer your question? [Android TextView padding between lines](https://stackoverflow.com/questions/6863974/android-textview-padding-between-lines) – TofferJ Feb 07 '20 at 18:41

2 Answers2

24

Use android:lineSpacingMultiplier="1.2" or some number greater than 1

TofferJ
  • 4,678
  • 1
  • 37
  • 49
12

You can use android:lineSpacingExtra="xxdp"

rochdev
  • 3,835
  • 2
  • 21
  • 18