上一页 1 ··· 12 13 14 15 16

2012年4月14日

android Adapter使用详解

摘要: 将此句说100遍, 你就会用了: 适配器的作用就是将数据绑定到条目界面的每一个显示控件上.---------------------------------屎一样的分割线-------------------------------------1.自定义Adapter的时候的getview()方法遇到了类型转换异常. @Overridepublic View getView(int position, View convertView, ViewGroup parent) {ImageView imageView = new ImageView(mContext);imageView.set. 阅读全文

posted @ 2012-04-14 15:38 明明的天天 阅读(3454) 评论(1) 推荐(0)

Android之图片处理(图片合成、图片圆角、图片翻转、图片缩放)

摘要: 图片合成 /** * 图片合成 * @param bitmap * @return */private Bitmap createBitmap( Bitmap src, Bitmap watermark ) { if( src == null ) { return null; } int w = src.getWidth(); int h = src.getHeight(); int ww = watermark.getWidth(); int wh = watermark.getHeight(); //create the new blank bitmap Bitmap newb = Bit 阅读全文

posted @ 2012-04-14 15:27 明明的天天 阅读(4787) 评论(0) 推荐(0)

2012年4月11日

Eclipse的使用技巧之eclipse里的查找:

摘要: 1. Ctrl + J : 增量查找2. Ctrl + shift + g 查看它在其他地方用法3. Ctrl + h 整体搜索4. Ctrl + f 对话框搜索5. ctrl + 左键或右键, 回到鼠标处. 6. Ctrl+K找下一个 / Ctrl+Shift+k往回找7. ctrl + shif + R 找文件 / ctrl + shif + T 找类 阅读全文

posted @ 2012-04-11 09:25 明明的天天 阅读(428) 评论(0) 推荐(0)

2012年4月10日

Hierarchy Viewer之官方文档翻译之中英对照之未完不续版之使用详解.

摘要: Hierarchy Viewer Hierarchy Viewer allows you to debug and optimize your user interface. It provides a visual representation of the layout's View hierarchy (the Layout View) and a magnified inspector ... 阅读全文

posted @ 2012-04-10 22:48 明明的天天 阅读(1213) 评论(0) 推荐(0)

上一页 1 ··· 12 13 14 15 16

导航