Android draw Bitmap (我要怎麼把我自製圖放入App?)

用程式來繪圖不是很方便
但是用Gimp, photoshop繪圖
省時省力
但要如何放入android?
答案就在下面的code中
 Resources res = getResources();  
 bitmap=BitmapFactory.decodeResource(res, R.drawable.clkads);  
 canvas.drawBitmap(bitmap, 0, 0, null);  

沒有留言:

張貼留言