Our new Fragment looks kind of cool, but what would make it cooler? If it had a UFO teleport into it!
We are going to add a new UFO graphic, and we will create a new sort of interpolator to add it to the screen. The teleport looks a little bit like a flickering signal being tuned in. When it starts, it will be all flickers and no alien. But as it progresses, the flickering will become a steadier image of a UFO.
Ready? Let's go.
alien.pngfrom the code bundle of this chapter, and put it in your project under
OrreryInfofragment. Open up
OrreryInfo.javaand add the following in