It can work in a widget. However it will probably not be smooth as it will need to send the image for each frame from the widget process to the host process.
i saw another way to do this, with reflector and setEllipsize, but we don't know how to do with a widget :
Dim r As Reflector
r.Target = TextView
r.RunMethod2("setSingleLine", True, "java.lang.boolean")
r.RunMethod2("setEllipsize", Mode, "android.text.TextUtils$TruncateAt")
r.RunMethod2("setSelected", True, "java.lang.boolean")
...
I'm getting OutOfMemory errors with this on large sized long text. I want to set the text size to 200 for example, and a few letters will work, but a sentence will crash it as soon as it initializes. Is there a way to do this in segments?
Unfortunately, for what I'm trying to do, I need to be able to do a full sentence or two in large type.
Yes, it's definitely the bitmaps that error out Klaus... Of course, the larger the text, the bigger the bitmap.
I'm wondering if there's another way to do this. It's definitely happening when it creates the bitmaps (c in particular). Is there any low level way to make the text scroll on it's own?