Skip to content Skip to sidebar Skip to footer

Unexpected Top And Bottom Padding On A TextView?

I have a TextView. I want to set its background color. But the color fills more top space than it does bottom space.

Solution 1:

Add the following attribute:

android:includeFontPadding="false"

Post a Comment for "Unexpected Top And Bottom Padding On A TextView?"