[android-developers] Re: Animated background drawable

2010-10-23 Thread Lance Nanek
Weird, the Google I/O session explicitly mentioned Live Wallpapers when showing the Twitter for Android application's dashboard screen: Let's get started looking at Twitter for Android shall we? So, we start with the dashboard firmly in place, and as you can see, the one twist that we've done

[android-developers] Re: Animated background drawable

2010-10-20 Thread Moss
So just make some sprites move around in a 2D canvas. It's not too hard to be done :P On Oct 20, 5:31 am, Dianne Hackborn hack...@android.com wrote: On Tue, Oct 19, 2010 at 3:08 PM, Streets Of Boston flyingdutc...@gmail.comwrote: If i remember correctly, Twitter used to draw its animated

[android-developers] Re: Animated background drawable

2010-10-19 Thread Streets Of Boston
If i remember correctly, Twitter used to draw its animated backgrounds using the LiveWallpaper feature (which you can show in your own Activities' backgrounds as well). On Oct 6, 8:15 am, oriharel ori.ha...@gmail.com wrote: Just like Twitter for android used to have (they removed it) - I need

Re: [android-developers] Re: Animated background drawable

2010-10-19 Thread Romain Guy
No, Twitter is not using a LiveWallpaper. It's just a custom subclass of Drawable. There's nothing crazy or advanced about it :) On Tue, Oct 19, 2010 at 3:08 PM, Streets Of Boston flyingdutc...@gmail.com wrote: If i remember correctly, Twitter used to draw its animated backgrounds using the

Re: [android-developers] Re: Animated background drawable

2010-10-19 Thread Dianne Hackborn
On Tue, Oct 19, 2010 at 3:08 PM, Streets Of Boston flyingdutc...@gmail.comwrote: If i remember correctly, Twitter used to draw its animated backgrounds using the LiveWallpaper feature (which you can show in your own Activities' backgrounds as well). It didn't; that would require the user

[android-developers] Re: Animated background drawable

2010-10-18 Thread oriharel
Is this just for cross-fade? can the transition be a slide and not fade? On Oct 6, 2:19 pm, Kumar Bibek coomar@gmail.com wrote: Look at Transition Drawables. http://developer.android.com/guide/topics/resources/drawable-resource... On Wed, Oct 6, 2010 at 5:45 PM, oriharel

Re: [android-developers] Re: Animated background drawable

2010-10-18 Thread Mark Murphy
On Mon, Oct 18, 2010 at 7:35 AM, oriharel ori.ha...@gmail.com wrote: Is this just for cross-fade? can the transition be a slide and not fade? AnimationDrawable is a series of frames, each as a PNG (or JPEG, I presume). You can draw your PNG files however you like. -- Mark Murphy (a Commons

[android-developers] Re: Animated background drawable

2010-10-18 Thread oriharel
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

Re: [android-developers] Re: Animated background drawable

2010-10-18 Thread Mark Murphy
On Mon, Oct 18, 2010 at 8:10 AM, oriharel ori.ha...@gmail.com wrote: but how do I control the transition of items in the AnimationDrawable? You design your frames appropriately. Frame animations are roughly equivalent to animated GIFs in this respect. What I really what is to create an