Chapter 16. UI Animations
In this chapter, we will see how to use the
Animation class to make our UI more mobile and interesting. As we have come to expect, and the
Animation class is no different, the Android API will allow us to do some quite advanced things with relatively straightforward code.
This chapter can be approximately divided into these topics:
- An introduction to how animations in Android work and are implemented
- An introduction to a new UI widget: SeekBar
- A working animated mini app
- Adding simple, pleasing animations to the Note To Self app
First, let's see how do animations in Android work?
Animations in Android
The normal way to create an animation in Android is through XML. We can write XML animations and then load and play them in Java ...