Let consider this is my tile view (which is a bitmap):

0 0 0
0 0 0
0 0 0

First, I have change the view to

1 0 0
0 0 0
0 0 0

Second, I would like to change the middle one, and I expect the result
is
1 0 0
0 1 0
0 0 0

However, the view give the result:
0 0 0
0 1 0
0 0 0

Is there any method that I can draw the particular part but now the
whole view?
Here is my onDraw()

@Override
        protected void onDraw(Canvas canvas)
        {
                super.onDraw(canvas);
                Bitmap bitmap = getImage(R.drawable.tileboard);
                bitmap.setDensity(canvas.getDensity());
                canvas.drawBitmap(bitmap, 0, 0, new 
Paint());//drawtilebackground
        }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to