文件名称:android_fram_animation

  • 所属分类:
  • android开发
  • 资源属性:
  • [Android] [Java] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 1.52mb
  • 下载次数:
  • 1次
  • 提 供 者:
  • wu***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

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
(系统自动生成,下载前可以参看下载内容)

下载文件列表

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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org