Skip to content

Commit

Permalink
3.1.3日历改进版,跟多attr,更加易懂的api,完整农历信息
Browse files Browse the repository at this point in the history
  • Loading branch information
huanghaibin-dev committed Jan 23, 2018
1 parent 36bb2af commit d9ea0e7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ protected void onDrawText(Canvas canvas, Calendar calendar, int x, boolean hasSc
canvas.drawText(String.valueOf(calendar.getDay()), cx, mTextBaseLine + top,
mSelectTextPaint);
canvas.drawText(calendar.getLunar(), cx, mTextBaseLine + mItemHeight / 10, mSelectedLunarTextPaint);
}
if (hasScheme) {
} else if (hasScheme) {
canvas.drawText(String.valueOf(calendar.getDay()), cx, mTextBaseLine + top,
calendar.isCurrentDay() ? mCurDayTextPaint :
calendar.isCurrentMonth() ? mSchemeTextPaint : mSchemeTextPaint);
Expand Down

0 comments on commit d9ea0e7

Please sign in to comment.