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.
精彩评论