2012年7月4日

android第三天晚:绘图

摘要: 视频:善知堂Android http://www.verycd.com/topics/2915940/今天加班 10点多才到家第三集 绘图21.绘不同的图形。class GameView extends View { private Paint paint = null; public GameView(Context context) { super(context); paint = new Paint();//画笔 } @Override protected void onD... 阅读全文

posted @ 2012-07-04 23:29 DON'T PANIC 阅读(520) 评论(0) 推荐(0)

android第三天早:游戏画图基础

摘要: 视频:善知堂Android http://www.verycd.com/topics/2915940/第三季第一集:游戏演示和理念用photoshop 其实也不难。第二集 绘图11.在配置中加入命名空间xmlns:android="http://schemas.android.com/apk/res/android"2.设置button的属性//设置文本颜色button.setTextColor(Color.RED);3.将button上画圆形class MyButton extends Button { // 这个是继承必须写的,带参构造器,所以要重写 publi... 阅读全文

posted @ 2012-07-04 08:19 DON'T PANIC 阅读(554) 评论(0) 推荐(0)

导航