android - Animation effect one screen to another screen? -


when go 1 activity activity ,can effect?

it possible? if possible, can give me reference or snippet please?

thx

ok @ demo code on dev site:

http://developer.android.com/resources/samples/apidemos/src/com/example/android/apis/app/animation.html

the key lines are:

startactivity(new intent(activity1.this, activity2.class)); overridependingtransition(r.anim.fade, r.anim.hold); 

android has standard animations or can create them in xml , save them inside "res/anim"


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -