Ok, so everything is in the title : if we change the spacing between lines of a TextView with lineSpacingMultiplier
or lineSpacingExtra
, the last line of the TextView adds the extra too.
So the result is that we have spacing in the bottom of the view, as if we had a bottom padding. The text doesn't appear to be centered in the view, so the design of the layout is not sexy.
Is this really the correct behavior or a bug ? and is there any way to remove this spacing for the last line ?
In fact, I was using custom fonts that were making this behavior. So it's not a platform bug, or anything like that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With