Skip to content

Commit

Permalink
android:text setIncludeFontPadding to false
Browse files Browse the repository at this point in the history
  • Loading branch information
penfeizhou committed Apr 1, 2020
1 parent 78d4f51 commit c20f1c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ protected TextView build() {
tv.setGravity(Gravity.CENTER);
tv.setMaxLines(1);
tv.setEllipsize(TextUtils.TruncateAt.END);
tv.setIncludeFontPadding(false);
return tv;
}

Expand Down

0 comments on commit c20f1c5

Please sign in to comment.