¡@

Home 

2014/10/16 ¤W¤È 08:13:51

android Programming Glossary: fromview

Displaying card flip animation on old android

http://stackoverflow.com/questions/16030667/displaying-card-flip-animation-on-old-android

And finally the FlipAnimation class public class FlipAnimation extends Animation private Camera camera private View fromView private View toView private float centerX private float centerY private boolean forward true Creates a 3D flip animation.. centerX private float centerY private boolean forward true Creates a 3D flip animation between two views. @param fromView First view in the transition. @param toView Second view in the transition. public FlipAnimation View fromView View toView.. @param fromView First view in the transition. @param toView Second view in the transition. public FlipAnimation View fromView View toView this.fromView fromView this.toView toView setDuration 700 setFillAfter false setInterpolator new AccelerateDecelerateInterpolator..