05 2014 档案

事件回调
摘要:Listener是一个接口An event listener is an interface in theViewclass that contains a single callback method. These methods will be called by the Android fra... 阅读全文

posted @ 2014-05-31 17:02 muyable 阅读(189) 评论(0) 推荐(0)

利用View静态画图
摘要:you should consider creating a custom View component and drawing with a Canvas inView.onDraw(). The most convenient aspect of doing so is that the And... 阅读全文

posted @ 2014-05-24 17:39 muyable 阅读(431) 评论(0) 推荐(0)

Canvas
摘要:canvas可以通过系统给定View.onDraw()或者surfaceHolder.lockCanvas(),也可以自己创建。但注意,自己创建时,一定要定义绑定一个Bitmap到Canvas 以承载canvas内容 阅读全文

posted @ 2014-05-24 17:14 muyable 阅读(220) 评论(0) 推荐(0)

SurfaceView部分译
摘要:SurfaceView一、简述TheSurfaceViewis a special subclass of View that offers a dedicated drawing surface within the View hierarchy. The aim is to offer this... 阅读全文

posted @ 2014-05-24 12:32 muyable 阅读(264) 评论(0) 推荐(0)

导航