摘要:
http://blog.sina.com.cn/s/blog_4b93170a0102e1m9.html//调用setCompoundDrawables时,必须调用Drawable.setBounds()方法,否则图片不显示 最主要一点,不然不显示图片,搞了半天/** * 从png文件得到Bitmap * 并且将尺寸调整为宽=w、高=h */ public static Bitmap getMyBitmap(String imageName, int w, int h){ String filePath = IMAGE_PATH + "/" + imageName + &q 阅读全文
posted @ 2013-12-22 11:49
子午
阅读(2912)
评论(0)
推荐(0)