摘要: origin article:http://developer.android.com/guide/topics/graphics/2d-graphics.htmltranslation:http://www.cnblogs.com/jsaint/articles/3427728.htmlDraw stylebind layout viewcanvans drawOn the Viewdo draw in View onDraw() functioninvalidate() request system call onDrawpostInvalidate() not in Ui threadO 阅读全文
posted @ 2013-11-17 17:01 Jsaint 阅读(170) 评论(0) 推荐(0)
摘要: 原文:http://developer.android.com/guide/topics/graphics/2d-graphics.html知识点小节:http://www.cnblogs.com/jsaint/articles/3428014.htmlCanvasandDrawablesAndroidframework(框架)Apis提供了一系列的2D画图Apis,通过这些Api你可以指定你自己制定的图片在canvas上或者是修改已存在的views定制它们的外形与视觉感受。当在画2d图像的时候,你通常会在二者之中选其一:a.画你的图像或者是动画在你layout的中某个View对象。这种方式, 阅读全文
posted @ 2013-11-17 12:51 Jsaint 阅读(324) 评论(0) 推荐(0)