摘要:
原文地址:http://www.eoeandroid.com/forum.php?mod=viewthread&tid=103093核心代码: Bitmap sourceBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.xiaohuai); //此处要求图片宽值<长度值 int targetWidth = sourceBitmap.getWidth(); int targetHeight = targetWidth; ... 阅读全文