|
@@ -429,7 +429,7 @@ public class CalendarView extends View implements View.OnTouchListener {
|
|
|
weekPaint = new Paint();
|
|
weekPaint = new Paint();
|
|
|
weekPaint.setColor(textColor);
|
|
weekPaint.setColor(textColor);
|
|
|
weekPaint.setAntiAlias(true);
|
|
weekPaint.setAntiAlias(true);
|
|
|
- float weekTextSize = weekHeight * 0.6f;
|
|
|
|
|
|
|
+ float weekTextSize = weekHeight * 0.5f;
|
|
|
weekPaint.setTextSize(weekTextSize);
|
|
weekPaint.setTextSize(weekTextSize);
|
|
|
//weekPaint.setTypeface(Typeface.DEFAULT_BOLD);
|
|
//weekPaint.setTypeface(Typeface.DEFAULT_BOLD);
|
|
|
datePaint = new Paint();
|
|
datePaint = new Paint();
|
|
@@ -442,7 +442,7 @@ public class CalendarView extends View implements View.OnTouchListener {
|
|
|
circlePaint.setFilterBitmap(true);
|
|
circlePaint.setFilterBitmap(true);
|
|
|
circlePaint.setStyle(Paint.Style.STROKE);//空心
|
|
circlePaint.setStyle(Paint.Style.STROKE);//空心
|
|
|
circlePaint.setStrokeWidth(3);
|
|
circlePaint.setStrokeWidth(3);
|
|
|
- float cellTextSize = cellHeight * 0.5f;
|
|
|
|
|
|
|
+ float cellTextSize = cellHeight * 0.35f;
|
|
|
datePaint.setTextSize(cellTextSize);
|
|
datePaint.setTextSize(cellTextSize);
|
|
|
//datePaint.setTypeface(Typeface.DEFAULT_BOLD);
|
|
//datePaint.setTypeface(Typeface.DEFAULT_BOLD);
|
|
|
boxPath = new Path();
|
|
boxPath = new Path();
|