首页 > 代码库 > 《Pro Android Graphics》读书笔记之第三节
《Pro Android Graphics》读书笔记之第三节
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
应该考虑硬件条件, 处理器及内存
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();
《Pro Android Graphics》读书笔记之第三节
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。