Continuous animation in xml?

Problems with Canvas, OpenGL, etc...

Continuous animation in xml?

Postby erosas » Thu Jun 09, 2011 1:42 am

How do you set an animation to be continuous(as in, loop infinitely until the user does something)? I'm sure there is a thread I could use in Java, but I'm trying to separate the animation xml and the java code as much as possible. Anybody have any ideas?
erosas
Freshman
Freshman
 
Posts: 9
Joined: Wed Jun 01, 2011 1:29 am

Top

Re: Continuous animation in xml?

Postby erosas » Thu Jun 09, 2011 4:05 am

Nevermind I figured it out, all you have to do is type:

android:repeatCount="infinite"

in the xml anim file, I'll keep this up for reference for everyone else
erosas
Freshman
Freshman
 
Posts: 9
Joined: Wed Jun 01, 2011 1:29 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 1 guest