📅  最后修改于: 2022-03-11 14:52:11.382000             🧑  作者: Mango
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
Bitmap myBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.pic1);
canvas.drawBitmap(myBitmap, 0, 0, null);
}