Tag Archives: drawcircle

40,415 views

Draw circle Android basic example

Canvas, drawCircle(), Paint, onDraw(), setStrokeWidth(), setStyle() public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(new SampleView(this)); }   private static class SampleView extends View {   // CONSTRUCTOR public SampleView(Context context) { super(context); setFocusable(true);   … Continue reading

Posted in Android Examples Code, Bitmap, drawing | Tagged , , | Comments Off on Draw circle Android basic example