A (175)

(Tuis.) #1
CHAPTER 10: Android Animation: Making Your UI Designs Move 373

Figure 10-9. Create an /anim folder under the HelloUniverse/res folder (left) and create a Tween Animation XML


Once you have a /res/anim folder in place, seen in Figure 10-10 on the left, right-click on that folder
and select the New ➤ Android XML File menu sequence to open the dialog shown on the right
side of Figure 10-9. Since you right-clicked on the /anim folder, Eclipse will set the Resource Type
to Tween Animation, so all you need to do is to name this file anim_andromeda, and select the


root element, as seen in Figure 10-9. Once you click the Finish button, you will see the
bootstrap (empty) anim_andromeda.xml file seen in Figure 10-10.
Free download pdf