Android Question Marquee on a label

Discussion in 'Android Questions' started by ocalle, Sep 18, 2018.

  1. ocalle

    ocalle Active Member Licensed User

    Hello Folks, is there a way to do a marquee on a label from a sqllite table for show some stuff without modify the app running status, i saw many post with warnings.

    Thanks in advance
  2. Semen Matusovskiy

    Semen Matusovskiy Well-Known Member Licensed User

    After filling text, textcolor etc. add
    Label1.SingleLine = True
    Label1.Ellipsize = 
    Dim jo As JavaObject = Label1
    Sleep (
    jo.RunMethod (
    "setSelected"Array (True))
    Without Sleep scrolling will not work.

    There are additional useful properties. For example:

    jo.RunMethod ("setMarqueeRepeatLimit", Array (-1))
    jo.RunMethod ("setFreezesText", Array (False))
    Last edited: Sep 19, 2018
    inakigarm, jimmyF and ocalle like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice