cogitolearning
November 7, 2013
Android, Tutorials
android, animation, scene, transition, tutorial
In Android KitKat (API level 19) Google introduces a new system for animating layout changes. Before KitKat the only way to animate layout changes in XML was to set the flag animateLayoutChange on a ViewGroup. This did not give you…
Read more
cogitolearning
October 31, 2013
Android, Tutorials
android, animation, tutorial
When reading though the documentation for View Animations you might stumble across the three flags fillBefore, fillAfter and fillEnabled. You can set the flags in the XML resource of an animation, something like this. <scale android:duration=”300″ android:fillAfter=”true” android:fillBefore=”false” android:fillEnabled=”true” android:fromXScale=”0.0″…
Read more
cogitolearning
October 30, 2013
Android, Tutorials
android, animation, startOffset, tutorial
Until now we have avoided talking about startOffset, a property that allows you to delay the start of an animation by a specified number of milliseconds. You can do this in the XML resource file of your animation. <scale android:duration=”300″…
Read more
cogitolearning
October 24, 2013
Android, Tutorials
android, animation, interpolator, tutorial
Today I will show you how to customise and even create your own interpolators. As discussed previously, the View Animation system provides a number of ready made interpolators. But sometimes you have your own requirements and you just want that…
Read more
cogitolearning
October 17, 2013
Android, Tutorials
android, animation, java, tutorial
Previously I showed you how to create View animations using XML resources. I just wrote a few lines of actual Java code that was only needed to start the animation. In this post I will show you how you can…
Read more
cogitolearning
October 9, 2013
Android, Tutorials
android, animation, interpolator, tutorial
In the last post I promised to continue the animations tutorial with telling you how customise your animation using interpolators and attributes that are common to all ViewAnimation objects. In this post I will be using a simple animation of…
Read more
cogitolearning
September 18, 2013
Android, Tutorials
android, animation, tutorial
In the last post I introduced the Android’s simple View Animation system and implemented a basic animation. In this post I will tell you what properties you can animate with the View Animation systems and how to combine multiple animations….
Read more
cogitolearning
September 10, 2013
Android, Tutorials
android, animation, tutorial
Introduction In this series of tutorials I will talk about Android Animations. The Animations Framework lets you create visually appealing animations and transitions in you apps. Using these animations in the right places can turn your good looking app into…
Read more
cogitolearning
August 28, 2013
Android, Links
android, links, tutorial
The summer holidays are almost over and some of you might have decided to become an Android developer. During the holidays I have collected 42 links that help you learn about Android. Some links are on a beginner level to…
Read more
cogitolearning
June 24, 2013
Android, Tutorials
activity, android, application, java, thread
In the last post, I talked about the difference between a service and a background thread in Android. In this post I want to talk about updating an activity from a background thread that runs in the application context. As you…
Read more