Wish Label ellipsize setMaxLines (Designer)

yiankos1

Well-Known Member
Licensed User
Longtime User
Hello,
It would be usefull if we could set max lines for ellipsize(not just single line).
This can be done only through code:
B4X:
Sub SetEllipsize(TextView As Label)
    Dim r As Reflector
    r.Target = TextView
    r.RunMethod2("setMaxLines",4,"java.lang.int")
    r.RunMethod2("setEllipsize", "END", "android.text.TextUtils$TruncateAt")
End Sub
Thank you for your time.
 
Top