Android UI-自定义日历控件,flutter扫描二维码
*/
public class CalendarCard extends View {
private static final int TOTAL_COL = 7; // 7列
private static final int TOTAL_ROW = 6; // 6行
private Paint mCirclePaint; // 绘制圆形的画笔
private Paint mTextPaint; // 绘制文本的画笔
private int mViewWidth; // 视图的宽度
private int mViewHeight; // 视图的高度
private int mCellSpace; // 单元格间距
private Row rows[] = new Row[TOTAL_ROW]; // 行数组,每个元素代表一行
private static CustomDate mShow
共有 0 条评论