Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add month name header to MonthCalendar #7

Open
khalid-mahmood opened this issue Dec 15, 2016 · 3 comments
Open

[Feature Request] Add month name header to MonthCalendar #7

khalid-mahmood opened this issue Dec 15, 2016 · 3 comments

Comments

@khalid-mahmood
Copy link

Add current month name on top of MonthCalendar view.
eg.

@khalid-mahmood khalid-mahmood changed the title [Feature Reuest] Add month name header to MonthCalendar [Feature Request] Add month name header to MonthCalendar Dec 15, 2016
@memfis19
Copy link
Owner

Hi, you can easily add it by yourself in your layout. Just put you TextView or whatever you want and use current date (or your selected date) as initial. To switch between months you can use setOnMonthChangeListener to detect month changing and update your title. Another option - you can use ExtendedMonthCalendar please refer to ExtendedCalendarActivity for example. Isn't it enough?

@khalid-mahmood
Copy link
Author

khalid-mahmood commented Dec 15, 2016

its good if it is part of MonthCalendar View instead of adding it in activity.

@memfis19
Copy link
Owner

The main idea was to exclude such excess views, due to often different layouting on different device types. For now you can write your own wrap view, if you don't want to put month title in activity content layout, but for nearest future I'll add it, I think it make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants