private void init() {
        paint = new Paint(Paint.ANTI_ALIAS_FLAG);
        paint.setStyle(Paint.Style.FILL);
        paint.setColor(Color.WHITE);
    }
Simple view to draw a colored and sized dot
library/src/main/java/com/github/badoualy/datepicker/DotView.java