Made label to be single line again

This commit is contained in:
Hristo Hristov
2017-03-15 18:19:25 +02:00
parent 64408d726e
commit bb0b1b76a3

View File

@ -19,6 +19,8 @@ export class Label extends TextBase implements LabelDefinition {
public _createNativeView() {
const textView = this._android = new android.widget.TextView(this._context);
textView.setSingleLine(true);
textView.setEllipsize(android.text.TextUtils.TruncateAt.END);
return textView;
}
}