开发者

Focus in Calendar Component

What should I do to focus on the specific date in calendar component?

I am not talking about indicator here. calendar.setCurrentDate() and calendar.setSelectedDate() gets the indicator on the date, but focus is always on date of 1st sunday. I have read on net that this functionality is not provided by calendar yet. Do any one have a开发者_如何学运维ny idea? Any solution?


You can derive calendar and override updateButtonDayDate(Button dayButton, int currentMonth, int day).

Here you can perform a requestFocus() invocation when the specific date matches your requirement.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜