[android-developers] Tansition between two Images.

2011-04-04 Thread Aditya
Hello, I need to keep an image in background and rotate or do any other animation on top of that with another image. But I cant keep any image in background. Can any one please help me? Thanks Aditya.

Re: [android-developers] Tansition between two Images.

2011-04-04 Thread Raghav Sood
Hi, If the background image is literally a background you could set it in XML using android:background=@dfrawable/whatever. If it is for a small portion of the screen you could put it in an image view and draw the animation on top of it. On Mon, Apr 4, 2011 at 3:21 PM, Aditya

Re: [android-developers] Tansition between two Images.

2011-04-04 Thread Aditya
Thanks for the response, But am looking something to be done in code itself, not in xml. On Mon, Apr 4, 2011 at 3:27 PM, Raghav Sood raghavs...@gmail.com wrote: Hi, If the background image is literally a background you could set it in XML using android:background=@dfrawable/whatever. If it

Re: [android-developers] Tansition between two Images.

2011-04-04 Thread Raghav Sood
You could use http://developer.android.com/reference/android/view/View.html#setBackgroundResource(int) On Mon, Apr 4, 2011 at 4:01 PM, Aditya dabhaga...@gmail.com wrote: Thanks for the response, But am looking something to be done in code itself, not in xml. On Mon, Apr 4, 2011 at 3:27 PM,