1使用在上面再铺一张画布
private void myDraw() {
// TODO Auto-generated method stub
Log.d("test", "myDraw()---");
Canvas canvas=sfh.lockCanvas();
canvas.drawRect(0,0,this.getWidth(),this.getHeight(),paint);
canvas.drawText("*_*", textX, textY, paint);
sfh.unlockCanvasAndPost(canvas);
}
2涂上一种颜色
private void myDraw() {
// TODO Auto-generated method stub
Log.d("test", "myDraw()---");
Canvas canvas=sfh.lockCanvas();
canvas.drawColor(Color.BLACK);
canvas.drawText("*_*", textX, textY, paint);
sfh.unlockCanvasAndPost(canvas);
}