In theory you could use a list object loaded such that the first 3 symbols were duplicated at the end of the list. Start with the second symbol displayed in the center (with one above and one below), and "rotate" until the last 3 symbols are displayed, then switch back to display the first 3.
Don't know if you could do the switch fast enough to be "seamless", but then the user is working the phone up and down like the pull lever on the slot (you are using the built-in accelerometer, aren't you? ;) ), so don't know that he'd notice a little jump. On Jul 24, 9:17 am, g0B <din...@gmail.com> wrote: > Hi, > > I am looking to simulate a slot machine, now so far I am just > animating drawables and looping it to create the effect. I was > wondering if I could achieve this through a listview instead. I tried > looking at this approach but I cannot get it to loop back to the > beginning after it reaches the end. > > Is there a better way to achieve what I am trying to do? > > Thanks, > Govind -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en