2013年12月4日星期三

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.
------ Solution ---------------------------------------- ----
man named AnimationSet class
You can go look specifically overlay animation effects
------ Solution ------------------------ --------------------
upstairs right. . Also generally superimposed written on xml. . .
------ eference --------------------------------------- < br> pan and gradients
android: duration = "1000"
android: fromAlpha = "1.0"
android: toAlpha = "0.0" />

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

没有评论:

发表评论