Android 把圖片資源獲取成Bitmap格式使用。
Bitmap bitmap = ((BitmapDrawable)getResources().getDrawable(R.mipmap.workstack)).getBitmap();
Android 把圖片資源獲取成Bitmap格式使用。
Bitmap bitmap = ((BitmapDrawable)getResources().getDrawable(R.mipmap.workstack)).getBitmap();
一. 二. 三. ! 作 者 : Yaopengfei(姚鵬飛) 博客地址 : http://www.cnblogs.com