Sine curve movement of Android animation and android sine curve
[Statement] reprinted please indicate the source, this article from the fingertip flying blog: http://blog.csdn.net/huntersnail
-- Respect the author. The knowledge is priceless and there is no limit to communication!
<? Xml version = "1.0" encoding = "UTF-8"?>
<! --
Trajectory of the specified movement
Android: interpolator = "@ android: anim/cycle_interpolator"
Cycle_interpolator: sine curve
-->
<Translate xmlns: android = "http://schemas.android.com/apk/res/android"
Android: duration= "120"
Android: fromXDelta = "0"
Android: interpolator = "@ android: anim/cycle_interpolator"
Android: repeatCount = "3"
Android: toXDelta = "5">
<! -- FromXDelta \ toXDelta: Start Point and end point of the displacement -->
</Translate>
O (∩) O Haha ~ Welcome to all kinds of sputation, contempt, advice, and communication ......
☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆Repost, please specify the source☞Blog with flying tips ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.