How to align the text to top of a TextView?
Equivalent Android API for Swings setInsets()?
that is top of text should start be in (0,0) of TextView
The actual font itself has extra whitespace on the top and bottom I believe.
Usually what I do is give the view negative margins. The issue is that this looks bad when devices come with different fonts.
android:layout_marginTop="-5dp"
android:layout_marginBottom="-5dp"
You will have to adjust based on the text size, bigger text sizes require more negative padding.