摘要:
public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId, int reqWidth, int reqHeight) { // First decode with inJustDecodeBounds=true to check dimensions final BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; Bitm... 阅读全文
posted @ 2013-02-22 14:36
qiangzhu
阅读(2318)
评论(1)
推荐(0)