Undersanding Animation Function In Android
I want to use the following code snippet, please help me in understanding the given functions or suggest me online documentation that can I use. view.animate().setDuration(2000).a
Solution 1:
setDuration(2000)
sets the duration of the animation to 2000 milliseconds or 2 secondsalpha(0)
the view's alpha property will be animated to this valuewithEndAction()
means at the end of the animation the following action will take place
Have a look here (http://developer.android.com/reference/android/view/ViewPropertyAnimator.html)
Solution 2:
check this post, you can understand better
http://developer.android.com/guide/topics/graphics/prop-animation.html
Post a Comment for "Undersanding Animation Function In Android"