android:text setIncludeFontPadding to false

This commit is contained in:
pengfei.zhou 2020-04-01 17:57:38 +08:00 committed by osborn
parent 78d4f51314
commit c20f1c53bf

View File

@ -44,6 +44,7 @@ public class TextNode extends ViewNode<TextView> {
tv.setGravity(Gravity.CENTER);
tv.setMaxLines(1);
tv.setEllipsize(TextUtils.TruncateAt.END);
tv.setIncludeFontPadding(false);
return tv;
}