Smoot moving of view (to make an endless scrollview)

Discussion in 'Chit Chat' started by KMatle, Feb 20, 2015.

  1. KMatle

    KMatle Expert Licensed User

    I think there was a thread about "smoot moving" of views. I did not find it. Can someome help?
     
  2. NJDude

    NJDude Expert Licensed User

    I think you mean "smooth".

    You could use some of the animation libraries, depending on what you have in mind.
     
    Peter Simpson, KMatle and lemonisdead like this.
  3. lemonisdead

    lemonisdead Well-Known Member Licensed User

    UltimateListView Library (it does so much things), perhaps ?
     
    KMatle likes this.
  4. KMatle

    KMatle Expert Licensed User

    smoot *lol*

    No, I dn't want to use a lib. I'm "sure" there was a code snippet or similar (with a java method) to move a view fast.
     
    lemonisdead likes this.
  5. lemonisdead

    lemonisdead Well-Known Member Licensed User

  6. udg

    udg Expert Licensed User

  7. sorex

    sorex Expert Licensed User

    with endless scroll view you mean something like logo's scrolling from right to left continnously?

    just change the position of the images every xx milisecond and when it goes offscreen you place them back again at the end.
     
    KMatle likes this.
  8. wonder

    wonder Expert Licensed User

    Smooth? LibGDX! :D
     
    Peter Simpson and KMatle like this.
  9. Cableguy

    Cableguy Expert Licensed User

    misspellings aside, why does everyone keep sugesting a lib?
     
  10. Troberg

    Troberg Well-Known Member Licensed User

    I think it would be useful if you could describe your problem in greater detail. Is it a rolling logo, an endless news ticker, a scrolling game or something else. It makes a huge difference on the solution.
     
    Cableguy likes this.
  11. DonManfred

    DonManfred Expert Licensed User

    sure
    Code:
    ' Move button now
    button1.left = 50%x
    ' Button moved
    Sorry. Couldn´t resist :D
     
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