Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试了以下但没有成功:
Bitmap mBackground = BitmapFactory.decodeResource(getResources(),R.drawable.chart_bg).copy(Bitmap.Config.ARGB_4444, true); canvas.drawBitmap(mBackground, 0, 0, null);
但是我在画布绘制后得到了图像,但不是在它的背景中。
有没有办法将图像放在已经绘制的画布背景中?