Android Question How to animate text

Discussion in 'Android Questions' started by clurbina, Nov 18, 2018.

  1. clurbina

    clurbina Member Licensed User

    In https://www.b4x.com/android/forum/threads/viewanimations.65124/, DonManfred has a ViewAnimations example which I successfully downloaded and executed and it did what it was supposed to do. Hoping to do something similar in my first app, I was hoping to see some B4X code that was behind the nice effects. Such code was not visible. Does anyone know of a simple B4x example that I can use to move text around like this?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Which one of the animations?

    There are several built in animations: View.SetLayoutAnimated, SetVisibleAnimated, SetColorAnimated, SetRotationAnimated
     
  3. Star-Dust

    Star-Dust Expert Licensed User

    See this:https://www.b4x.com/android/forum/threads/b4x-xui-sd-xuiview.96178/
     
  4. clurbina

    clurbina Member Licensed User

    In reply to Erel, I am looking for an example of how to animate text. A good example is "Hello World" floating across the screen from left to right or right to left or top to down. But I did not see any B4X code to do this. I do not understand how you can do things in a hidden way, a way in which the code is not visible. On the other hand, please don't waste your time on my questions, your time is valuable to help more advanced users with their problems.

    In reply to Star-Dust, I am in awe of the scope of https://www.b4x.com/android/forum/threads/b4x-xui-sd-xuiview.96178/. Wow! I truly admire you all's capacity. In those posts, I feel that I am listening to the discussion between Planck, Rutherford and Einstein and Fermi and I am still struggling to memorize the times tables. I am still looking for a program that i can study and imitate, something simple like i described in the paragraph above.
     
  5. Star-Dust

    Star-Dust Expert Licensed User

    Can you show something that represents what you want to achieve?
    I did not understand what animation you are looking for, unfortunately I read English with the help of a translator
     
  6. clurbina

    clurbina Member Licensed User

    imagine a label. It says "Star-Dust". the label moves across the screen.
    I would like to see a simple B4A example that does this, with actual B4X code.
    The examples that are available do not show the B4X code.
     
  7. Star-Dust

    Star-Dust Expert Licensed User

    Moves? What do you mean?
    Whether the label fluctuates from one side to the other, or that the text flows like in electronic signs?
     
  8. clurbina

    clurbina Member Licensed User

    Text flows like in electronic signs.
    It appears at the left border and slowly moves to the right and disappears at the right border.
    Or starts at the lower left corner and ends at the upper right corner.
     
  9. Jeffrey Cameron

    Jeffrey Cameron Active Member Licensed User

  10. Star-Dust

    Star-Dust Expert Licensed User

Loading...
  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