Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 22.214.171.124 release ready!
Updated 22 September 2017
In this blog, we will learn about how you can add simple animations in your android application.
We all know that adding some small animations in your application can indeed increase the User Experience and the User Engagement of your application.
While you can definitely use some animation libraries like Lottie (from Airbnb) and Shimmer (from facebook). But do we really need their animation? The answer, in reality, is “NO”.
The Android supports many simple animations by default and you can use them on your views and their use is very easy.
If you are new to android animations you can read this blog and get a quick start :
Some basic animations in Android
After reading this small piece, you can easily understand that adding animations is a very easy task.
Also, You can start trying the basic animation by just using this line whenever you start a new activity
See, using animations is as easy as adding this simple line.
Now, we will learn how to add some animations to some views so that when they are created they appear with some animation.
Code in your Activity :
And it is done.
For seeing the demo of what these animations will be like check the gif.
The “Simple animations demo ” view has bounce effect on it and the “By : Anchit Makkar” has horizontal movement effect on it.
You can explore more animations by changing the values in XML. Explore more till you find what you need
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.