When I have a
TextView with a
\n in the text,, on the right I have two
TextViews, one below the other with no spacing in between. I have set the following for all three
android:lineSpacingMultiplier="1" android:lineSpacingExtra="0pt" android:paddingTop="0pt" android:paddingBottom="0pt"
The first line of the left
TextView lines up perfectly with the top right
The second line of the left
TextView is a little higher than the second line of the bottom right
It seems that there is some kind of hidden padding on the top and the bottom of the
TextViews. How can I remove that?
setIncludeFontPadding (boolean includepad)
XML this would be:
Set whether the
TextView includes extra top and bottom padding to make room for accents that go above the normal ascent and descent. The default is true.