Open ManoloLopera opened 1 year ago
add this code in onDrawText func ` float baselineY = mTextBaseLine + y; int cx = x + mItemWidth / 2; int cy = y + mItemHeight / 2; int size = (int) (Math.min(mItemWidth, mItemHeight) / 10 * 8.5 / 2); canvas.drawRoundRect(cx - size, cy - size, cx + size, cy + size, mRadius, mRadius, isSelected ? mSelectedPaint : mCalendarPaint);
`
不行啊 还是圆形 怎么设置圆角 求助
Hello,
I try design this example in Android but I dont find that.
https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/simple.jpg
Anyone can help me?