Changes

Jump to: navigation, search
Adding the Transition File
== Adding the Transition File ==
All of the transition effects for this project will be implemented within a single transition XML resource file. As outlined in the chapter entitled Animating User Interfaces with the Android Transitions Framework, transition resource files must be placed in the res/transition folder of the project. Begin, therefore, by right clicking on the res folder in the Package Explorer panel and selecting the New -> Folder… menu option. In the resulting dialog, name the new folder transition and click on the Finish button. Right click on the new transition folder, this time selecting the New -> File… File option and name the new file transition.xml.
With the newly created transition.xml file selected and loaded into the editing panel, add the following XML content to add a transition set that enables the change bounds transition animation with a duration attribute setting:

Navigation menu