android:text setIncludeFontPadding to false
This commit is contained in:
parent
78d4f51314
commit
c20f1c53bf
@ -44,6 +44,7 @@ public class TextNode extends ViewNode<TextView> {
|
|||||||
tv.setGravity(Gravity.CENTER);
|
tv.setGravity(Gravity.CENTER);
|
||||||
tv.setMaxLines(1);
|
tv.setMaxLines(1);
|
||||||
tv.setEllipsize(TextUtils.TruncateAt.END);
|
tv.setEllipsize(TextUtils.TruncateAt.END);
|
||||||
|
tv.setIncludeFontPadding(false);
|
||||||
return tv;
|
return tv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user