cogitolearning
February 19, 2015
Android, Tutorials
android, custom, onDraw, view
When you create you own custom view you will probably give the view its own special appearance. You probably want to draw the elements of the view onto the screen somehow. This is achieved by overriding the onDraw method of…
Read more
cogitolearning
October 1, 2014
Android, Tutorials
android, custom, view
In this series of posts I will be developing a custom View and I will be taking you through all the steps necessary to develop your own custom views and making them look beautiful. For the app that I am…
Read more
cogitolearning
February 6, 2014
Android, Tutorials
android, animation, observer, tutorial
In the previous post on property animations we have come to know two types of animators. The ObjectAnimator animates a property of a single object. The AnimatorSet is a container that manages multiple Animator objects and has the functionality to…
Read more
cogitolearning
January 30, 2014
Android, Tutorials
android, animation, listener, observer, tutorial
Using Animator Listeners Animator listeners provide a powerful tool to monitor the state of animation. The animation listener implements the classic observer design pattern. The Animator.AnimatorListener interface defines a number of methods that need to be implemented. Any number of…
Read more
cogitolearning
January 23, 2014
Android, Tutorials
android, animation, tutorial
In today’s post I will be talking about controlling animation flow. Using the Animator API you can start, stop and cancel animations. A little reported addition in the Kitkat API level 19 allows you to also pause and resume animations….
Read more
cogitolearning
January 16, 2014
Android, Tutorials
android, animation, evaluator, tutorial
Until now we have been animating float or int properties only. The Property Animation System is, however, not limited to only simple numeric types. Out of the box, you can also animate ARGB colours and Rect objects by using the…
Read more
cogitolearning
January 9, 2014
Android, Tutorials
android, animation, builder, tutorial
The Animation Set allows you to choreograph a number of animations to play in parallel and in sequence. This gives you a great degree of artistic freedom. It also means that the standard API can get somewhat confusing if you…
Read more
cogitolearning
December 5, 2013
Android, Tutorials
android, animation, property animations, tutorial
In the previous post on property animations I introduced the ObjectAnimator to create animations on arbitrary properties on objects. The only restriction is that the object must define a setter method for the property that should be animated. ObjectAnimator extends…
Read more
cogitolearning
November 28, 2013
Android, Tutorials
android, animation, introduction, tutorial
In a previous post I introduced you to the different types of animation systems that Android provides before explaining the View Animation System. The View Animation System allowed you to simply animate changes in the appearance of a View element….
Read more
cogitolearning
November 21, 2013
Android, Tutorials
android, animation, design, transition, tutorial, ui
In this series of posts I will develop a more practical example to show where transitions can be useful. In this post I will start with the initial layout and design of a user interface and create the default transitions…
Read more