博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
《Pro Android Graphics》读第三季度票据
阅读量:4342 次
发布时间:2019-06-07

本文共 1216 字,大约阅读时间需要 4 分钟。

Android Frame Animation: XML, Concepts and Optimization

Frame Animation Concepts: Cels, Framerate, and Resolution

动画的发展

  cel-base animation

raster animation

bitmap

commonly called bitmap animation

not currently support Animated GIF

Optimizing Frame Animation: Color Depth and Frame Rate

three primary ways to optimize

reduce the resolution 

reduce the color depth

and reduce the framerate

格式:PNG32,Png8

If you don’t need to composite your animation over other graphics, you can also consider using the lossy JPEG format to get a far smaller per-frame data foot print by throwing away some of the image data and resulting quality.

应该考虑硬件条件。 处理器及内存

Creating Frame Animation in Android Using XML Markup

Frame animation uses the drawable resource folder 

animation (covered in Chapter 4) uses the /res/anim folder

AnimationDrawable

Android <animation-list> Tag: The Parent Frame Container

Android's <item> Tag: Specifying Your Animation Frames

Creating a Frame Animation for our GraphicsDesign App

Instantiating the Frame Animation Definition Using Java

AnimationDrawable drawable = (AnimationDrawable) imageView.getDrawable();

drawable.start();

版权声明:本文博主原创文章,博客,未经同意不得转载。

转载于:https://www.cnblogs.com/zfyouxi/p/4853104.html

你可能感兴趣的文章
ultraedit激活
查看>>
总结(6)--- python基础知识点小结(细全)
查看>>
亿级曝光品牌视频的幕后设定
查看>>
ARPA
查看>>
JSP开发模式
查看>>
我的Android进阶之旅------&gt;Android嵌入图像InsetDrawable的使用方法
查看>>
Detours信息泄漏漏洞
查看>>
win32使用拖放文件
查看>>
Android 动态显示和隐藏软键盘
查看>>
raid5什么意思?怎样做raid5?raid5 几块硬盘?
查看>>
【转】how can i build fast
查看>>
null?对象?异常?到底应该如何返回错误信息
查看>>
django登录验证码操作
查看>>
(简单)华为Nova青春 WAS-AL00的USB调试模式在哪里开启的流程
查看>>
图论知识,博客
查看>>
[原创]一篇无关技术的小日记(仅作暂存)
查看>>
20145303刘俊谦 Exp7 网络欺诈技术防范
查看>>
原生和jQuery的ajax用法
查看>>
iOS开发播放文本
查看>>
20145202马超《java》实验5
查看>>