Animation - GIF

All your problems with Audio, Video and Images.

Animation - GIF

Postby msumaithri » Thu Jan 27, 2011 12:51 pm

Can someone please give the Code and XML file required to create an animation using .png files?
I've tried the one given in here http://developer.android.com/reference/ ... wable.html
But, once I type, :src: <animation-list android:id="selected" android:oneshot="false">
<item android:drawable="@drawable/connected01" android:duration="50" />
<item android:drawable="@drawable/connected02" android:duration="50" />
<item android:drawable="@drawable/connected03" android:duration="50" />
<item android:drawable="@drawable/connected04" android:duration="50" />
<item android:drawable="@drawable/connected05" android:duration="50" />
</animation-list>
I'm getting an error : "unbound prefix"

Can someone say how this could be done ?
msumaithri
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Jan 19, 2011 5:44 am

Top

Re: Animation - GIF

Postby jonbonazza » Fri Jan 28, 2011 1:13 am

You're not typing the '@' character are you?
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 11 guests