<?XML version= "1.0" encoding= "Utf-8"?><Setxmlns:android= "Http://schemas.android.com/apk/res/android"> <Translateandroid:duration= "$"Android:fromydelta= "115%"Android:interpolator= "@android: Interpolator/accelerate_cubic"Android:toydelta= "100%"></Translate> <Alphaandroid:duration= "@android: Integer/config_mediumanimtime"Android:fromalpha= "0.0"Android:toalpha= "1.0" /></Set>
which
Translate position transfer animation effect
integer value:
&NBSP ; Fromxdelta property is the position of the x-coordinate at the start of the animation
Toxdelta Property is the position of the x-coordinate at the end of the animation
Fromydelta properties for animations The position at the start of the y-coordinate is
Toydelta property is the position of the y-coordinate at the end of the animation
& nbsp NOTE: ,
&NB Sp No designation, &NBSP,
&N Bsp default is to use their own relative reference
Long value:
duration Properties for animation duration
Description: The time is measured in milliseconds
In these properties you can also add% and P, for example:
Android:toxdelta= "100%", which means 100% of itself, starting from view's own position.
Android:toxdelta= "80%p", which represents 80% of the parent view, is referenced by its parent view.
Android-anim translate Fromxdelta, Toxdelta, Fromydelta, Toxdelta properties