文件名称:android_fram_animation
介绍说明--下载内容均来自于网络,请自行研究使用
Amination的整体使用有2种方法,即Tween Animation和fr a me Animation,在博客Android开发历程_8(Tween Animation的2种属性设置方法) 中已经介绍了Tween Animation的使用方法,且讲到了其2种属性设置方式。这一节就来看看fr a me Animation的使用。参考资料为Mars老师的资料。
fr a me Animation的应用不是很广,它主要是将一张张图片串联起来播放,人眼看上去就感觉在动一样,就是利用这种特性到达动态效果。所以我们必须提前准备各种能组成动画的图片。
使用时需要在res下的drawable文件夹中放入需要动画显示的图片,同时在该文件夹中新建一个xml文件,该xml文件里面一animation-list作为标签,标签里面设置一些item,其资源为该drawable下的图片,然后设置好该图片的持续时间即可。
在这次试验中,我主要是放了5张有关小鸟的图片,其drawable下的xml文件内容如下:-Use of the Amination the as a whole there are two kinds of methods, Tween Animation, and fr a me Animation Tween Animation in the blog Android development course _8 two kinds (of Tween Animation property is set), and talked about two kinds of attributes set up. This section will look at the use of the fr a me Animation. Reference data for the Mars teacher. The application of the fr a me Animation is not very wide, it is mainly a picture of picture series up to play, the human eye seems to feel moving, is to use this feature to reach the dynamic effects. So we must be prepared in advance can form a picture of the animation. Need to use the drawable file in the res folder into the animated display pictures, create a new xml file in the folder, the xml file inside the animation-list as a label, the label which set some item of its resources for the drawable under the picture, and then set the duration of the picture can be. In this experiment, I put a picture of the five birds under its drawabl
fr a me Animation的应用不是很广,它主要是将一张张图片串联起来播放,人眼看上去就感觉在动一样,就是利用这种特性到达动态效果。所以我们必须提前准备各种能组成动画的图片。
使用时需要在res下的drawable文件夹中放入需要动画显示的图片,同时在该文件夹中新建一个xml文件,该xml文件里面一animation-list作为标签,标签里面设置一些item,其资源为该drawable下的图片,然后设置好该图片的持续时间即可。
在这次试验中,我主要是放了5张有关小鸟的图片,其drawable下的xml文件内容如下:-Use of the Amination the as a whole there are two kinds of methods, Tween Animation, and fr a me Animation Tween Animation in the blog Android development course _8 two kinds (of Tween Animation property is set), and talked about two kinds of attributes set up. This section will look at the use of the fr a me Animation. Reference data for the Mars teacher. The application of the fr a me Animation is not very wide, it is mainly a picture of picture series up to play, the human eye seems to feel moving, is to use this feature to reach the dynamic effects. So we must be prepared in advance can form a picture of the animation. Need to use the drawable file in the res folder into the animated display pictures, create a new xml file in the folder, the xml file inside the animation-list as a label, the label which set some item of its resources for the drawable under the picture, and then set the duration of the picture can be. In this experiment, I put a picture of the five birds under its drawabl
(系统自动生成,下载前可以参看下载内容)
下载文件列表
anim_3\.classpath
......\.project
......\.settings\org.eclipse.jdt.core.prefs
......\AndroidManifest.xml
......\bin\AndroidManifest.xml
......\...\anim_3.apk
......\...\classes\com\example\anim_3\BuildConfig.class
......\...\.......\...\.......\......\MainActivity$MyButtonOnClickListener.class
......\...\.......\...\.......\......\MainActivity.class
......\...\.......\...\.......\......\R$attr.class
......\...\.......\...\.......\......\R$drawable.class
......\...\.......\...\.......\......\R$id.class
......\...\.......\...\.......\......\R$layout.class
......\...\.......\...\.......\......\R$menu.class
......\...\.......\...\.......\......\R$string.class
......\...\.......\...\.......\......\R$style.class
......\...\.......\...\.......\......\R.class
......\...\classes.dex
......\...\res\drawable-hdpi\ic_action_search.png
......\...\...\.............\ic_launcher.png
......\...\...\.........ldpi\ic_launcher.png
......\...\...\.........mdpi\ic_action_search.png
......\...\...\.............\ic_launcher.png
......\...\...\.........xhdpi\ic_action_search.png
......\...\...\..............\ic_launcher.png
......\...\resources.ap_
......\gen\com\example\anim_3\BuildConfig.java
......\...\...\.......\......\R.java
......\ic_launcher-web.png
......\libs\android-support-v4.jar
......\proguard-project.txt
......\project.properties
......\res\drawable\anim_list.xml
......\...\........-hdpi\ic_action_search.png
......\...\.............\ic_launcher.png
......\...\.........ldpi\ic_launcher.png
......\...\.........mdpi\frame1.jpg
......\...\.............\frame2.jpg
......\...\.............\frame3.jpg
......\...\.............\frame4.jpg
......\...\.............\frame5.jpg
......\...\.............\ic_action_search.png
......\...\.............\ic_launcher.png
......\...\.........xhdpi\ic_action_search.png
......\...\..............\ic_launcher.png
......\...\layout\activity_main.xml
......\...\menu\activity_main.xml
......\...\values\strings.xml
......\...\......\styles.xml
......\...\......-v11\styles.xml
......\...\.........4\styles.xml
......\src\com\example\anim_3\MainActivity.java
Android开发历程_9(Frame Animation的使用).docx
anim_3\bin\classes\com\example\anim_3
......\...\.......\...\example
......\gen\com\example\anim_3
......\src\com\example\anim_3
......\bin\classes\com
......\...\res\drawable-hdpi
......\...\...\drawable-ldpi
......\...\...\drawable-mdpi
......\...\...\drawable-xhdpi
......\gen\com\example
......\src\com\example
......\bin\classes
......\...\res
......\gen\com
......\res\drawable
......\...\drawable-hdpi
......\...\drawable-ldpi
......\...\drawable-mdpi
......\...\drawable-xhdpi
......\...\layout
......\...\menu
......\...\values
......\...\values-v11
......\...\values-v14
......\src\com
......\.settings
......\assets
......\bin
......\gen
......\libs
......\res
......\src
anim_3
......\.project
......\.settings\org.eclipse.jdt.core.prefs
......\AndroidManifest.xml
......\bin\AndroidManifest.xml
......\...\anim_3.apk
......\...\classes\com\example\anim_3\BuildConfig.class
......\...\.......\...\.......\......\MainActivity$MyButtonOnClickListener.class
......\...\.......\...\.......\......\MainActivity.class
......\...\.......\...\.......\......\R$attr.class
......\...\.......\...\.......\......\R$drawable.class
......\...\.......\...\.......\......\R$id.class
......\...\.......\...\.......\......\R$layout.class
......\...\.......\...\.......\......\R$menu.class
......\...\.......\...\.......\......\R$string.class
......\...\.......\...\.......\......\R$style.class
......\...\.......\...\.......\......\R.class
......\...\classes.dex
......\...\res\drawable-hdpi\ic_action_search.png
......\...\...\.............\ic_launcher.png
......\...\...\.........ldpi\ic_launcher.png
......\...\...\.........mdpi\ic_action_search.png
......\...\...\.............\ic_launcher.png
......\...\...\.........xhdpi\ic_action_search.png
......\...\...\..............\ic_launcher.png
......\...\resources.ap_
......\gen\com\example\anim_3\BuildConfig.java
......\...\...\.......\......\R.java
......\ic_launcher-web.png
......\libs\android-support-v4.jar
......\proguard-project.txt
......\project.properties
......\res\drawable\anim_list.xml
......\...\........-hdpi\ic_action_search.png
......\...\.............\ic_launcher.png
......\...\.........ldpi\ic_launcher.png
......\...\.........mdpi\frame1.jpg
......\...\.............\frame2.jpg
......\...\.............\frame3.jpg
......\...\.............\frame4.jpg
......\...\.............\frame5.jpg
......\...\.............\ic_action_search.png
......\...\.............\ic_launcher.png
......\...\.........xhdpi\ic_action_search.png
......\...\..............\ic_launcher.png
......\...\layout\activity_main.xml
......\...\menu\activity_main.xml
......\...\values\strings.xml
......\...\......\styles.xml
......\...\......-v11\styles.xml
......\...\.........4\styles.xml
......\src\com\example\anim_3\MainActivity.java
Android开发历程_9(Frame Animation的使用).docx
anim_3\bin\classes\com\example\anim_3
......\...\.......\...\example
......\gen\com\example\anim_3
......\src\com\example\anim_3
......\bin\classes\com
......\...\res\drawable-hdpi
......\...\...\drawable-ldpi
......\...\...\drawable-mdpi
......\...\...\drawable-xhdpi
......\gen\com\example
......\src\com\example
......\bin\classes
......\...\res
......\gen\com
......\res\drawable
......\...\drawable-hdpi
......\...\drawable-ldpi
......\...\drawable-mdpi
......\...\drawable-xhdpi
......\...\layout
......\...\menu
......\...\values
......\...\values-v11
......\...\values-v14
......\src\com
......\.settings
......\assets
......\bin
......\gen
......\libs
......\res
......\src
anim_3