Using java Syntax Highlighting
- resizedBitmap = Bitmap.createBitmap(image, 0, 0, image.getWidth(),
- image.getHeight(), matrix, true);
- canvas.drawBitmap(resizedBitmap, (float) 0, (float) 0, new Paint());
- if (draw) {
- Bitmap bm = BitmapFactory.decodeResource(this.getResources(),
- R.drawable.bt);
- canvas.drawBitmap(bm, (float) x, (float) y, new Paint());
- draw = false;
- invalidate();
- }
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
and on MotionEvent.ACTION_UP
Using java Syntax Highlighting
- case MotionEvent.ACTION_UP:
- draw = true;
- break;
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
but it code show second bitmap for almost 1 second..how to possible it show some more second??


