咖啡伴侣

呆在上海
posts - 163, comments - 156, trackbacks - 0, articles - 2

Android简单UI开发 -1

Posted on 2010-01-13 18:29 oathleo 阅读(268) 评论(0)  编辑  收藏 所属分类: Android
1.图片:       
        InputStream is = getResources().openRawResource(R.drawable.node);
        bitmap = BitmapFactory.decodeStream(is);
        canvas.drawBitmap(bitmap, i, j, mFramePaint);
2.自定义draw
        onDraw方法
3.System.out
                 Log.i("tag", "test"+ new Date());
在Lotcat中查看

4.invalidate

     




只有注册用户登录后才能发表评论。


网站导航: