Friday, February 7, 2014

Android two tween animations (such as mobile and gradients) Is there a way overlay display?


            
I want to achieve an image while moving darkening effect, but both can not be tween animation superimposed in front of a rear one will be overwritten. After moving to write such a gradient effect is gone. Which way to get an expert to have two effects simultaneously display? Thank you.
Reply:
Class
of a man named AnimationSetYou can go look at specialized overlay animation effects
Reply:
Upstairs right. . Also generally superimposed written on xml. . .
Reply:
Pan and gradient
android: duration = "1000"
android: fromAlpha = "1.0"
android: toAlpha = "0.0" />

android: duration = "300"
android: fillAfter = "true"
android: fromYDelta = "0"
android: toYDelta = "-170" />

No comments:

Post a Comment