Ant
Ant

Reputation: 85

Animate background in activity

I would like to have an animated background in my activity (animation such a translation or zoom on a image). To give you an example the twitter app made this on the login activity. It slowly zoom on the background image as below :

Begin End

I didn't find any solution to move a drawable set with

getWindow().setBackgroundDrawable()

Should I use an ImageView as background widget and then perform animation by changing the source image ?

Any ideas on how can I do this ?

Upvotes: 2

Views: 1771

Answers (1)

prasanth
prasanth

Reputation: 11

i think following link useful to you

https://github.com/Tprasanth/SplashScreenZoom

Upvotes: 1

Related Questions