Animation XML files.
<AnimationDefinition>
<Affector name=‘要被改变的属性名’ interpolator=‘关键帧之间平滑过度的数值’>
//specifies the name of a property that will be affected (have it‘s value changed) as part of the animation
<KeyFrame>position=‘关键帧的时间’ value=‘要将属性设置成的值’</KeyFrame>
</Affector>
</AnimationDefinition>
也就是:动画是连续改变窗口的某个属性--setproperty(name, value),属性值由关键帧来定,帧动画呗→_→
时间: 2024-10-12 05:32:11