I created a Custom View CircleView like this:
public class CircleView extends LinearLayout { Paint paint1; public CircleView(Context context) {
Where is your this.draw() method?
this.draw()
This should work definitively:
protected void onDraw(Canvas canvas) { super.onDraw(canvas); canvas.drawCircle(50, 50, 25, paint1); //this.draw(canvas); where is this method? }