android:duration Amount of time (in milliseconds) that the transition should run.
android:interpolator Interpolator to be used in the animations spawned by this transition.
android:matchOrder The match order to use for the transition.
android:startDelay Delay in milliseconds before the transition starts.
ChangeBounds 继承自transition
This transition captures the layout bounds of target views before and after the scene change and animates those changes during the transition.
在scene改变之前和之后捕捉目标视图的layout 边界
A ChangeBounds transition can be described in a resource file by using the tag changeBounds,
using its attributes of ChangeBounds along with the other standard attributes of Transition.
特有属性:android:resizeClip Resize the view by adjusting the clipBounds rather than changing the dimensions of the view itself.
ChangeTransform 继承自transition
This Transition captures scale and rotation for Views before and after the scene change and animates those changes during the transition.A change in parent is handled as well by capturing the transforms from the parent before and after the scene change and animating those during the transition.
在这个转场的过程中,在scene改变之前和之后捕捉视图的缩放和旋转,并且在此过度动画期间使这些变化更栩栩如生(更炫更酷更流畅)。
这种变化如果在父类中被处理,就通过父类去捕捉这种改变在scene改变之前和之后,并且在此过度动画期间使这些变化更栩栩如生(更炫更酷更流畅)。
特有属性:
android:reparent Tells ChangeTransform to track parent changes.android:reparentWithOverlay A parent change should use an overlay or affect the transform of the transitionining View.
ChangeClipBounds 没有自己特有的属性
ChangeClipBounds captures the getClipBounds() before and after the scene change and animates those changes during the transition.ChangeImageTransform 没有自己特有的属性
This Transition captures an ImageView's matrix before and after the scene change and animates it during the transition.
In combination with ChangeBounds, ChangeImageTransform allows ImageViews that change size, shape, or ImageView.ScaleType to animate contents smoothly.
在scene改变之后和之后捕捉ImageView的矩阵
组合使用ChangeBounds, ChangeImageTransform,允许Imageviews 改变自己的大小,形状及ScaleType,使这些内容更顺滑流畅。
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
下面是ValueAnimation和ObjectAnimation中的 propertyName
1,translationX and translationY: These properties control where the View is located as a delta from its left and top coordinates which are set by its layout container.
2,rotation, rotationX, androtationY: These properties control the rotation in 2D (rotation property) and 3D around the pivot point.
3,scaleX and scaleY: These properties control the 2D scaling of a View around its pivot point.
pivotX and pivotY: These properties control the location of the pivot point, around which the rotation and scaling transforms occur. By default, the pivot point is located at the center of the object.
x and y: These are simple utility properties to describe the final location of the View in its container, as a sum of the left and top values and translationX and translationY values.
4,alpha: Represents the alpha transparency on the View. This value is 1 (opaque) by default, with a value of 0 representing full transparency (not visible).