Control jitter: in fact, it is the control of animation, so that the control can be quickly moved. However, the moving method and time difference need to be controlled.
<? XML version = "1.0" encoding = "UTF-8"?>
<Set xmlns: Android = "http://schemas.android.com/apk/res/android"
Android: interpolator = "@ anim/cycle" <! -- Let the animation loop, you can continue to cross the border in this direction when returning to the original position, this is a doubt, but the effect is indeed good -->
>
<Translate
Android: fromxdelta = "0"
Android: toxdelta = "-10"
Android: fromydelta = "0"
Android: toydelta = "-10"
Android: Duration = "300"/>
<! -- First move to the upper left corner, and then return to the original position after execution. -->
<Translate
Android: fromxdelta = "0"
Android: toxdelta = "10"
Android: fromydelta = "0"
Android: toydelta = "-10"
Android: startoffset = "300"
Android: Duration = "300"/>
<! -- The delay is 300, that is, the moving method starts after the first movement ends and returns to the original position. -->
<Translate
Android: fromxdelta = "0"
Android: toxdelta = "-10"
Android: fromydelta = "0"
Android: toydelta = "10"
Android: startoffset = "600"
Android: Duration = "300"/>
<! -- Start executing the second animation after it is borrowed. in the lower right corner, it is... -->
<Translate
Android: fromxdelta = "0"
Android: toxdelta = "10"
Android: fromydelta = "0"
Android: toydelta = "10"
Android: startoffset = "900"
Android: Duration = "300"/>
<! -- And so on... -->
</Set>