Hi

I just wonder if the onDraw(Canvas canvas) in the code below would
eventually trigger Surface Flinger to do any compositing?  If yes, can
you give me some hints of the call flow?  Thank you very much!!!

an


class DrawOnTop extends View {

public DrawOnTop(Context context) {
super(context);
// TODO Auto-generated constructor stub
}

@Override
protected void onDraw(Canvas canvas) {
// TODO Auto-generated method stub

Paint paint = new Paint();
paint.setStyle(Paint.Style.FILL);
paint.setColor(Color.BLACK);
canvas.drawText("Test Text", 10, 10, paint);

super.onDraw(canvas);
}

}

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

Reply via email to