dor506
dor506

Reputation: 5404

Remove unwanted spacing between lines in TextView

I have a textview which I use custom font on.

The textview is multiline... The problem is that there's big space between each line to the other line.

Is there a way to decrease the spacing between lines?

android:lineSpacingExtra Isn't help me, As I need the opposite thing

Upvotes: 5

Views: 6082

Answers (2)

IsaiahJ
IsaiahJ

Reputation: 454

Adding a negative value for android:lineSpacingExtra didn't do anything for me.

Instead I just put any value less than 1.0 for android:lineSpacingMultiplier i.e. android:lineSpacingMultiplier="0.7"

Upvotes: 4

Barak
Barak

Reputation: 16393

I think you could use a negative value in android:lineSpacingExtra

Upvotes: 15

Related Questions