Hi, as promised in the previous posts, we’re going to get into animation types. It might be overwhelming if you just use any animation type like ViewAnimation, ViewPropertyAnimator for alpha, scale etc. It works, because api’s are really simple to use, but you might still doubt about why there’s a duplicate (?) of achieving the same thing. In this post we’ll get deep into Animation Types and will understand the purpose of them.
In the previous post we made a custom view and animated it by manual frame animations. We created custom attributes for users to customize its appearance, values, animation time. Although looking nice already, it’s not a finished work. Today we’ll add a TextView to display its value and add an interpolator.
Hey guys, let’s do some custom view coding today and combine with the most thing I like – animations! What we’re going to code is a progress circle like they have in Google Fit app. The most trivial view to draw, though it would look amazing to animate it. Excited? Let’s get started! Continue reading Android Animating Custom View