JayceLi |
|
||
2012年12月6日
摘要:
1 ImageView iv = new ImageView(this); 2 setContentView(iv); 3 Bitmap originImg = BitmapFactory.decodeResource(getResources(), R.drawable.ic_launcher); 4 Bitmap grayImg = Bitmap.createBitmap(originImg.getWidth(), originImg.getHeight(), Bitmap.Config.ARGB_8888); 5 Canvas canvas = new Canvas(grayImg);. 阅读全文
|
Copyright © 2025 JayceLi
Powered by .NET 9.0 on Kubernetes |