As I understand the Label is an extension of textview which exposes the setEllipsize method which allows text to scroll if it is too long.
The argument to the function is however an enumerated type and I do not know how to pass that through reflection.
TextView | Android Developers)
I have tried java.lang.Enum as well.
The argument to the function is however an enumerated type and I do not know how to pass that through reflection.
TextView | Android Developers)
B4X:
Dim r As Reflector
r.Target = lbl
r.RunMethod2("setEllipsize","MARQUEE", "java.lang.Object")
I have tried java.lang.Enum as well.