but how do I control the transition of items in the AnimationDrawable? in fact, that might deviate from my real purpose.
What I really what is to create an animated background to my activity. one that the Twitter-For-Android used, initially. Romain suggested to use a custom drawable or a custom view, but I need some more guidance there. 1. how to have an image, that is bigger then the container's size, set as the background/src without it being shrunk (just show part of the image if necessary). 2. how to have it in "motion" repeatedly. for number 1 - I don't have any idea yet (is there a property for that?) for number 2 - I tried stuff like <translate> animation and TranslateDrawable, but those are not what I'm looking for. (or am I wrong...?) thanks! Ori On Oct 18, 1:41 pm, Mark Murphy <[email protected]> wrote: > On Mon, Oct 18, 2010 at 7:35 AM, oriharel <[email protected]> wrote: > > Is this just for cross-fade? > > can the transition be a slide and not fade? > > AnimationDrawable is a series of frames, each as aPNG(or JPEG, I > presume). You can draw yourPNGfiles however you like. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

